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

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