コード例 #1
0
        //----------------------------[ Initialization ]------------------

        private void instances()
        {
            _title                        = ConfigurationManager.AppSettings["title_setting_email"];
            _emails                       = new Dictionary <string, InfoFileWriter>();
            _emails["quote"]              = new InfoFileWriter("quote", EOption.mails);
            _emails["reminder_1"]         = new InfoFileWriter("reminder_1", EOption.mails);
            _emails["reminder_2"]         = new InfoFileWriter("reminder_2", EOption.mails);
            _emails["bill"]               = new InfoFileWriter("bill", EOption.mails);
            _emails["order_confirmation"] = new InfoFileWriter("order_confirmation", EOption.mails);
        }
コード例 #2
0
        //----------------------------[ Initialization ]------------------

        private void instances()
        {
            _currency = (CurrencyModel)_referential.MainWindowViewModel.ModelCreator.createModel(QOBDModels.Enums.EModel.CURRENCY);
            _legalInformationFileManagement     = new InfoFileWriter("legal_information", EOption.texts);
            _saleGeneralConditionFileManagement = new InfoFileWriter("sale_general_condition", EOption.texts);
            _addressDetails  = new List <InfoContact>();
            _bankDetails     = new List <InfoBank>();
            _emailfilterList = new List <string> {
                "email", "invoice_email", "quote_email", "reminder_email", "validation_email"
            };
            _title = ConfigurationManager.AppSettings["title_settings"];
        }