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