private void 天未返还温度计ToolStripMenuItem_Click(object sender, EventArgs e) { if (!PowerCheckCsClass.IfHasPower(LoginClass.LogID, CommFunction.GSYSNAME, sender, CommFunction.ConnectString)) { return; } FrmRGNotRe.ShowUniqueForm(true); }
private void FrmRGNotRe_FormClosed(object sender, FormClosedEventArgs e) { pUniqueForm = null;//窗体唯一打开代码 cn.Close(); cn.Dispose(); }
public FrmRGNotRe() { pUniqueForm = this;//窗体唯一打开代码 InitializeComponent(); }