Пример #1
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);
            }
        }
Пример #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);
            }
        }
Пример #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);
 }
Пример #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();
 }
Пример #5
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);
     }
 }
Пример #6
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);
 }
Пример #7
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);
 }
Пример #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);
 }
Пример #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);
     }
 }