Exemple #1
0
        private void IngresoInventario_Load(object sender, EventArgs e)
        {
            CargaCategorias();
            DataSet1TableAdapters.QueriesTableAdapter qta = new Paleteria.DataSet1TableAdapters.QueriesTableAdapter();
            mayoreo       = int.Parse(qta.obtenerParametro("cantidadMayoreo"));
            lblTurno.Text = qta.obtenerTurno(DateTime.Now).ToString();
            timer1.Start();

            this.WindowState = FormWindowState.Maximized;
        }
Exemple #2
0
        private void nuevaVenta()
        {
            dataGridView1.Rows.Clear();
            txt_total.Text = "0";
            lproductos.Clear();
            DataSet1TableAdapters.QueriesTableAdapter qta = new Paleteria.DataSet1TableAdapters.QueriesTableAdapter();
            total     = 0;
            pagot     = 0;
            precio    = 0;
            preciomay = 0;

            lblTurno.Text = qta.obtenerTurno(DateTime.Now).ToString();
        }