private void FormPet_FormClosed(object sender, FormClosedEventArgs e) { this.Hide(); g_FormPet = null; timerWait.Stop(); FormMain.showForm(); }
public static FormPet getForm() { if (g_FormPet == null) { g_FormPet = new FormPet(); } return(g_FormPet); }
private void pet_Click(object sender, EventArgs e) { string lg = "[Click][pet_Click]\r\n"; Log(lg); this.Hide(); timerWait.Stop(); FormPet.showForm(); }
public static void showForm() { if (g_FormPet == null) { g_FormPet = new FormPet(); } FormPet.showBtnGetPetTaskList(false); g_FormPet.Show(); g_FormPet.TimerStart(); }
public static void showBtnGetPetTaskList(bool bShow) { FormPet form = getForm(); }