public FormController(LauncherController launcher) { Launcher = launcher; Console = new ConsoleForm(launcher); Wait = new WaitForm(launcher); Browser = new BrowserForm(launcher); Auth = new AuthenticationForm(launcher); }
/// <summary> /// Shows the console as a Dialog /// </summary> /// <param name="tab">The tab page of the console to show</param> public void ShowConsoleDialog(string tab) { ConsoleForm c = new ConsoleForm(this.Launcher); switch (tab.ToLower()) { case "pool": c.SetPoolDialog(); break; case "command": c.SetCommandDialog(); break; case "screen": c.SetScreenDialog(); break; default: break; } c.ShowDialog(); }