Program.cs
上传用户:gb3593
上传日期:2022-01-07
资源大小:3028k
文件大小:1k
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Box2D.Net;
- using System.Windows.Forms;
- namespace TestBed.Net
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Title = "Box2D.Net Test Bed";
- Application.EnableVisualStyles();
- MainWindow win = new MainWindow();
- Console.Write("Loading the OpenGL display window. Please be patient... ");
- //Show above the console
- win.Show();
- win.BringToFront(); //Doesn't bring above the console?
- win.TopMost = true; //Hacky fix instead:
- win.TopMost = false;
- Console.WriteLine("DONE");
-
- Application.Run(win);
- }
- }
- }