private void FrmColdChain_FormClosed(object sender, FormClosedEventArgs e) { pUniqueForm = null;//窗体唯一打开代码 }
public FrmColdChain() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }
private static FrmColdChain pUniqueForm = null; //窗体唯一打开代码 #endregion Fields #region Constructors public FrmColdChain() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }