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