/// <summary> /// Show the UI. /// </summary> public void ShowUI() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); mainForm = new MainForm(this); mainForm.Start(); Application.Run(mainForm); }
/// <summary> /// Closes the wizard. /// </summary> public void Close() { if (mainForm != null) { mainForm.Close(); mainForm = null; } }