static void Main(string[] args) { using (var app = new ShadowsApp()) { app.Initialize(); app.Run(); } }
static void Main(string[] args) { using (D3DApp app = new ShadowsApp(Process.GetCurrentProcess().Handle)) { app.Initialize(); app.Run(); } }