// This gets called when the drawing surface is ready
		protected override void OnLoad(EventArgs e)
		{
			// this call is optional, and meant to raise delegates
			// in case any are registered
			base.OnLoad(e);

			this.browser = new SampleBrowser( this.Context, this.GraphicsContext, this.WindowInfo );
			
			// Run the render loop
			browser.Go();
		}
Exemple #2
0
        // This gets called when the drawing surface is ready
        protected override void OnLoad(EventArgs e)
        {
            // this call is optional, and meant to raise delegates
            // in case any are registered
            base.OnLoad(e);

            this.browser = new SampleBrowser(this.Context, this.GraphicsContext, this.WindowInfo);

            // Run the render loop
            browser.Go();
        }