public CheckPurchase(Panel PrincipalPanel, IParkingRepository ParkingRepository) { InitializeComponent(); Panel = PrincipalPanel; Repository = ParkingRepository; ValidatorOfEnrollment = new ValidatorOfEnrollment(); AgregateItemsToComboBoxs(); }
public ProcessPurchase(Panel PrincipalPanel, IParkingRepository ParkingRepository, CountryHandler ActualCountry) { InitializeComponent(); Panel = PrincipalPanel; Repository = ParkingRepository; ValidatorOfEnrollment = new ValidatorOfEnrollment(); ValidatorOfDate = new ValidatorOfDate(); CostForMinutes = ActualCountry.CostForMinutes; CountryHandler = ActualCountry; }
public Reports(Panel PrincipalPanel, IParkingRepository ParkingRepository, CountryHandler ActualCountry) { InitializeComponent(); Panel = PrincipalPanel; Repository = ParkingRepository; Country = ActualCountry; rbtnEnrollments.Checked = true; AgregateItemsToComboBoxs(); ValidatorOfEnrollment = new ValidatorOfEnrollment(); }
public void TestInit() { Validator = new ValidatorOfEnrollment(); }
public void TestClean() { Validator = null; }