private void mnuPTB2_Click(object sender, EventArgs e) { frmPTB2 frm = new frmPTB2(); if (frm.ShowDialog() == DialogResult.OK) { } }
private void mnuPTB2_Click(object sender, EventArgs e) { //frmPTB2 frm = new frmPTB2(); //frm.MdiParent = this; //frm.Show(); //if (frm.ShowDialog() == DialogResult.OK) //{ //} frmPTB2 frm = new frmPTB2(); frm.MdiParent = this; frm.Show(); }