Пример #1
0
        public Journal129Context()
        {
            var reportMemoStart = new ReportingMemoStart();

            Start = new StatusButtonMethod
            {
                Button = { Command = new DelegateCommand(() => { reportMemoStart.StatusJournal129(Start); }) }
            };
        }
Пример #2
0
        public ReportingMemoContext()
        {
            var reportMemoStart = new ReportingMemoStart();
            var model           = ConfigFile.ResultGetTemplate <TemplateModel>(ConfigFile.AllTemplate);

            ModelTemplate = new PublicModelCollectionSelect <TemplateModel>(model);
            Start         = new StatusButtonMethod
            {
                Button = { Command = new DelegateCommand(() => { reportMemoStart.ReportingMemoStartPreCheck(Start,
                                                                                                            ConfigFile.ServiceGetOrPost,
                                                                                                            ConfigFile.PathTemp,
                                                                                                            ConfigFile.PathDownloadsReplaceLogin, ModelTemplate
                                                                                                            ); }) }
            };
            SelectModelTemplate = new DelegateCommand <object>(param => { ModelTemplate.SelectModelTemplate(param); });
            DeleteModelTemplate = new DelegateCommand <object>(param => { ModelTemplate.DeleteModelTemplate(param); });
        }