public BankSpecificSettingsNL(CreditorPaymentFormat credPaymFormat) { CreditorPaymentFormatClientISONL credPaymFormatISONL = new CreditorPaymentFormatClientISONL(); StreamingManager.Copy(credPaymFormat, credPaymFormatISONL); CredPaymFormat = credPaymFormatISONL; }
public CWISONL_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat) { Capi = api; this.DataContext = this; InitializeComponent(); paymentFormatISONL = new CreditorPaymentFormatClientISONL(); StreamingManager.Copy(paymentFormat, paymentFormatISONL); cmbBank.ItemsSource = Enum.GetValues(typeof(nlBank)); this.DataContext = paymentFormatISONL; this.Title = string.Format(Uniconta.ClientTools.Localization.lookup("SetupOBJ"), Uniconta.ClientTools.Localization.lookup("Payment")); #if SILVERLIGHT Utility.SetThemeBehaviorOnChildWindow(this); #endif this.Loaded += CW_Loaded; }