private void ButtonCVentas_Click_1(object sender, EventArgs e)
        {
            cVentas ver = new cVentas();

            ver.MdiParent = this;
            ver.Show();
        }
Example #2
0
        private void ConsultarVentasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            cVentas consulta = new cVentas();

            consulta.MdiParent = this;
            consulta.Show();
        }
Example #3
0
        private void VentasToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            cVentas cVentas = new cVentas();

            cVentas.MdiParent = this;
            cVentas.Show();
        }
Example #4
0
        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");
                }
            }
        }
Example #5
0
        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();
        }
Example #10
0
 private void VentasToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     cVentas frm = new cVentas(0);
     frm.Show();
 }
Example #11
0
        private void cVentasMenuItem_Click(object sender, RoutedEventArgs e)
        {
            cVentas cVentas = new cVentas();

            cVentas.Show();
        }
Example #12
0
        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();
        }
Example #15
0
        private void ConsultarVenta_button_Click(object sender, EventArgs e)
        {
            cVentas cv = new cVentas();

            cv.ShowDialog();
        }
Example #16
0
        private void BuscarButton_Click(object sender, EventArgs e)
        {
            cVentas cv = new cVentas();

            cv.ShowDialog();
        }