コード例 #1
0
 public CheckPurchase(Panel PrincipalPanel, IParkingRepository ParkingRepository)
 {
     InitializeComponent();
     Panel                 = PrincipalPanel;
     Repository            = ParkingRepository;
     ValidatorOfEnrollment = new ValidatorOfEnrollment();
     AgregateItemsToComboBoxs();
 }
コード例 #2
0
 public ProcessPurchase(Panel PrincipalPanel, IParkingRepository ParkingRepository, CountryHandler ActualCountry)
 {
     InitializeComponent();
     Panel                 = PrincipalPanel;
     Repository            = ParkingRepository;
     ValidatorOfEnrollment = new ValidatorOfEnrollment();
     ValidatorOfDate       = new ValidatorOfDate();
     CostForMinutes        = ActualCountry.CostForMinutes;
     CountryHandler        = ActualCountry;
 }
コード例 #3
0
 public Reports(Panel PrincipalPanel, IParkingRepository ParkingRepository, CountryHandler ActualCountry)
 {
     InitializeComponent();
     Panel      = PrincipalPanel;
     Repository = ParkingRepository;
     Country    = ActualCountry;
     rbtnEnrollments.Checked = true;
     AgregateItemsToComboBoxs();
     ValidatorOfEnrollment = new ValidatorOfEnrollment();
 }
コード例 #4
0
 public void TestInit()
 {
     Validator = new ValidatorOfEnrollment();
 }
コード例 #5
0
 public void TestClean()
 {
     Validator = null;
 }