OnClick() protected method

Raises the Click event
protected OnClick ( EventArgs e ) : void
e System.EventArgs Event arguments
return void
Example #1
0
File: Button.cs Project: mhusen/Eto
			/// <summary>
			/// Raises the click event.
			/// </summary>
			public void OnClick(Button widget, EventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnClick(e));
			}
Example #2
0
 /// <summary>
 /// Raises the click event.
 /// </summary>
 public void OnClick(Button widget, EventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnClick(e));
 }
Example #3
0
 /// <summary>
 /// Raises the click event.
 /// </summary>
 public void OnClick(Button widget, EventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnClick(e);
 }