public uint Execute(PacketDistributed ipacket) { GC_OPEN_SHAREWINDOW packet = (GC_OPEN_SHAREWINDOW)ipacket; if (null == packet) { return((uint)PACKET_EXE.PACKET_EXE_ERROR); } //enter your logic ShareRootWindow.ShowShareWindow((ShareType)packet.Sharetype, OpenType.OpenType_Share); return((uint)PACKET_EXE.PACKET_EXE_CONTINUE); }
void OnClickNanGuaShare() { ShareRootWindow.ShowShareWindow(ShareType.ShareType_NanGua, OpenType.OpenType_ActiviteCode); }