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"; }
static void Main() { VehicleRentalManagement vehicleRentalManagementModel = new VehicleRentalManagement(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new VehicleManagementForm(vehicleRentalManagementModel)); }
public ServiceForFleet(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); }
public ViewAllRents(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); RentListBox.Text = _data.GetListOfRentInfo(); }
public AddVehicleForm(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); }
public RentManagement(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); IntroText.Font = new Font("Arial", 24, FontStyle.Bold); }
public DeleteRent(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); }
public MaintenanceOperator(VehicleRentalManagement vehicleRentalManagementModel) { this._data = vehicleRentalManagementModel; InitializeComponent(); }