Пример #1
0
        static void Main(string[] args)
        {
            Configuration.EnableObjectTracking = true;
            var app = new BallisticDemo(Process.GetCurrentProcess().Handle);

            if (!app.Init())
            {
                return;
            }
            try {
                app.Run();
            } catch (Exception ex) {
                MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
            }
        }
Пример #2
0
 static void Main(string[] args)
 {
     Configuration.EnableObjectTracking = true;
     var app = new BallisticDemo(Process.GetCurrentProcess().Handle);
     if (!app.Init()) {
         return;
     }
     try {
         app.Run();
     } catch (Exception ex) {
         MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
     }
 }