Exemple #1
0
        public void Options()
        {
            var optionsEditorComponent = new OptionsEditorComponent(Store);

            optionsEditorComponent.LoadModel(
                SelectedServiceRef?.Service,
                Store.AppConfig.GetSimpleDto <AppConfig>(),
                true);
            var res = optionsEditorComponent.RunModal();

            if (res.Entity == EComponentResult.Executed)
            {
                // TODO: refresh context managment
            }
        }
Exemple #2
0
 public IEditorView <AppConfig> View(OptionsEditorComponent component)
 {
     return(new OptionsEditorForm(component));
 }
Exemple #3
0
 public OptionsEditorForm(OptionsEditorComponent com)
 {
     InitializeComponent();
     _com = com;
 }