/// <summary> /// Evento que surge al hacer clic sobre el menú Banner /// </summary> /// <param name="sender">Objeto que envía el evento</param> /// <param name="e">Argumentos del evento</param> private void bannerToolStripMenuItem_Click(object sender, EventArgs e) { Form_Banner bannerConfiguracion = new Form_Banner(); bannerConfiguracion.Owner = this; bannerConfiguracion.ShowDialog(); }
private void bannerToolStripMenuItem_Click(object sender, EventArgs e) { Form_Banner newMDIChild = new Form_Banner(); // Set the Parent Form of the Child window. newMDIChild.MdiParent = this; // Display the new form. newMDIChild.Show(); }