Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            MainControl mainControl = new MainControl();

            //Application.Run(new FormMain());
        }
        public RentVehicleControl(MainControl mainControl)
        {
            this.MainControl        = mainControl;
            this.FormCategorySearch = new FormAvailableVehicles(this);
            FormCategorySearch.displayAvailableVehiclesUI();
            List <string> vehicleCategory = VehicleDAO.Instance.RetrieveCategoryList();

            FormCategorySearch.displayCategory(vehicleCategory);
        }
Ejemplo n.º 3
0
 public FormMain(MainControl mainControl) : this()
 {
     this.mainControl = mainControl;
 }
Ejemplo n.º 4
0
 public EnquireVehicleStatusControl(MainControl mainControl)
 {
     this.mainControl = mainControl;
     this.searchUI    = new FormSearch(this);
     this.searchUI.displaySearchUI();
 }