本文整理汇总了C#中System.Windows.Forms.HelpProvider.SetHelpKeyword方法的典型用法代码示例。如果您正苦于以下问题:C# HelpProvider.SetHelpKeyword方法的具体用法?C# HelpProvider.SetHelpKeyword怎么用?C# HelpProvider.SetHelpKeyword使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.HelpProvider
的用法示例。
在下文中一共展示了HelpProvider.SetHelpKeyword方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ImportWordSetDlg
public ImportWordSetDlg(Mediator mediator) : this()
{
//InitializeComponent();
m_mediator = mediator;
m_cache = (FdoCache)m_mediator.PropertyTable.GetValue("cache");
helpProvider = new HelpProvider();
helpProvider.HelpNamespace = m_mediator.HelpTopicProvider.HelpFile;
helpProvider.SetHelpKeyword(this, m_mediator.HelpTopicProvider.GetHelpString(s_helpTopic));
helpProvider.SetHelpNavigator(this, HelpNavigator.Topic);
}
示例2: LoadFBForm
public LoadFBForm(pBaseEntities ge, fBaseEntities fe)
{
InitializeComponent();
_ge = ge;
_fe = fe;
dp_maxdate.ValueChanged += new EventHandler(dp_maxdate_ValueChanged);
dp_mindate.ValueChanged += new EventHandler(dp_maxdate_ValueChanged);
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "menu_excel.htm");
}
示例3: SimpleMatchDlg
/// ------------------------------------------------------------------------------------
/// <summary>
/// Initializes a new instance of the <see cref="T:SimpleMatchDlg"/> class.
/// </summary>
/// <param name="wsf">The WSF.</param>
/// <param name="ws">The ws.</param>
/// <param name="ss">The ss.</param>
/// ------------------------------------------------------------------------------------
public SimpleMatchDlg(ILgWritingSystemFactory wsf, int ws, IVwStylesheet ss)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
// We do this outside the designer-controlled code because it does funny things
// to FwTextBoxes, owing to the need for a writing system factory, and some
// properties it should not persist but I can't persuade it not to.
this.m_textBox = new FwTextBox();
this.m_textBox.WritingSystemFactory = wsf; // set ASAP.
this.m_textBox.WritingSystemCode = ws;
this.m_textBox.StyleSheet = ss; // before setting text, otherwise it gets confused about height needed.
this.m_textBox.Location = new System.Drawing.Point(8, 24);
this.m_textBox.Name = "m_textBox";
this.m_textBox.Size = new System.Drawing.Size(450, 32);
this.m_textBox.TabIndex = 0;
this.m_textBox.Text = "";
this.Controls.Add(this.m_textBox);
regexContextMenu = new RegexHelperMenu(m_textBox, FwApp.App);
m_ivwpattern = VwPatternClass.Create();
helpProvider = new System.Windows.Forms.HelpProvider();
helpProvider.HelpNamespace = FwApp.App.HelpFile;
helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
}
示例4: ConfigureInterlinDialog
public ConfigureInterlinDialog(FdoCache cache, IHelpTopicProvider helpTopicProvider,
InterlinLineChoices choices)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
AccessibleName = GetType().Name;
m_helpTopicProvider = helpTopicProvider;
helpProvider = new HelpProvider();
helpProvider.HelpNamespace = m_helpTopicProvider.HelpFile;
helpProvider.SetHelpKeyword(this, m_helpTopicProvider.GetHelpString(s_helpTopic));
helpProvider.SetHelpNavigator(this, HelpNavigator.Topic);
m_cachedComboBoxes = new Dictionary<ColumnConfigureDialog.WsComboContent, ComboBox.ObjectCollection>();
m_cache = cache;
m_choices = choices;
InitPossibilitiesList();
// Owner draw requires drawing the column header as well as the list items. See LT-7007.
currentList.DrawColumnHeader += currentList_DrawColumnHeader;
InitCurrentList(0); // also inits WsCombo.
currentList.SelectedIndexChanged += currentList_SelectedIndexChanged;
optionsList.SelectedIndexChanged += optionsList_SelectedIndexChanged;
EnableControls();
}
示例5: MergeWritingSystemDlg
public MergeWritingSystemDlg(FdoCache cache, IWritingSystem ws, IEnumerable<IWritingSystem> wss, IHelpTopicProvider helpTopicProvider)
{
m_cache = cache;
m_ws = ws;
//
// Required for Windows Form Designer support
//
InitializeComponent();
Icon infoIcon = SystemIcons.Information;
m_infoPictureBox.Image = infoIcon.ToBitmap();
m_infoPictureBox.Size = infoIcon.Size;
foreach (IWritingSystem curWs in wss.Except(new[] { ws }))
m_wsListBox.Items.Add(curWs);
m_wsListBox.SelectedIndex = 0;
m_helpTopicProvider = helpTopicProvider;
if (m_helpTopicProvider != null) // m_helpTopicProvider could be null for testing
{
m_helpProvider = new HelpProvider();
m_helpProvider.HelpNamespace = m_helpTopicProvider.HelpFile;
m_helpProvider.SetHelpKeyword(this, m_helpTopicProvider.GetHelpString(HelpTopic));
m_helpProvider.SetHelpNavigator(this, HelpNavigator.Topic);
}
}
示例6: LexReferenceDetailsDlg
/// ------------------------------------------------------------------------------------
/// <summary>
/// Initializes a new instance of the <see cref="LexReferenceDetailsDlg"/> class.
/// </summary>
/// <param name="helpTopicProvider">The help topic provider.</param>
/// ------------------------------------------------------------------------------------
public LexReferenceDetailsDlg(IHelpTopicProvider helpTopicProvider) : this()
{
m_helpTopicProvider = helpTopicProvider;
helpProvider = new HelpProvider();
helpProvider.HelpNamespace = helpTopicProvider.HelpFile;
helpProvider.SetHelpKeyword(this, helpTopicProvider.GetHelpString(s_helpTopic));
helpProvider.SetHelpNavigator(this, HelpNavigator.Topic);
}
示例7: MainMenu
public MainMenu()
{
InitializeComponent();
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "main_menu.htm");
}
示例8: FormSelect
public FormSelect()
{
InitializeComponent();
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "menu_settings.htm#scan_settings");
}
示例9: ChooseTextWritingSystemDlg
public ChooseTextWritingSystemDlg()
{
InitializeComponent();
helpProvider = new System.Windows.Forms.HelpProvider();
helpProvider.HelpNamespace = FwApp.App.HelpFile;
helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
}
示例10: ConnectionForm
public ConnectionForm(bool defaultsettings)
{
InitializeComponent();
_defaultsettings = defaultsettings;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "menu_settings.htm#conn_settings");
}
示例11: TimeLineForm
public TimeLineForm(testresult TestResult)
{
InitializeComponent();
_testresult = TestResult;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "result_character.htm#speed_view");
}
示例12: FormDep
public FormDep(fBaseEntities fe)
{
InitializeComponent();
_fe = fe;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "menu_settings.htm#edit_deps");
}
示例13: HumansForm
private int _currenthumanid; //текущий индекс сущности
#endregion Fields
#region Constructors
public HumansForm(fBaseEntities fe)
{
InitializeComponent();
_fe=fe;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "respondent_common.htm#human");
}
示例14: ReadHumanForm
public ReadHumanForm(fBaseEntities fe, int HumanId)
{
InitializeComponent();
_fe = fe;
_humanid = HumanId;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "result_common.htm#human_read");
}
示例15: PoollForm
public PoollForm(pBaseEntities ge, fBaseEntities fe)
{
InitializeComponent();
_ge = ge;
_fe = fe;
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "test_common.htm");
}