private void BtnExtra_Click_1(object sender, EventArgs e) { objSurtidoraPremiun.MontoVenta = 0; FrmSurtidor frmPremiun = new FrmSurtidor(objSurtidoraPremiun); frmPremiun.ShowDialog(); LLenarDatos(); }
private void btnCorriente_Click(object sender, EventArgs e) { objSurtidoraSuper = new Surtidora() { Id = 2, Precio = 25, //TipoTanque = _objOperaciones. }; FrmSurtidor frmSuper = new FrmSurtidor(objSurtidoraSuper); frmSuper.ShowDialog(); }
private void BtnDiesel_Click(object sender, EventArgs e) { objSurtidoraDiesel = new Surtidora() { Id = 1, Precio = 10, TipoTanque = _objOperaciones.TanqueDiesel }; FrmSurtidor frmDiesel = new FrmSurtidor(objSurtidoraDiesel); frmDiesel.ShowDialog(); }