public AddNewMethodOfPayment()
        {
            InitializeComponent();

            ls = new LoadingScreen();

            methodOfPaymentApi = new MethodOfPaymentApiClient();
        }
        public MethodOfPaymentManagement(HairSalon hairSalon)
        {
            InitializeComponent();

            methodOfPaymentApi = new MethodOfPaymentApiClient();

            this.hairSalon = hairSalon;
        }
Пример #3
0
        public EditMethodOfPayment(MethodOfPayment methodOfPayment)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            methodOfPaymentApi = new MethodOfPaymentApiClient();

            this.methodOfPayment = methodOfPayment;

            SetMethodOfPaymentValues();
        }
Пример #4
0
        public MethodOfPaymentPanel(MethodOfPayment methodOfPayment, HairSalon hairSalon)
        {
            InitializeComponent();

            ls = new LoadingScreen();

            methodOfPaymentApi           = new MethodOfPaymentApiClient();
            hairSalonMethodsOfPaymentApi = new HairSalonMethodsOfPaymentApiClient();

            this.methodOfPayment = methodOfPayment;
            this.hairSalon       = hairSalon;

            SetMethodOfPaymentValues();
        }