예제 #1
0
 private void FormEquip_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.Hide();
     g_FormEquip = null;
     timerWait.Stop();
     FormMain.showForm();
 }
예제 #2
0
 private void CbEnterScene(UnityGMClient.EEnterSceneResult retCode, UInt32 currentSceneID, List <UnityGMClient.CSceneRoleInfo> listSceneRoles)
 {
     if (retCode != UnityGMClient.EEnterSceneResult.EENTER_SCENE_RESULT_SUCCESS)
     {
         MessageBox.Show("返回进入场景失败!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
     timerWait.Stop();
     this.Hide();
     FormMain.showForm();
 }
예제 #3
0
        private void CbEnterScene(UnityGMClient.EEnterSceneResult retCode, UInt32 currentSceneID, List <UnityGMClient.CSceneRoleInfo> listSceneRoles)
        {
            //string lg = "[CbEnterScene][retCode=" + retCode.ToString() + "][prizeCount=" + prizeCount.ToString() + "]\r\n";
            //Log(lg);

            if (retCode != UnityGMClient.EEnterSceneResult.EENTER_SCENE_RESULT_SUCCESS)
            {
                return;
            }

            GC.CPlayer.Singleton.setCurrentSceneID(currentSceneID);
            this.Hide();
            FormMain.showForm();
        }
예제 #4
0
        private void CbEnterScene(UnityGMClient.EEnterSceneResult retCode, UInt32 currentSceneID, List <UnityGMClient.CSceneRoleInfo> listSceneRoles)
        {
            string lg = "[CbEnterScene][retCode=" + retCode.ToString()
                        + "][currentSceneID=" + currentSceneID
                        + "]\r\n";

            Log(lg);
            //if (retCode != UnityGMClient.EEnterSceneResult.EENTER_SCENE_RESULT_SUCCESS)
            //{
            //    return;
            //}

            GC.CPlayer.Singleton.setCurrentSceneID(currentSceneID);
            this.Hide();
            timerWait.Stop();
            FormMain.showForm();
        }
예제 #5
0
 private void buttonExitSkillSystem_Click(object sender, EventArgs e)
 {
     this.Hide();
     timerWait.Stop();
     FormMain.showForm();
 }
예제 #6
0
파일: FormShop.cs 프로젝트: cash2one/oold
 private void buttonExit_Click(object sender, EventArgs e)
 {
     this.Hide();
     FormMain.showForm();
 }