當前位置: 首頁>>代碼示例>>C#>>正文


C# HelpProvider.SetHelpNavigator方法代碼示例

本文整理匯總了C#中System.Windows.Forms.HelpProvider.SetHelpNavigator方法的典型用法代碼示例。如果您正苦於以下問題:C# HelpProvider.SetHelpNavigator方法的具體用法?C# HelpProvider.SetHelpNavigator怎麽用?C# HelpProvider.SetHelpNavigator使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在System.Windows.Forms.HelpProvider的用法示例。


在下文中一共展示了HelpProvider.SetHelpNavigator方法的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);
		}
開發者ID:bbriggs,項目名稱:FieldWorks,代碼行數:11,代碼來源:ImportWordSetDlg.cs

示例2: 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

示例3: 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

示例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();
		}
開發者ID:bbriggs,項目名稱:FieldWorks,代碼行數:30,代碼來源:ConfigureInterlinDialog.cs

示例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);
			}
		}
開發者ID:sillsdev,項目名稱:FieldWorks,代碼行數:28,代碼來源:MergeWritingSystemDlg.cs

示例6: 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

示例7: 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

示例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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:9,代碼來源:FormSelect.cs

示例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);
		}
開發者ID:sillsdev,項目名稱:WorldPad,代碼行數:9,代碼來源:ChooseTextWritingSystemDlg.cs

示例10: 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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:10,代碼來源:FormDep.cs

示例11: 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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:10,代碼來源:ConnectionForm.cs

示例12: 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

示例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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:16,代碼來源:HumansForm.cs

示例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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:11,代碼來源:ReadHumanForm.cs

示例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");
        }
開發者ID:ondister,項目名稱:Recog,代碼行數:11,代碼來源:PoollForm.cs


注:本文中的System.Windows.Forms.HelpProvider.SetHelpNavigator方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。