static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Get the application context and run one form inside it var context = FileAnalysisApplicationContext.GetContext(); context.RunNew(); Application.Run(context); }
/// <summary> /// Opens a new Analysis window. /// </summary> public void OpenNew() { FileAnalysisApplicationContext.GetContext().RunNew(); }
/// <summary> /// Handles the Click event of the newItem control. /// </summary> private void NewItem_Click(object sender, EventArgs e) { FileAnalysisApplicationContext.GetContext().RunNew(); }