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