public AddNewMethodOfPayment() { InitializeComponent(); ls = new LoadingScreen(); methodOfPaymentApi = new MethodOfPaymentApiClient(); }
public MethodOfPaymentManagement(HairSalon hairSalon) { InitializeComponent(); methodOfPaymentApi = new MethodOfPaymentApiClient(); this.hairSalon = hairSalon; }
public EditMethodOfPayment(MethodOfPayment methodOfPayment) { InitializeComponent(); ls = new LoadingScreen(); methodOfPaymentApi = new MethodOfPaymentApiClient(); this.methodOfPayment = methodOfPayment; SetMethodOfPaymentValues(); }
public MethodOfPaymentPanel(MethodOfPayment methodOfPayment, HairSalon hairSalon) { InitializeComponent(); ls = new LoadingScreen(); methodOfPaymentApi = new MethodOfPaymentApiClient(); hairSalonMethodsOfPaymentApi = new HairSalonMethodsOfPaymentApiClient(); this.methodOfPayment = methodOfPayment; this.hairSalon = hairSalon; SetMethodOfPaymentValues(); }