public void button_press(int tag) { CGameScene pGameScene = (CGameScene)parent(); if (tag == 10200) { pGameScene.GetClientKernel().SendSocketData(FishDefine.SUB_C_END_GAME, null); //123 try { pGameScene.window_closed(null); Root.instance().queue_end_rendering(); } catch { //pakcj global::exit(0); } } else if (tag == 10201) { CMD_C_Account Account = new CMD_C_Account(); Account.wChairID = pGameScene.GetMeChairID(); pGameScene.GetClientKernel().SendSocketData(FishDefine.SUB_C_ACCOUNT, Account); DisableWindow(true); } else if (tag == 10202) { ShowWidnow(false); } }
public void button_press(int tag) { CGameScene pGameScene = (CGameScene)parent(); if (tag == 10200) { pGameScene.window_closed(null); Root.instance().queue_end_rendering(); } else if (tag == 10201) { pGameScene.m_MatchStart.button_press(10300); Show(false); } else if (tag == 10202) { //pakcj ShellExecute(null, "open", pGameScene.m_cbMatchIndexURL, null, null, SW_SHOWNORMAL); } }