本文整理汇总了C#中System.Windows.Forms.HelpProvider类的典型用法代码示例。如果您正苦于以下问题:C# HelpProvider类的具体用法?C# HelpProvider怎么用?C# HelpProvider使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HelpProvider类属于System.Windows.Forms命名空间,在下文中一共展示了HelpProvider类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: MsaCreatorDlg
/// <summary>
/// Constructor.
/// </summary>
public MsaCreatorDlg()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.helpProvider = new System.Windows.Forms.HelpProvider();
this.helpProvider.HelpNamespace = FwApp.App.HelpFile;
this.helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
this.helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:14,代码来源:MsaCreatorDlg.cs
示例2: 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);
}
开发者ID:bbriggs,项目名称:FieldWorks,代码行数:11,代码来源:ImportWordSetDlg.cs
示例3: LabelViewer
public LabelViewer()
{
InitializeComponent();
source_path = "";
archive_path = "";
/* Setting up refresh timer to enable and disable the buttons. */
global_timer = new Timer();
global_timer.Interval = 500;
global_timer.Tick += new EventHandler(refresh_label_viewer);
global_timer.Start();
/* Populating the file_extensions and adding it to the checklist */
file_extensions.Add("Zebra Labels: .zpl");
file_extensions.Add("Intermec Labels: .ipl");
file_extensions.Add("Sato Labels: .lbl");
file_extensions.Add("Datamax Labels: .dpl");
int counter = 0;
while (counter < file_extensions.Count)
{
extensionsList.Items.Add(file_extensions.ElementAt(counter));
counter++;
}
extensionsList.CheckOnClick = false;
helpProvider1 = new HelpProvider();
helpProvider1.SetShowHelp(directoryText, true);
helpProvider1.SetHelpString(directoryText, "Enter the path to the source directory.");
helpProvider1.SetShowHelp(archiveText, true);
helpProvider1.SetHelpString(archiveText, "Enter the path to the archive directory.");
helpProvider1.SetShowHelp(revertButton, true);
helpProvider1.SetHelpString(revertButton, "Moves ALL the files from the archive to source directory.");
helpProvider1.SetShowHelp(searchButton, true);
helpProvider1.SetHelpString(searchButton, "Starts the polling process on the source directory.");
helpProvider1.SetShowHelp(InstructionsButton, true);
helpProvider1.SetHelpString(InstructionsButton, "Follow these set of instructions.");
helpProvider1.SetShowHelp(ExitButton, true);
helpProvider1.SetHelpString(ExitButton, "Exit (Esc)");
helpProvider1.HelpNamespace = "help.chm";
helpProvider1.SetHelpNavigator(directoryText, HelpNavigator.TableOfContents);
}
开发者ID:aditya7iyengar,项目名称:Label-Viewer,代码行数:53,代码来源:LabelViewer.cs
示例4: 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");
}
开发者ID:ondister,项目名称:Recog,代码行数:13,代码来源:LoadFBForm.cs
示例5: LexOptionsDlg
public LexOptionsDlg()
{
InitializeComponent();
if (FwApp.App != null) // Will be null when running tests
{
this.helpProvider = new System.Windows.Forms.HelpProvider();
this.helpProvider.HelpNamespace = FwApp.App.HelpFile;
this.helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
this.helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
}
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:13,代码来源:LexOptionsDlg.cs
示例6: ConcordanceDlg
public ConcordanceDlg()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.helpProvider = new System.Windows.Forms.HelpProvider();
this.helpProvider.HelpNamespace = FwApp.App.HelpFile;
this.helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
this.helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
this.helpProvider.SetShowHelp(this, true);
CheckAssignBtnEnabling();
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:15,代码来源:ConcordanceDlg.cs
示例7: MasterCategoryListDlg
public MasterCategoryListDlg()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
string sCat = LexTextControls.kscategory;
linkLabel1.Text = String.Format(LexTextControls.ksLinkText, sCat, sCat);
if (FwApp.App != null)
{
this.helpProvider = new System.Windows.Forms.HelpProvider();
this.helpProvider.HelpNamespace = FwApp.App.HelpFile;
this.helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
this.helpProvider.SetHelpNavigator(this, System.Windows.Forms.HelpNavigator.Topic);
}
else
{
// We can get here from Data Notebook via its "Find In Dictionary" function, which
// doesn't have any good way of passing in the help information.
m_bnHelp.Enabled = false;
}
pictureBox1.Image = m_imageListPictures.Images[0];
m_btnOK.Enabled = false; // Disable until we are able to support interaction with the DB list of POSes.
m_rtbDescription.ReadOnly = true; // Don't allow any editing
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:26,代码来源:MasterCategoryListDlg.cs
示例8: ConfigureInterlinDialog
public ConfigureInterlinDialog(FdoCache cache, InterlinLineChoices choices)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
this.helpProvider = new System.Windows.Forms.HelpProvider();
this.helpProvider.HelpNamespace = FwApp.App.HelpFile;
this.helpProvider.SetHelpKeyword(this, FwApp.App.GetHelpString(s_helpTopic, 0));
this.helpProvider.SetHelpNavigator(this, System.Windows.Forms.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 += new DrawListViewColumnHeaderEventHandler(currentList_DrawColumnHeader);
InitCurrentList(0); // also inits WsCombo.
currentList.SelectedIndexChanged += new EventHandler(currentList_SelectedIndexChanged);
optionsList.SelectedIndexChanged += new EventHandler(optionsList_SelectedIndexChanged);
EnableControls();
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:27,代码来源:ConfigureInterlinDialog.cs
示例9: 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);
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:38,代码来源:SimpleMatchDlg.cs
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.HelpProvider1 = new System.Windows.Forms.HelpProvider();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.label1.Location = new System.Drawing.Point(28, 99);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(236, 68);
this.label1.TabIndex = 6;
this.label1.Text = "Press F1 here for a form-based help topic.";
//
// FormBased
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label1});
this.Name = "FormBased";
this.Text = "FormBased";
this.Load += new System.EventHandler(this.FormBased_Load);
this.ResumeLayout(false);
}
开发者ID:ehershey,项目名称:development,代码行数:31,代码来源:FormBased.cs
示例11: 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();
}
开发者ID:bbriggs,项目名称:FieldWorks,代码行数:30,代码来源:ConfigureInterlinDialog.cs
示例12: 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);
}
}
开发者ID:sillsdev,项目名称:FieldWorks,代码行数:28,代码来源:MergeWritingSystemDlg.cs
示例13: MainMenu
public MainMenu()
{
InitializeComponent();
HelpProvider help = new HelpProvider();
help.HelpNamespace = "Recog_help.chm";
help.SetHelpNavigator(this, HelpNavigator.Topic);
help.SetHelpKeyword(this, "main_menu.htm");
}
开发者ID:ondister,项目名称:Recog,代码行数:8,代码来源:MainMenu.cs
示例14: 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);
}
开发者ID:sillsdev,项目名称:FieldWorks,代码行数:14,代码来源:LexReferenceDetailsDlg.cs
示例15: HelpButton
public HelpButton(Control relatedControl, HelpProvider helpProvider) {
this.relatedControl = relatedControl;
this.helpProvider = helpProvider;
InitializeComponent();
btnHelp.Click += btnHelp_Click;
}
开发者ID:walkingriver,项目名称:VersionOne.Integration.JIRA,代码行数:8,代码来源:HelpButton.cs
示例16: InitializeComponent
private void InitializeComponent() {
helpProvider = new HelpProvider();
SuspendLayout();
//
// BaseDataBindingControl
//
Name = "BaseDataBindingControl";
ResumeLayout(false);
}
开发者ID:walkingriver,项目名称:VersionOne.Integration.JIRA,代码行数:9,代码来源:BaseDataBindingControl.cs
示例17: 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");
}
开发者ID:ondister,项目名称:Recog,代码行数:9,代码来源:FormSelect.cs
示例18: MsaCreatorDlg
/// <summary>
/// Constructor.
/// </summary>
public MsaCreatorDlg()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
AccessibleName = GetType().Name;
helpProvider = new HelpProvider();
}
开发者ID:sillsdev,项目名称:FieldWorks,代码行数:12,代码来源:MsaCreatorDlg.cs
示例19: 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);
}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:9,代码来源:ChooseTextWritingSystemDlg.cs
示例20: 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");
}
开发者ID:ondister,项目名称:Recog,代码行数:10,代码来源:TimeLineForm.cs
注:本文中的System.Windows.Forms.HelpProvider类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论