Exemple #1
0
        static void Main()
        {
            Dile.Metadata.NuGenOpCodeGroups.Initialize();
            Dile.Controls.NuGenILEditorControl.Initialize();
            Application.EnableVisualStyles();

            NuGenInSightMainForm mainForm = new NuGenInSightMainForm();

#if RELEASE
            try
            {
#endif
                 Application.Run(mainForm);
#if RELEASE
            }
            catch (Exception exception)
            {
                System.Diagnostics.Debug.Write("This is being caught at the Program.cs main method:");
                System.Diagnostics.Debug.WriteLine(exception);
            }
#endif
        }
Exemple #2
0
        static void Main()
        {
            Dile.Metadata.NuGenOpCodeGroups.Initialize();
            Dile.Controls.NuGenILEditorControl.Initialize();
            Application.EnableVisualStyles();

            NuGenInSightMainForm mainForm = new NuGenInSightMainForm();

#if RELEASE
            try
            {
#endif
            Application.Run(mainForm);
#if RELEASE
        }

        catch (Exception exception)
        {
            System.Diagnostics.Debug.Write("This is being caught at the Program.cs main method:");
            System.Diagnostics.Debug.WriteLine(exception);
        }
#endif
        }