private void 综合查询ToolStripMenuItem_Click(object sender, EventArgs e) { if (!PowerCheckCsClass.IfHasPower(LoginClass.LogID, CommFunction.GSYSNAME, sender, CommFunction.ConnectString)) { return; } FrmColdQurey.ShowUniqueForm(true); }
private void FrmColdQurey_FormClosed(object sender, FormClosedEventArgs e) { pUniqueForm = null;//窗体唯一打开代码 }
private static FrmColdQurey pUniqueForm = null; //窗体唯一打开代码 #endregion Fields #region Constructors public FrmColdQurey() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }
public FrmColdQurey() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }
private void FrmColdQurey_FormClosed(object sender, FormClosedEventArgs e) { pUniqueForm = null;//窗体唯一打开代码 }