public Facturador() { InitializeComponent(); oMercadosDAL = new MercadosDAL(); oPiezasDAL = new PiezasDAL(); oPreciosMercadosDAL = new PreciosMercadosDAL(); oFacturasDAL = new FacturasDAL(); oFacturasItemsDAL = new FacturasItemsDAL(); frmImpresionDialog = new ImpresionDialog(this); oCultureInfo = new CultureInfo("en-US"); llenadoDropDownClientes(); llenadoDropDownPiezas(); llenadoDropDownProveedores(); dt = new DataTable(); dt.Columns.Add("Codigo"); dt.Columns.Add("Descripcion"); dt.Columns.Add("Cantidad"); dt.Columns.Add("Precio unit"); dt.Columns.Add("% Bonif."); dt.Columns.Add("Bonificacion"); dt.Columns.Add("Importe total"); dt.Columns.Add("PiezaId"); dvgFactura.DataSource = dt; this.dvgFactura.Columns["PiezaId"].Visible = false; formacionNumeroRemito(); }
public MercadosReplicar() { oMercadosDAL = new MercadosDAL(); oPreciosMercadosDAL = new PreciosMercadosDAL(); InitializeComponent(); llenadoComboBoxMercados(); }
public MercadosPiezas() { InitializeComponent(); oPiezasDAL = new PiezasDAL(); oPreciosMercadosDAL = new PreciosMercadosDAL(); oCultureInfo = new CultureInfo("en-US"); iniciarLlenadoDropDown(); llenadoDropDownCodProv(); }
public PiezasActualizarPrecios() { InitializeComponent(); oPiezasDAL = new PiezasDAL(); oTiposDePiezasDAL = new TiposDePiezasDAL(); oMaterialesDAL = new MaterialesDAL(); frmModificacionDialogFalse = new ModificacionDialogFalse(); oMercadosDAL = new MercadosDAL(); oPreciosMercadosDAL = new PreciosMercadosDAL(); llenadoComboBoxTdPiezas(); llenadoComboBoxMateriales(); llenadoComboBoxMercados(); }