Exemple #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DumpCfg));
     this.label1          = new System.Windows.Forms.Label();
     this.chkDEnableDump  = new System.Windows.Forms.CheckBox();
     this.grpDumping      = new System.Windows.Forms.GroupBox();
     this.chkFulltext     = new System.Windows.Forms.CheckBox();
     this.chkTopics       = new System.Windows.Forms.CheckBox();
     this.chkUrltbl       = new System.Windows.Forms.CheckBox();
     this.chkUrlstr       = new System.Windows.Forms.CheckBox();
     this.chkStrings      = new System.Windows.Forms.CheckBox();
     this.chkBinIdx       = new System.Windows.Forms.CheckBox();
     this.chkTextIdx      = new System.Windows.Forms.CheckBox();
     this.chkBinTOC       = new System.Windows.Forms.CheckBox();
     this.chkTextTOC      = new System.Windows.Forms.CheckBox();
     this.label4          = new System.Windows.Forms.Label();
     this.cbCompression   = new System.Windows.Forms.ComboBox();
     this.label3          = new System.Windows.Forms.Label();
     this.cbSpecialFolder = new System.Windows.Forms.ComboBox();
     this.txtFolderName   = new System.Windows.Forms.TextBox();
     this.rbF             = new System.Windows.Forms.RadioButton();
     this.rbSF            = new System.Windows.Forms.RadioButton();
     this.label2          = new System.Windows.Forms.Label();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.btnOK           = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.helpProviderEx1 = new HtmlHelp.UIComponents.HelpProviderEx();
     this.grpDumping.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(320, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Use this dialog to configure the HtmlHelpSystem data dumping";
     //
     // chkDEnableDump
     //
     this.helpProviderEx1.SetHelpString(this.chkDEnableDump, "Check this flag to enable data dumping for the Viewer.");
     this.chkDEnableDump.Location        = new System.Drawing.Point(8, 32);
     this.chkDEnableDump.Name            = "chkDEnableDump";
     this.chkDEnableDump.Size            = new System.Drawing.Size(176, 24);
     this.chkDEnableDump.TabIndex        = 1;
     this.chkDEnableDump.Text            = "&Enable data dumping";
     this.chkDEnableDump.CheckedChanged += new System.EventHandler(this.chkDEnableDump_CheckedChanged);
     //
     // grpDumping
     //
     this.grpDumping.Controls.Add(this.chkFulltext);
     this.grpDumping.Controls.Add(this.chkTopics);
     this.grpDumping.Controls.Add(this.chkUrltbl);
     this.grpDumping.Controls.Add(this.chkUrlstr);
     this.grpDumping.Controls.Add(this.chkStrings);
     this.grpDumping.Controls.Add(this.chkBinIdx);
     this.grpDumping.Controls.Add(this.chkTextIdx);
     this.grpDumping.Controls.Add(this.chkBinTOC);
     this.grpDumping.Controls.Add(this.chkTextTOC);
     this.grpDumping.Controls.Add(this.label4);
     this.grpDumping.Controls.Add(this.cbCompression);
     this.grpDumping.Controls.Add(this.label3);
     this.grpDumping.Controls.Add(this.cbSpecialFolder);
     this.grpDumping.Controls.Add(this.txtFolderName);
     this.grpDumping.Controls.Add(this.rbF);
     this.grpDumping.Controls.Add(this.rbSF);
     this.grpDumping.Controls.Add(this.label2);
     this.grpDumping.Location = new System.Drawing.Point(8, 64);
     this.grpDumping.Name     = "grpDumping";
     this.grpDumping.Size     = new System.Drawing.Size(344, 288);
     this.grpDumping.TabIndex = 2;
     this.grpDumping.TabStop  = false;
     this.grpDumping.Text     = "Dump settings";
     //
     // chkFulltext
     //
     this.helpProviderEx1.SetHelpString(this.chkFulltext, "Check this if the system should dump the CHM\'s internal full-text index file.");
     this.chkFulltext.Location = new System.Drawing.Point(176, 232);
     this.chkFulltext.Name     = "chkFulltext";
     this.chkFulltext.Size     = new System.Drawing.Size(136, 24);
     this.chkFulltext.TabIndex = 16;
     this.chkFulltext.Text     = "Dump Full-text index";
     //
     // chkTopics
     //
     this.helpProviderEx1.SetHelpString(this.chkTopics, "Check this if the system should dump the CHM\'s internal #TOPICS file.");
     this.chkTopics.Location = new System.Drawing.Point(176, 208);
     this.chkTopics.Name     = "chkTopics";
     this.chkTopics.Size     = new System.Drawing.Size(136, 24);
     this.chkTopics.TabIndex = 15;
     this.chkTopics.Text     = "Dump #TOPICS file";
     //
     // chkUrltbl
     //
     this.helpProviderEx1.SetHelpString(this.chkUrltbl, "Check this if the system should dump the CHM\'s internal #URLTBL file.");
     this.chkUrltbl.Location = new System.Drawing.Point(176, 184);
     this.chkUrltbl.Name     = "chkUrltbl";
     this.chkUrltbl.Size     = new System.Drawing.Size(136, 24);
     this.chkUrltbl.TabIndex = 14;
     this.chkUrltbl.Text     = "Dump #URLTBL file";
     //
     // chkUrlstr
     //
     this.helpProviderEx1.SetHelpString(this.chkUrlstr, "Check this if the system should dump the CHM\'s internal #URLSTR file.");
     this.chkUrlstr.Location = new System.Drawing.Point(176, 160);
     this.chkUrlstr.Name     = "chkUrlstr";
     this.chkUrlstr.Size     = new System.Drawing.Size(136, 24);
     this.chkUrlstr.TabIndex = 13;
     this.chkUrlstr.Text     = "Dump #URLSTR file";
     //
     // chkStrings
     //
     this.helpProviderEx1.SetHelpString(this.chkStrings, "Check this if the system should dump the CHM\'s internal #STRINGS file.");
     this.chkStrings.Location = new System.Drawing.Point(40, 256);
     this.chkStrings.Name     = "chkStrings";
     this.chkStrings.Size     = new System.Drawing.Size(136, 24);
     this.chkStrings.TabIndex = 12;
     this.chkStrings.Text     = "Dump #STRINGS file";
     //
     // chkBinIdx
     //
     this.helpProviderEx1.SetHelpString(this.chkBinIdx, "Check this if you want to dump binary index data");
     this.chkBinIdx.Location = new System.Drawing.Point(40, 232);
     this.chkBinIdx.Name     = "chkBinIdx";
     this.chkBinIdx.Size     = new System.Drawing.Size(120, 24);
     this.chkBinIdx.TabIndex = 11;
     this.chkBinIdx.Text     = "Dump binary index";
     //
     // chkTextIdx
     //
     this.helpProviderEx1.SetHelpString(this.chkTextIdx, "Check this if you want to dump text-based index data");
     this.chkTextIdx.Location = new System.Drawing.Point(40, 208);
     this.chkTextIdx.Name     = "chkTextIdx";
     this.chkTextIdx.Size     = new System.Drawing.Size(120, 24);
     this.chkTextIdx.TabIndex = 10;
     this.chkTextIdx.Text     = "Dump text index";
     //
     // chkBinTOC
     //
     this.helpProviderEx1.SetHelpString(this.chkBinTOC, "Check this if you want to dump a binary table of contents ");
     this.chkBinTOC.Location = new System.Drawing.Point(40, 184);
     this.chkBinTOC.Name     = "chkBinTOC";
     this.chkBinTOC.Size     = new System.Drawing.Size(120, 24);
     this.chkBinTOC.TabIndex = 9;
     this.chkBinTOC.Text     = "Dump binary TOC";
     //
     // chkTextTOC
     //
     this.helpProviderEx1.SetHelpString(this.chkTextTOC, "Check this if you want to dump text-based table of contents");
     this.chkTextTOC.Location = new System.Drawing.Point(40, 160);
     this.chkTextTOC.Name     = "chkTextTOC";
     this.chkTextTOC.Size     = new System.Drawing.Size(120, 24);
     this.chkTextTOC.TabIndex = 8;
     this.chkTextTOC.Text     = "Dump text TOC";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 136);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(100, 16);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Dumping flags:";
     //
     // cbCompression
     //
     this.cbCompression.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.helpProviderEx1.SetHelpString(this.cbCompression, "Select the compression level you would prefer (NOTE: No compression needs maximum" +
                                        " space and works fastest, Maximum copmression needs minimum space and works slow" +
                                        "est)");
     this.cbCompression.Items.AddRange(new object[] {
         "None",
         "Minimum",
         "Medium",
         "Maximum"
     });
     this.cbCompression.Location = new System.Drawing.Point(144, 101);
     this.cbCompression.Name     = "cbCompression";
     this.cbCompression.Size     = new System.Drawing.Size(192, 21);
     this.cbCompression.TabIndex = 6;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 104);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(136, 23);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Dump compression level:";
     //
     // cbSpecialFolder
     //
     this.cbSpecialFolder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.helpProviderEx1.SetHelpString(this.cbSpecialFolder, "Select one of the special folders from the list.");
     this.cbSpecialFolder.Location = new System.Drawing.Point(8, 72);
     this.cbSpecialFolder.Name     = "cbSpecialFolder";
     this.cbSpecialFolder.Size     = new System.Drawing.Size(328, 21);
     this.cbSpecialFolder.TabIndex = 4;
     //
     // txtFolderName
     //
     this.helpProviderEx1.SetHelpString(this.txtFolderName, "Type in the full path of the output folder where dumping files should be stored.");
     this.txtFolderName.Location = new System.Drawing.Point(8, 72);
     this.txtFolderName.Name     = "txtFolderName";
     this.txtFolderName.Size     = new System.Drawing.Size(328, 20);
     this.txtFolderName.TabIndex = 3;
     this.txtFolderName.Text     = "";
     //
     // rbF
     //
     this.helpProviderEx1.SetHelpString(this.rbF, "Set this flag, if you want to specify a custom output path.");
     this.rbF.Location        = new System.Drawing.Point(112, 48);
     this.rbF.Name            = "rbF";
     this.rbF.TabIndex        = 2;
     this.rbF.Text            = "Specify &folder";
     this.rbF.CheckedChanged += new System.EventHandler(this.rbF_CheckedChanged);
     //
     // rbSF
     //
     this.rbSF.Checked = true;
     this.helpProviderEx1.SetHelpString(this.rbSF, "Select this if you want to set the dump-data output to a special folder on your c" +
                                        "omputer.");
     this.rbSF.Location        = new System.Drawing.Point(8, 48);
     this.rbSF.Name            = "rbSF";
     this.rbSF.TabIndex        = 1;
     this.rbSF.TabStop         = true;
     this.rbSF.Text            = "&Special folder";
     this.rbSF.CheckedChanged += new System.EventHandler(this.rbSF_CheckedChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 24);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 0;
     this.label2.Text     = "Output directory:";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 360);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(360, 2);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 3;
     this.pictureBox1.TabStop  = false;
     //
     // btnOK
     //
     this.btnOK.Location = new System.Drawing.Point(176, 376);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 4;
     this.btnOK.Text     = "&OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(272, 376);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 5;
     this.btnCancel.Text         = "&Cancel";
     //
     // helpProviderEx1
     //
     this.helpProviderEx1.Viewer = null;
     //
     // DumpCfg
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(362, 407);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.grpDumping);
     this.Controls.Add(this.chkDEnableDump);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.HelpButton      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "DumpCfg";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Dumping configuration";
     this.Load           += new System.EventHandler(this.DumpCfg_Load);
     this.grpDumping.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Preferences));
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnOK           = new System.Windows.Forms.Button();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.tabControl1     = new System.Windows.Forms.TabControl();
     this.tbHHS           = new System.Windows.Forms.TabPage();
     this.label3          = new System.Windows.Forms.Label();
     this.cbImageList     = new System.Windows.Forms.ComboBox();
     this.label2          = new System.Windows.Forms.Label();
     this.txtURLPrefix    = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.helpProviderEx1 = new HtmlHelp.UIComponents.HelpProviderEx();
     this.tabControl1.SuspendLayout();
     this.tbHHS.SuspendLayout();
     this.SuspendLayout();
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(344, 200);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 8;
     this.btnCancel.Text         = "&Cancel";
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Location = new System.Drawing.Point(248, 200);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 7;
     this.btnOK.Text     = "&OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 184);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(432, 2);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 6;
     this.pictureBox1.TabStop  = false;
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Controls.Add(this.tbHHS);
     this.tabControl1.Location      = new System.Drawing.Point(8, 8);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(416, 168);
     this.tabControl1.TabIndex      = 9;
     //
     // tbHHS
     //
     this.tbHHS.Controls.Add(this.label3);
     this.tbHHS.Controls.Add(this.cbImageList);
     this.tbHHS.Controls.Add(this.label2);
     this.tbHHS.Controls.Add(this.txtURLPrefix);
     this.tbHHS.Controls.Add(this.label1);
     this.tbHHS.Location = new System.Drawing.Point(4, 22);
     this.tbHHS.Name     = "tbHHS";
     this.tbHHS.Size     = new System.Drawing.Size(408, 142);
     this.tbHHS.TabIndex = 0;
     this.tbHHS.Text     = "HtmlHelpSystem settings";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 88);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(384, 32);
     this.label3.TabIndex = 4;
     this.label3.Text     = "NOTE: Changing the standard imagelist requires to close all current CHM files !";
     //
     // cbImageList
     //
     this.cbImageList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.helpProviderEx1.SetHelpString(this.cbImageList, "Sets the imagelist used for the Table of Contents tree view.");
     this.cbImageList.Items.AddRange(new object[] {
         "HtmlHelp 1.1 image list",
         "HtmlHelp 2.0 image list"
     });
     this.cbImageList.Location = new System.Drawing.Point(184, 61);
     this.cbImageList.Name     = "cbImageList";
     this.cbImageList.Size     = new System.Drawing.Size(216, 21);
     this.cbImageList.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(176, 23);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Standard imagelist for TOC-Tree:";
     //
     // txtURLPrefix
     //
     this.helpProviderEx1.SetHelpString(this.txtURLPrefix, "The prefix string for identifying ITS-Urls ( should be \"mt-its:\" or \"mk:@MSITStor" +
                                        "e:\" )");
     this.txtURLPrefix.Location = new System.Drawing.Point(184, 21);
     this.txtURLPrefix.Name     = "txtURLPrefix";
     this.txtURLPrefix.Size     = new System.Drawing.Size(216, 20);
     this.txtURLPrefix.TabIndex = 1;
     this.txtURLPrefix.Text     = "";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 24);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(168, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Url prefix for identifying ITS-Urls:";
     //
     // helpProviderEx1
     //
     this.helpProviderEx1.Viewer = null;
     //
     // Preferences
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(434, 231);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.HelpButton      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Preferences";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Preferences ...";
     this.Load           += new System.EventHandler(this.Preferences_Load);
     this.tabControl1.ResumeLayout(false);
     this.tbHHS.ResumeLayout(false);
     this.ResumeLayout(false);
 }