OnClick() protected method

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