Пример #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
        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);
        }