Beispiel #1
0
        private void SaveHelp2Config( )
        {
            bool reload = false;

            reload = HtmlHelp2Environment.Config.SelectedCollection != selectedHelp2Collection;

            HtmlHelp2Environment.Config.SelectedCollection     = selectedHelp2Collection;
            HtmlHelp2Environment.Config.TocPictures            = tocPictures.Checked;
            HtmlHelp2Environment.Config.PadType                = (F1PadType)cmbPadType.SelectedItem;
            HtmlHelp2Environment.Config.CancelDefaultBehaviour = chkCancelDefault.Checked;
            HtmlHelp2Environment.Config.UseForKeywordHelp      = chkEnableForKeywordHelp.Checked;

            HtmlHelp2Environment.SaveConfiguration();

            if (reload)
            {
                HtmlHelp2Environment.ReloadNamespace();
            }
        }
 public override bool StorePanelContents()
 {
     this.SaveHelp2Config();
     HtmlHelp2Environment.ReloadNamespace();
     return(true);
 }