Example #1
0
        static void Main()
        {
            Configuration.EnableObjectTracking = true;
            var app = new SsaoDemo(Process.GetCurrentProcess().Handle);

            if (!app.Init())
            {
                return;
            }
            try {
                app.Run();
            } catch (Exception ex) {
                MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
            }
        }
Example #2
0
 static void Main()
 {
     Configuration.EnableObjectTracking = true;
     var app = new SsaoDemo(Process.GetCurrentProcess().Handle);
     if (!app.Init()) {
         return;
     }
     try {
         app.Run();
     } catch (Exception ex) {
         MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
     }
 }