コード例 #1
0
        public AddNewMethodOfPayment()
        {
            InitializeComponent();

            ls = new LoadingScreen();

            methodOfPaymentApi = new MethodOfPaymentApiClient();
        }
コード例 #2
0
        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();
        }