public frmEditarCorreccionStock() { InitializeComponent(); StockRepository.Actualizar(); DeshabilitarEdicion(); txtCodigo.Focus(); }
private void Ventas_Load(object sender, EventArgs e) { StockRepository.Actualizar(); ForzarSincronizacion = true; ReiniciarVenta(); this.WindowState = FormWindowState.Maximized; CheckearExcepcionesPorRubro(); }
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(); }