Esempio n. 1
0
 public MainForm()
 {
     clientPresenter     = new ClientPresenter();
     carsPresenter       = new CarsPresenter();
     contractPresenter   = new ContractPresenter();
     categoriesPresenter = new CategoriesPresenter();
     InitializeComponent();
 }
Esempio n. 2
0
        public WorkerForm()
        {
            workerPresenter     = new WorkerPresenter();
            clientPresenter     = new ClientPresenter();
            categoriesPresenter = new CategoriesPresenter();
            carsPresenter       = new CarsPresenter();
            contractPresenter   = new ContractPresenter();

            InitializeComponent();
        }
Esempio n. 3
0
        //List<Category> categories;

        public AdminForm()
        {
            workerPresenter   = new WorkerPresenter();
            categoryPresenter = new CategoriesPresenter();
            carsPresenter     = new CarsPresenter();

            InitializeComponent();

            workerCounter = int.Parse(workerPresenter.getAmountOfUsers());
            fillWorkerListBox(workerCounter);
        }