private void 冰排字典ToolStripMenuItem_Click(object sender, EventArgs e) { if (!PowerCheckCsClass.IfHasPower(LoginClass.LogID, CommFunction.GSYSNAME, sender, CommFunction.ConnectString)) { return; } FrmIceMaster.ShowUniqueForm(true); }
private void FrmIceMaster_FormClosed(object sender, FormClosedEventArgs e) { pUniqueForm = null;//窗体唯一打开代码 }
public FrmIceMaster() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }