public FormPrincipal() { InitializeComponent(); this.sa = new ServicioArticulo(); this.sd = new ServicioDependiente(); this.sv = new ServicioVenta(); }
public FormVentas(String cadena, String codigo, ServicioArticulo sa, ServicioVenta sv, ServicioDependiente sd) { InitializeComponent(); this.Text = cadena + this.Text; this.sa = sa; this.sv = sv; this.sd = sd; this.v = new VentaContado(codigo, null); }