private void comprasToolStripMenuItem_Click(object sender, EventArgs e) { frmCompras frm = new frmCompras(); frm.Text = "Compras"; frm.ShowDialog(this); }
private void btnCompras_Click(object sender, EventArgs e) { this.Hide(); var compras = new frmCompras(); compras.Closed += (s, args) => this.Close(); compras.Show(); }
private void compras_Click(object sender, RoutedEventArgs e) { if (frmC == null) { frmC = new frmCompras(); Container.Children.Add(frmC); } else { Container.Children.Clear(); Container.Children.Add(frmC); } }
private void toolStripMenuItem22_Click(object sender, EventArgs e) { if (Application.OpenForms["frmCompras"] != null) { Application.OpenForms["frmCompras"].Activate(); } else { frmCompras frm = new frmCompras(); frm.MdiParent = this; frm.Show(); } }
private void generarOrdenCompraToolStripMenuItem_Click(object sender, EventArgs e) { frmCompras com = new frmCompras(); com.Show(); }
private void compraToolStripMenuItem_Click(object sender, EventArgs e) { frmCompras tela = new frmCompras(); OpenScreen(tela); }