Subo Cambios Panel Lateral

This commit is contained in:
Michael Robles
2024-01-21 19:37:13 -07:00
parent 86e299c533
commit 65d942eda3
15 changed files with 226 additions and 94 deletions
+32 -14
View File
@@ -77,9 +77,9 @@ namespace compabetov2
private void pictureBox4_Click(object sender, EventArgs e)
{
inventario inventario = new inventario(loginPrincipal);
inventario.ShowDialog();
inventario.Show();
this.Dispose(true);
}
@@ -90,10 +90,20 @@ namespace compabetov2
private void pictureBox1_Click(object sender, EventArgs e)
{
// Establecer el formulario de menú principal (this) como el formulario MDI padre
// Mostrar el formulario de ventas
personal personal = new personal(loginPrincipal);
personal.ShowDialog();
this.Dispose(true);
personal.Show();
}
@@ -101,25 +111,24 @@ namespace compabetov2
{
envios envios = new envios(loginPrincipal);
envios.ShowDialog();
this.Dispose(true);
envios.Show();
}
private void pictureBox5_Click(object sender, EventArgs e)
{
cuentas cuentas = new cuentas(loginPrincipal);
cuentas.ShowDialog();
this.Dispose(true);
cuentas.Show();
;
}
private void pictureBox6_Click(object sender, EventArgs e)
{
mermas mermas = new mermas(loginPrincipal);
mermas.ShowDialog();
mermas.Show();
this.Dispose(true);
}
@@ -130,10 +139,19 @@ namespace compabetov2
private void pictureBox2_Click(object sender, EventArgs e)
{
vender vender = new vender(loginPrincipal);
vender.ShowDialog();
this.Dispose(true);
vender ventasForm = new vender(loginPrincipal);
// Establecer el formulario de menú principal (this) como el formulario MDI padre
// Mostrar el formulario de ventas
ventasForm.Show();
}
private void label1_Click(object sender, EventArgs e)