Exemple #1
0
        public BankSpecificSettingsDE(CreditorPaymentFormat credPaymFormat)
        {
            CreditorPaymentFormatClientISODE credPaymFormatISODE = new CreditorPaymentFormatClientISODE();

            StreamingManager.Copy(credPaymFormat, credPaymFormatISODE);
            CredPaymFormat = credPaymFormatISODE;
        }
        public CWISODE_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat)
        {
            Capi             = api;
            this.DataContext = this;
            InitializeComponent();
            paymentFormatISODE = new CreditorPaymentFormatClientISODE();
            StreamingManager.Copy(paymentFormat, paymentFormatISODE);
            cmbBank.ItemsSource = Enum.GetValues(typeof(deBank));


            this.DataContext = paymentFormatISODE;
            this.Title       = string.Format(Uniconta.ClientTools.Localization.lookup("SetupOBJ"), Uniconta.ClientTools.Localization.lookup("Payment"));
#if SILVERLIGHT
            Utility.SetThemeBehaviorOnChildWindow(this);
#endif
            this.Loaded += CW_Loaded;
        }