private void usuárioToolStripMenuItem_Click(object sender, EventArgs e) { frmListaUsuario newMDIChild = new frmListaUsuario(); // Set the Parent Form of the Child window. newMDIChild.MdiParent = this; // Display the new form. newMDIChild.Show(); }
private void radMenuUser_Click(object sender, EventArgs e) { if (LU == null) { LU = new frmListaUsuario(); LU.MdiParent = this; LU.FormClosed += delegate { LU = null; }; LU.Show(); } else { MessageBox.Show("Ya esta Abierta la Ventana!!!"); } }