/// <summary>
        /// Triggers the SelectedCommandNeedsHelp event.
        /// </summary>
        /// <param name="e">Event arguments.</param>
        internal void OnSelectedCommandNeedsHelp(HelpNeededEventArgs e)
        {
            EventHandler <HelpNeededEventArgs> handler = this.SelectedCommandNeedsHelp;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Triggers SelectedCommandInSelectedModuleNeedsHelp.
        /// </summary>
        /// <param name="e">Event arguments.</param>
        private void OnSelectedCommandInSelectedModuleNeedsHelp(HelpNeededEventArgs e)
        {
            EventHandler <HelpNeededEventArgs> handler = this.SelectedCommandInSelectedModuleNeedsHelp;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #3
0
 /// <summary>
 /// Called when the SelectedCommandNeedsHelp event is triggered in the Selected Module.
 /// </summary>
 /// <param name="sender">Event sender.</param>
 /// <param name="e">Event arguments.</param>
 private void SelectedModule_SelectedCommandNeedsHelp(object sender, HelpNeededEventArgs e)
 {
     this.OnSelectedCommandInSelectedModuleNeedsHelp(e);
 }
Beispiel #4
0
 /// <summary>
 /// Handles the SelectedCommandInSelectedModuleNeedsHelp event
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="e">event arguments</param>
 private void CommandNeedsHelp(object sender, HelpNeededEventArgs e)
 {
     this.commandNeedingHelp = e.CommandName;
     this.HelpNeeded.Set();
 }
 /// <summary>
 /// Triggers SelectedCommandInSelectedModuleNeedsHelp
 /// </summary>
 /// <param name="e">event arguments</param>
 private void OnSelectedCommandInSelectedModuleNeedsHelp(HelpNeededEventArgs e)
 {
     EventHandler<HelpNeededEventArgs> handler = this.SelectedCommandInSelectedModuleNeedsHelp;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 /// <summary>
 /// Called when the SelectedCommandNeedsHelp event is triggered in the Selected Module
 /// </summary>
 /// <param name="sender">event sender</param>
 /// <param name="e">event arguments</param>
 private void SelectedModule_SelectedCommandNeedsHelp(object sender, HelpNeededEventArgs e)
 {
     this.OnSelectedCommandInSelectedModuleNeedsHelp(e);
 }
 /// <summary>
 /// Handles the HelpNeeded event in the selected command and triggers the SelectedCommandNeedsHelp event.
 /// </summary>
 /// <param name="sender">HelpNeeded event sender.</param>
 /// <param name="e">HelpNeeded event argument.</param>
 private void SelectedCommand_HelpNeeded(object sender, HelpNeededEventArgs e)
 {
     this.OnSelectedCommandNeedsHelp(e);
 }
Beispiel #8
0
 /// <summary>
 /// Handles the HelpNeeded event in the selected command and triggers the SelectedCommandNeedsHelp event
 /// </summary>
 /// <param name="sender">HelpNeeded event sender</param>
 /// <param name="e">HelpNeeded event argument</param>
 private void SelectedCommand_HelpNeeded(object sender, HelpNeededEventArgs e)
 {
     this.OnSelectedCommandNeedsHelp(e);
 }
Beispiel #9
0
 /// <summary>
 /// Triggers the SelectedCommandNeedsHelp event
 /// </summary>
 /// <param name="e">event arguments</param>
 internal void OnSelectedCommandNeedsHelp(HelpNeededEventArgs e)
 {
     EventHandler<HelpNeededEventArgs> handler = this.SelectedCommandNeedsHelp;
     if (handler != null)
     {
         handler(this, e);
     }
 }