Exemple #1
0
        public BankSpecificSettingsCH(CreditorPaymentFormat credPaymFormat)
        {
            CreditorPaymentFormatClientISOCH credPaymFormatISOCH = new CreditorPaymentFormatClientISOCH();

            StreamingManager.Copy(credPaymFormat, credPaymFormatISOCH);
            CredPaymFormat = credPaymFormatISOCH;
        }
Exemple #2
0
        public CWISOCH_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat)
        {
            Capi             = api;
            this.DataContext = this;
            InitializeComponent();
            paymentFormatISOCH = new CreditorPaymentFormatClientISOCH();
            StreamingManager.Copy(paymentFormat, paymentFormatISOCH);
            cmbBank.ItemsSource = Enum.GetValues(typeof(chBank));


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