Example #1
0
        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);
        }
Example #2
0
 /// <summary>
 /// Opens a new Analysis window.
 /// </summary>
 public void OpenNew()
 {
     FileAnalysisApplicationContext.GetContext().RunNew();
 }
Example #3
0
 /// <summary>
 /// Handles the Click event of the newItem control.
 /// </summary>
 private void NewItem_Click(object sender, EventArgs e)
 {
     FileAnalysisApplicationContext.GetContext().RunNew();
 }