private void button2_Click(object sender, EventArgs e) { hyflglfwForm hyflgl = hyflglfwForm.Create(); hyflgl.Show(); hyflgl.Focus(); }
public static hyflglfwForm Create() { if (hyfl == null) { hyfl = new hyflglfwForm(); } return(hyfl); }
private void 分类服务ToolStripMenuItem_Click(object sender, EventArgs e) { if (!FilterClass.flgl()) { MessageBox.Show("无权操作!"); return; } hyflglfwForm hyflgl = hyflglfwForm.Create(); hyflgl.Show(); hyflgl.Focus(); }
private void hyflglfwForm_FormClosed(object sender, FormClosedEventArgs e) { hyfl = null; }