OnDialogBoxLauncherClick() protected method

Raises the DialogBoxLauncherClick event.
protected OnDialogBoxLauncherClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void
 private void OnClick(object sender, MouseEventArgs e)
 {
     // We do not operate the dialog launcher at design time
     if (!_ribbon.InDesignMode)
     {
         // Fire the group defined event that indicates dialog box launcher button pressed
         _ribbonGroup.OnDialogBoxLauncherClick(EventArgs.Empty);
     }
 }