Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created February 27, 2018 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/8c6d0734654cc8033ec1bbc8d5cefbce to your computer and use it in GitHub Desktop.
Save Fhernd/8c6d0734654cc8033ec1bbc8d5cefbce to your computer and use it in GitHub Desktop.
Formulario que representa un contenedor MDI.
using System;
using System.Windows.Forms;
namespace R705FormulariosMdiHijos
{
public partial class FormularioPadre : Form
{
public FormularioPadre()
{
InitializeComponent();
}
private void tmiNuevoMdiHijo_Click(object sender, EventArgs e)
{
FormularioHijo formularioHijoNuevo = new FormularioHijo();
formularioHijoNuevo.MdiParent = this;
formularioHijoNuevo.Show();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment