static void Main()
        {
#if DEBUG
            // Enable object tracking
            SharpDX.Configuration.EnableObjectTracking = true;
#endif
            // Create the form to render to
            var form = new Form1();
            form.Text       = "D3DRendering - Bone Animation";
            form.ClientSize = new System.Drawing.Size(640, 480);
            form.Show();
            // Create and initialize the new D3D application
            // Then run the application.
            using (D3DApp app = new D3DApp(form))
            {
                // Only render frames at the maximum rate the
                // display device can handle.
                app.VSync = false;

                // Initialize the framework (creates Direct3D device etc)
                app.Initialize();

                // Run the application
                app.Run();
            }
        }
        static void Main()
        {
            #if DEBUG
            // Enable object tracking
            SharpDX.Configuration.EnableObjectTracking = true;
            #endif
            // Create the form to render to
            var form = new Form1();
            form.Text = "D3DRendering - Bone Animation";
            form.ClientSize = new System.Drawing.Size(640, 480);
            form.Show();
            // Create and initialize the new D3D application
            // Then run the application.
            using (D3DApp app = new D3DApp(form))
            {
                // Only render frames at the maximum rate the
                // display device can handle.
                app.VSync = false;

                // Initialize the framework (creates Direct3D device etc)
                app.Initialize();

                // Run the application
                app.Run();
            }
        }