private void FormRoleData_FormClosed(object sender, FormClosedEventArgs e) { this.Hide(); g_FormRoleData = null; timerWait.Stop(); FormMain.showForm(); }
public static FormRoleData getForm() { if (g_FormRoleData == null) { g_FormRoleData = new FormRoleData(); } return(g_FormRoleData); }
private void getRoleData_Click(object sender, EventArgs e) { string lg = "[enter RoleData UI]\r\n"; Log(lg); this.Hide(); timerWait.Stop(); FormRoleData.showForm(); }
public static void showForm() { if (g_FormRoleData == null) { g_FormRoleData = new FormRoleData(); } g_FormRoleData.Show(); g_FormRoleData.TimerStart(); g_FormRoleData.initFormData(); }
public static void showLog(string msg) { FormRoleData form = FormRoleData.getForm(); form.Log(msg); }