Наследование: System.Windows.Forms.ApplicationContext
Пример #1
0
        static public void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            using (Program.Core = new Core())
            {
                Application.Run(Program.Core);
            }
        }
Пример #2
0
        static public void Main(string[] args)
        {
            Trace.WriteLine("Mercury Particle Engine EffectEditor", "APP");
            
            using (new TraceIndenter())
            {
                Trace.WriteLine("Date: " + DateTime.Now.ToString());
                Trace.WriteLine("Version: " + Application.ProductVersion);
                Trace.WriteLine("Culture: " + Application.CurrentCulture);
                Trace.WriteLine("Path: " + Application.StartupPath);
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            using (Program.Core = new Core())
            {
                Application.Run(Program.Core);
            }
        }