Example #1
0
 public frmEditarCorreccionStock()
 {
     InitializeComponent();
     StockRepository.Actualizar();
     DeshabilitarEdicion();
     txtCodigo.Focus();
 }
Example #2
0
        private void Ventas_Load(object sender, EventArgs e)
        {
            StockRepository.Actualizar();
            ForzarSincronizacion = true;
            ReiniciarVenta();
            this.WindowState = FormWindowState.Maximized;

            CheckearExcepcionesPorRubro();
        }
Example #3
0
        private void frmTransferencias_Load(object sender, EventArgs e)
        {
            StockRepository.Actualizar();
            ForzarSincronizacion = true;
            CargarTransferencia();
            this.WindowState = FormWindowState.Maximized;

            CheckearExcepcionesPorRubro();
        }
        public frmCrearControlStock(int rubroId, int proveedorId)
        {
            InitializeComponent();
            StockRepository.Actualizar();
            CargarControles();

            if (proveedorId != 0)
            {
                ddlProveedor.SelectedValue = proveedorId;
            }
            if (rubroId != 0)
            {
                ddlRubro.SelectedValue = rubroId;
            }

            txtFecha.Text = DateTime.Now.ToShortDateString();
        }