Beispiel #1
0
        public WorkerMainMenu()
        {
            InitializeComponent();

            workerApi      = new WorkerApiClient();
            appointmentApi = new AppointmentApiClient();
        }
Beispiel #2
0
        public WorkerSelection(HairSalon hairSalon)
        {
            InitializeComponent();

            workerApi = new WorkerApiClient();

            this.hairSalon = hairSalon;
        }
Beispiel #3
0
        public WorkerManagement(Owner owner)
        {
            InitializeComponent();

            workerApi = new WorkerApiClient();

            this.owner = owner;
        }
Beispiel #4
0
        public AddNewWorker(Owner owner)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            workerApi = new WorkerApiClient();

            this.owner = owner;
        }
Beispiel #5
0
        public WorkerSelectionPanel(Worker worker, HairSalon hairSalon)
        {
            InitializeComponent();

            workerApi = new WorkerApiClient();

            this.worker    = worker;
            this.hairSalon = hairSalon;

            SetWorkerValues();
        }
Beispiel #6
0
        public EditWorker(Worker worker)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            workerApi = new WorkerApiClient();

            this.worker = worker;

            SetWorkerValues();
        }
Beispiel #7
0
        public Login(User user)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            adminApi  = new AdminApiClient();
            ownerApi  = new OwnerApiClient();
            workerApi = new WorkerApiClient();

            this.user = user;
        }
        public ShowHairSalon(HairSalon hairSalon)
        {
            InitializeComponent();

            ownerApi = new OwnerApiClient();
            hairSalonMethodsOfPaymentApi = new HairSalonMethodsOfPaymentApiClient();
            hairSalonWorkingHoursApi     = new HairSalonWorkingHoursApiClient();
            workerApi            = new WorkerApiClient();
            hairSalonServicesApi = new HairSalonServicesApiClient();

            this.hairSalon = hairSalon;

            SetHairSalonValues();
        }