Advertisement
Fhernd

FormularioPadre.cs

Feb 26th, 2018
1,552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. using System;
  2. using System.Windows.Forms;
  3.  
  4. namespace R705FormulariosMdiHijos
  5. {
  6.     public partial class FormularioPadre : Form
  7.     {
  8.         public FormularioPadre()
  9.         {
  10.             InitializeComponent();
  11.         }
  12.  
  13.         private void tmiNuevoMdiHijo_Click(object sender, EventArgs e)
  14.         {
  15.             FormularioHijo formularioHijoNuevo = new FormularioHijo();
  16.             formularioHijoNuevo.MdiParent = this;
  17.             formularioHijoNuevo.Show();
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement