public BankSpecificSettingsNO(CreditorPaymentFormat credPaymFormat) { CreditorPaymentFormatClientISONO credPaymFormatISONO = new CreditorPaymentFormatClientISONO(); StreamingManager.Copy(credPaymFormat, credPaymFormatISONO); CredPaymFormat = credPaymFormatISONO; }
public CWISONO_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat) { Capi = api; this.DataContext = this; InitializeComponent(); paymentFormatISONO = new CreditorPaymentFormatClientISONO(); StreamingManager.Copy(paymentFormat, paymentFormatISONO); cmbBank.ItemsSource = Enum.GetValues(typeof(noBank)); this.DataContext = paymentFormatISONO; this.Title = string.Format(Uniconta.ClientTools.Localization.lookup("SetupOBJ"), Uniconta.ClientTools.Localization.lookup("Payment")); #if SILVERLIGHT Utility.SetThemeBehaviorOnChildWindow(this); #endif this.Loaded += CW_Loaded; }