public static void AssemblyInit(TestContext context) { TestForm form = new TestForm(); if (form.ShowDialog() != DialogResult.OK) { Application.Exit(); } }
public static void AssemblyInit(TestContext context) { Args args = Args.Instance; if (args.prompt) { TestForm form = new TestForm(); if (form.ShowDialog() != DialogResult.OK) { Application.Exit(); } } else { args.Connect(); } }