private void RaisePushButtonClickedEvent() { if (OnClicked == null) { return; } var eventArgs = new PushButtonClickedEventArgs(); OnClicked(this, eventArgs); }
private void customControlPushButton1_OnClicked(object Sender, PushButtonClickedEventArgs PushButtonClickedEventArgs) { RaisePushButtonClickedEvent(); }
private void RaisePushButtonClickedEvent() { if (OnClicked == null) return; var eventArgs = new PushButtonClickedEventArgs(); OnClicked(this, eventArgs); }