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