/// <summary> /// Raises the click event. /// </summary> public void OnClick(Button widget, EventArgs e) { widget.Platform.Invoke(() => widget.OnClick(e)); }
/// <summary> /// Raises the click event. /// </summary> public void OnClick(Button widget, EventArgs e) { using (widget.Platform.Context) widget.OnClick(e); }