示例#1
0
 private void FormRoleData_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.Hide();
     g_FormRoleData = null;
     timerWait.Stop();
     FormMain.showForm();
 }
示例#2
0
 public static FormRoleData getForm()
 {
     if (g_FormRoleData == null)
     {
         g_FormRoleData = new FormRoleData();
     }
     return(g_FormRoleData);
 }
示例#3
0
文件: FormMain.cs 项目: cash2one/oold
        private void getRoleData_Click(object sender, EventArgs e)
        {
            string lg = "[enter RoleData UI]\r\n";

            Log(lg);
            this.Hide();
            timerWait.Stop();
            FormRoleData.showForm();
        }
示例#4
0
        public static void showForm()
        {
            if (g_FormRoleData == null)
            {
                g_FormRoleData = new FormRoleData();
            }

            g_FormRoleData.Show();
            g_FormRoleData.TimerStart();
            g_FormRoleData.initFormData();
        }
示例#5
0
        public static void showLog(string msg)
        {
            FormRoleData form = FormRoleData.getForm();

            form.Log(msg);
        }