예제 #1
0
파일: Module.cs 프로젝트: pavelsavara/nMars
        public static int Main(string[] args)
        {
            try
            {
                System.Windows.Forms.Application.EnableVisualStyles();
                System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);

                if (MonoCheck.IsMonoRuntime)
                {
                    Console.WriteLine("Running on mono, some features will be disabled.");
                }

                IDEApplication app = new IDEApplication();
                return app.Main(args);
            }
            catch(Exception ex)
            {
                return ExceptionHandler.DumpException(ex);
            }
        }
예제 #2
0
 public IDEApplication()
 {
     Instance = this;
 }