private void ButtonCVentas_Click_1(object sender, EventArgs e) { cVentas ver = new cVentas(); ver.MdiParent = this; ver.Show(); }
private void ConsultarVentasToolStripMenuItem_Click(object sender, EventArgs e) { cVentas consulta = new cVentas(); consulta.MdiParent = this; consulta.Show(); }
private void VentasToolStripMenuItem1_Click(object sender, EventArgs e) { cVentas cVentas = new cVentas(); cVentas.MdiParent = this; cVentas.Show(); }
private void Buscarbutton_Click(object sender, EventArgs e) { int id; RepositorioBase <Ventas> db = new RepositorioBase <Ventas>(); Ventas venta = new Ventas(); int.TryParse(VentaIdnumericUpDown.Value.ToString(), out id); Limpiar(); if (id == 0) { cVentas frm = new cVentas(1); frm.ShowDialog(); if (frm.idElegido > 0) { venta = db.Buscar(frm.idElegido); LlenaCampo(venta); } } else { venta = db.Buscar(id); if (venta != null) { LlenaCampo(venta); } else { MessageBox.Show("Usuario no existe"); } } }
private void ColsultasDeVentasToolStripMenuItem_Click(object sender, EventArgs e) { cVentas cVentas = new cVentas(); cVentas.MdiParent = this; cVentas.StartPosition = FormStartPosition.CenterScreen; cVentas.Show(); }
private void MenuItem_Click_7(object sender, RoutedEventArgs e) { cVentas cVenta = new cVentas(); cVenta.Show(); }
private void ConsultaVentaButton_Click(object sender, RoutedEventArgs e) { cVentas cVenta = new cVentas(); cVenta.Show(); }
private void VentasConsultasMenuItem_Click(object sender, RoutedEventArgs e) { cVentas vConsultas = new cVentas(); vConsultas.Show(); }
//Boton consultar Ventas private void ConsultarVentasButton_Click(object sender, RoutedEventArgs e) { cVentas cVenta = new cVentas(usuarioSiempreActivoId); cVenta.Show(); }
private void VentasToolStripMenuItem1_Click(object sender, EventArgs e) { cVentas frm = new cVentas(0); frm.Show(); }
private void cVentasMenuItem_Click(object sender, RoutedEventArgs e) { cVentas cVentas = new cVentas(); cVentas.Show(); }
private void ConsultarVentaToolStripMenuItem_Click(object sender, EventArgs e) { cVentas cVentas = new cVentas(); cVentas.Show(); }
private void MenuCVentas_Click(object sender, RoutedEventArgs e) { cVentas cVent = new cVentas(); cVent.Show(); }
private void VentasToolStripMenuItem2_Click(object sender, EventArgs e) { cVentas ventas = new cVentas(); ventas.Show(); }
private void ConsultarVenta_button_Click(object sender, EventArgs e) { cVentas cv = new cVentas(); cv.ShowDialog(); }
private void BuscarButton_Click(object sender, EventArgs e) { cVentas cv = new cVentas(); cv.ShowDialog(); }