private void pID2ToolStripMenuItem_Click(object sender, EventArgs e) { if (MyFormPid2.IsDisposed) { MyFormPid2 = new FormPID((byte)TopId.FormPid2); } MyFormPid2.MdiParent = this; MyFormPid2.Show(); }
private void pID1ToolStripMenuItem_Click(object sender, EventArgs e) { if (MyPIDForm.IsDisposed) { MyPIDForm = new FormPID(); } MyPIDForm.MdiParent = this; MyPIDForm.Show(); }