private void ToolStripMenuItemHelp_Click(object sender, EventArgs e)
        {
            // We should only be here if one item is selected, we dont do multi-help
            if (GridViewAlerts.SelectedRows.Count != 1)
            {
                log.DebugFormat("Can only launch help for 1 alert at a time (Attempted to launch {0}). Launching for the clicked item.", GridViewAlerts.SelectedRows.Count);
            }

            DataGridViewRow clickedRow = FindAlertRow(sender as ToolStripMenuItem);

            if (clickedRow == null)
            {
                return;
            }

            Alert alert = (Alert)clickedRow.Tag;

            if (alert == null)
            {
                return;
            }

            if (alert.HelpID == null)
            {
                log.ErrorFormat("Attempted to launch help for alert {0} ({1}) but no helpID available. Not launching.", alert.Title, alert.uuid);
                return;
            }
            HelpManager.Launch(alert.HelpID);
        }
示例#2
0
 private void linkLabelTellMeMore_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     HelpManager.Launch("NetworkingProperties");
 }
示例#3
0
 private void NetworkingProperties_HelpRequested(object sender, HelpEventArgs hlpevent)
 {
     HelpManager.Launch("NetworkingProperties");
 }
示例#4
0
 private void NetworkingProperties_HelpButtonClicked(object sender, CancelEventArgs e)
 {
     HelpManager.Launch("NetworkingProperties");
 }
示例#5
0
 private void XenDialogBase_HelpRequested(object sender, HelpEventArgs hlpevent)
 {
     HelpManager.Launch(HelpName);
     hlpevent.Handled = true;
 }
示例#6
0
 private void helplinkFlexvols_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     HelpManager.Launch("NewSRWizard_FlexVols");
 }
示例#7
0
 private void XenDialogBase_HelpButtonClicked(object sender, CancelEventArgs e)
 {
     HelpManager.Launch(HelpName);
     e.Cancel = true;
 }
示例#8
0
 private void linkLabelTellMeMore_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     HelpManager.Launch("StorageReadCaching");
 }
示例#9
0
 private void XenWizardBase_HelpRequested(object sender, HelpEventArgs hlpevent)
 {
     HelpManager.Launch(this.WizardPaneHelpID());
 }
示例#10
0
 private void pictureBoxHelp_Click(object sender, EventArgs e)
 {
     HelpManager.Launch(this.WizardPaneHelpID());
 }
示例#11
0
 private void HelpButton_Click(object sender, EventArgs e)
 {
     HelpManager.Launch(this.WizardPaneHelpID());
 }