public BankSpecificSettingsUK(CreditorPaymentFormat credPaymFormat) { CreditorPaymentFormatClientISOUK credPaymFormatISOUK = new CreditorPaymentFormatClientISOUK(); StreamingManager.Copy(credPaymFormat, credPaymFormatISOUK); CredPaymFormat = credPaymFormatISOUK; }
public CWISOUK_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat) { Capi = api; this.DataContext = this; InitializeComponent(); paymentFormatISOUK = new CreditorPaymentFormatClientISOUK(); StreamingManager.Copy(paymentFormat, paymentFormatISOUK); cmbBank.ItemsSource = Enum.GetValues(typeof(ukBank)); this.DataContext = paymentFormatISOUK; this.Title = string.Format(Uniconta.ClientTools.Localization.lookup("SetupOBJ"), Uniconta.ClientTools.Localization.lookup("Payment")); #if SILVERLIGHT Utility.SetThemeBehaviorOnChildWindow(this); #endif this.Loaded += CW_Loaded; }