public static FormFriend getForm() { if (s_Form == null) { s_Form = new FormFriend(); } return(s_Form); }
public static void showForm() { if (s_Form == null) { s_Form = new FormFriend(); } s_Form.Show(); }
private void buttonFriend_Click(object sender, EventArgs e) { string lg = "[enter Friend UI]\r\n"; Log(lg); this.Hide(); timerWait.Stop(); FormFriend.showForm(); }