Menu Final

This commit is contained in:
Michael Robles
2023-12-22 19:54:24 -07:00
parent 880ff73e7b
commit 3282f84fb9
46 changed files with 468 additions and 82 deletions
+23 -1
View File
@@ -12,14 +12,36 @@ namespace compabetov2
{
public partial class MenuPrincipal : Form
{
private int childFormNumber = 0;
public MenuPrincipal()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
private void ShowNewForm(object sender, EventArgs e)
{
Form childForm = new Form();
childForm.MdiParent = this;
childForm.Text = "Ventana " + childFormNumber++;
childForm.Show();
}
private void ExitToolsStripMenuItem_Click(object sender, EventArgs e)
{
}
private void MenuPrincipal_Load(object sender, EventArgs e)
{
}
}
}