OpenTK.GameViewBase.OnUnload C# (CSharp) Method

OnUnload() protected method

Raises the E:OpenTK.Platform.Android.AndroidGameView.Unload event.

The OnUnload method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

When overriding OnUnload in a derived class, be sure to call the base class's OnUnload method so that registered delegates receive the event.
protected OnUnload ( EventArgs e ) : void
e System.EventArgs /// An that contains the event data. ///
return void
		protected virtual void OnUnload (EventArgs e)
		{
			if (Unload != null)
				Unload (this, e);
		}