예제 #1
0
 public AddRentForm(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
     RentIntroText.Text = "Please fill the following form\r\nOption 1: Create empty Rent with no argument\r\nOption2" +
                          ": Create an Rent with Customer Name, Customer SSN,ID\r\nOpiton 3: Create an Rent with Customer Name, Customer SSN,ID,Price and Deposit\r\nElse : Create an Rent with Customer Name, Customer SSN,ID,Price, Deposit,Rent Date and Expire Date";
 }
예제 #2
0
        static void Main()
        {
            VehicleRentalManagement vehicleRentalManagementModel = new VehicleRentalManagement();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new VehicleManagementForm(vehicleRentalManagementModel));
        }
예제 #3
0
 public ServiceForFleet(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
 }
예제 #4
0
 public ViewAllRents(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
     RentListBox.Text = _data.GetListOfRentInfo();
 }
예제 #5
0
 public AddVehicleForm(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
 }
예제 #6
0
 public RentManagement(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
     IntroText.Font = new Font("Arial", 24, FontStyle.Bold);
 }
예제 #7
0
 public DeleteRent(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
 }
 public MaintenanceOperator(VehicleRentalManagement vehicleRentalManagementModel)
 {
     this._data = vehicleRentalManagementModel;
     InitializeComponent();
 }