Beispiel #1
0
        public BankSpecificSettingsLT(CreditorPaymentFormat credPaymFormat)
        {
            CreditorPaymentFormatClientISOLT credPaymFormatISOLT = new CreditorPaymentFormatClientISOLT();

            StreamingManager.Copy(credPaymFormat, credPaymFormatISOLT);
            CredPaymFormat = credPaymFormatISOLT;
        }
        public CWISOLT_PaymentSetup(CrudAPI api, CreditorPaymentFormatClient paymentFormat)
        {
            Capi             = api;
            this.DataContext = this;
            InitializeComponent();
            paymentFormatISOLT = new CreditorPaymentFormatClientISOLT();
            StreamingManager.Copy(paymentFormat, paymentFormatISOLT);
            cmbBank.ItemsSource = Enum.GetValues(typeof(ltBank));


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