Exemplo n.º 1
0
 public static void Display(TestCentricPresenter presenter, ITestModel model)
 {
     TreeBasedSettingsDialog.Display(presenter, model,
                                     new GuiSettingsPage("Gui.General"),
                                     new TreeSettingsPage("Gui.Tree Display"),
                                     new AssemblyReloadSettingsPage("Gui.Assembly Reload"),
                                     new TextOutputSettingsPage("Gui.Text Output"),
                                     new AdvancedLoaderSettingsPage("Engine.Advanced"));
 }
 public static void Display(TestCentricPresenter presenter, ITestModel model, params SettingsPage[] pages)
 {
     using (TreeBasedSettingsDialog dialog = new TreeBasedSettingsDialog(presenter, model))
     {
         dialog.Font = model.Settings.Gui.Font;
         dialog.SettingsPages.AddRange(pages);
         dialog.ShowDialog();
     }
 }
 public static void Display(Form owner, ITestModel model, params SettingsPage[] pages)
 {
     using (TreeBasedSettingsDialog dialog = new TreeBasedSettingsDialog(model))
     {
         owner.Site.Container.Add(dialog);
         dialog.Font = owner.Font;
         dialog.SettingsPages.AddRange(pages);
         dialog.ShowDialog();
     }
 }
Exemplo n.º 4
0
 public static void Display(Form owner, ITestModel model)
 {
     TreeBasedSettingsDialog.Display(owner, model,
                                     new GuiSettingsPage("Gui.General"),
                                     new TreeSettingsPage("Gui.Tree Display"),
                                     new AssemblyReloadSettingsPage("Gui.Assembly Reload"),
                                     new TextOutputSettingsPage("Gui.Text Output"),
                                     new ProjectEditorSettingsPage("Gui.Project Editor"),
                                     new TestLoaderSettingsPage("Engine.Assembly Isolation"),
                                     new AdvancedLoaderSettingsPage("Engine.Advanced"));
 }