Example #1
0
	public static void Main( string[] args ) 
	{ 
		// entry point
		Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo( "en-US" ); // thanks Mathijs
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new Form());
        using (OpenTKApp app = new OpenTKApp()) { app.Run(30.0, 0.0); }
        }
Example #2
0
	    public static void Main( string[] args ) 
	    { 
		    // entry point
		    Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo( "en-US" ); // thanks Mathijs
		    using (OpenTKApp app = new OpenTKApp()) { app.Run( 30.0, 0.0 ); }
	    }