예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HyperlinkForm));
     this.buttonInsert      = new System.Windows.Forms.Button();
     this.buttonCancel      = new System.Windows.Forms.Button();
     this.bevel             = new OpenLiveWriter.Controls.GroupLabelControl();
     this.label1            = new System.Windows.Forms.Label();
     this.textBoxAddress    = new System.Windows.Forms.TextBox();
     this.labelLinkText     = new System.Windows.Forms.Label();
     this.textBoxLinkText   = new System.Windows.Forms.TextBox();
     this.labelTitle        = new System.Windows.Forms.Label();
     this.textBoxTitle      = new System.Windows.Forms.TextBox();
     this.labelRel          = new System.Windows.Forms.Label();
     this.comboBoxRel       = new OpenLiveWriter.Controls.ComboBoxRel();
     this.ckboxNewWindow    = new System.Windows.Forms.CheckBox();
     this.btnOptions        = new OpenLiveWriter.HtmlEditor.Linking.LinkOptionsButton();
     this.btnAdvanced       = new System.Windows.Forms.Button();
     this.btnRemove         = new System.Windows.Forms.Button();
     this.btnOptionsToolTip = new ToolTip2(components);
     this.ckBoxGlossary     = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // buttonInsert
     //
     this.buttonInsert.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonInsert.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonInsert.Location  = new System.Drawing.Point(370, 10);
     this.buttonInsert.Name      = "buttonInsert";
     this.buttonInsert.Size      = new System.Drawing.Size(75, 23);
     this.buttonInsert.TabIndex  = 12;
     this.buttonInsert.Text      = "OK";
     this.buttonInsert.Click    += new System.EventHandler(this.buttonOk_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.buttonCancel.Location     = new System.Drawing.Point(370, 39);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex     = 13;
     this.buttonCancel.Text         = "Cancel";
     //
     // bevel
     //
     this.bevel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.bevel.Location  = new System.Drawing.Point(6, 191);
     this.bevel.MultiLine = false;
     this.bevel.Name      = "bevel";
     this.bevel.Size      = new System.Drawing.Size(435, 4);
     this.bevel.TabIndex  = 0;
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(10, 12);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(312, 15);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "&URL:";
     //
     // textBoxAddress
     //
     this.textBoxAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxAddress.Location     = new System.Drawing.Point(10, 28);
     this.textBoxAddress.Name         = "textBoxAddress";
     this.textBoxAddress.Size         = new System.Drawing.Size(258, 21);
     this.textBoxAddress.TabIndex     = 2;
     this.textBoxAddress.TextChanged += new System.EventHandler(this.textBoxAddress_TextChanged);
     //
     // labelLinkText
     //
     this.labelLinkText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.labelLinkText.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelLinkText.Location  = new System.Drawing.Point(10, 57);
     this.labelLinkText.Name      = "labelLinkText";
     this.labelLinkText.Size      = new System.Drawing.Size(312, 15);
     this.labelLinkText.TabIndex  = 4;
     this.labelLinkText.Text      = "Te&xt:";
     //
     // textBoxLinkText
     //
     this.textBoxLinkText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxLinkText.Location     = new System.Drawing.Point(10, 73);
     this.textBoxLinkText.Name         = "textBoxLinkText";
     this.textBoxLinkText.Size         = new System.Drawing.Size(351, 21);
     this.textBoxLinkText.TabIndex     = 5;
     this.textBoxLinkText.TextChanged += new System.EventHandler(this.textBoxLinkText_TextChanged);
     //
     // labelTitle
     //
     this.labelTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.labelTitle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelTitle.Location  = new System.Drawing.Point(10, 207);
     this.labelTitle.Name      = "labelTitle";
     this.labelTitle.Size      = new System.Drawing.Size(341, 15);
     this.labelTitle.TabIndex  = 8;
     this.labelTitle.Text      = "&Title:";
     //
     // textBoxTitle
     //
     this.textBoxTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxTitle.Location     = new System.Drawing.Point(10, 223);
     this.textBoxTitle.Name         = "textBoxTitle";
     this.textBoxTitle.Size         = new System.Drawing.Size(351, 21);
     this.textBoxTitle.TabIndex     = 9;
     this.textBoxTitle.TextChanged += new System.EventHandler(this.textBoxTitle_TextChanged);
     //
     // labelRel
     //
     this.labelRel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.labelRel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelRel.Location  = new System.Drawing.Point(10, 252);
     this.labelRel.Name      = "labelRel";
     this.labelRel.Size      = new System.Drawing.Size(341, 15);
     this.labelRel.TabIndex  = 10;
     this.labelRel.Text      = "R&el:";
     //
     // comboBoxRel
     //
     this.comboBoxRel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxRel.Location = new System.Drawing.Point(10, 268);
     this.comboBoxRel.Name     = "comboBoxRel";
     this.comboBoxRel.Rel      = "";
     this.comboBoxRel.Size     = new System.Drawing.Size(351, 21);
     this.comboBoxRel.TabIndex = 11;
     //
     // ckboxNewWindow
     //
     this.ckboxNewWindow.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.ckboxNewWindow.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.ckboxNewWindow.Location  = new System.Drawing.Point(10, 105);
     this.ckboxNewWindow.Name      = "ckboxNewWindow";
     this.ckboxNewWindow.Size      = new System.Drawing.Size(430, 22);
     this.ckboxNewWindow.TabIndex  = 6;
     this.ckboxNewWindow.Text      = "&Open link in new window";
     //
     // btnOptions
     //
     this.btnOptions.AccessibleName = "&Link to";
     this.btnOptions.AccessibleRole = System.Windows.Forms.AccessibleRole.ButtonMenu;
     this.btnOptions.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOptions.Image          = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image")));
     this.btnOptions.ImageAlign     = System.Drawing.ContentAlignment.MiddleRight;
     this.btnOptions.Location       = new System.Drawing.Point(273, 27);
     this.btnOptions.Name           = "btnOptions";
     this.btnOptions.Size           = new System.Drawing.Size(87, 23);
     this.btnOptions.TabIndex       = 3;
     this.btnOptions.Text           = "&Link to";
     this.btnOptions.TextAlign      = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnOptionsToolTip.SetToolTip(this.btnOptions, "Browse for link");
     this.btnOptions.Click += new System.EventHandler(this.btnOptions_Click);
     //
     // btnAdvanced
     //
     this.btnAdvanced.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAdvanced.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdvanced.Location  = new System.Drawing.Point(331, 159);
     this.btnAdvanced.Name      = "btnAdvanced";
     this.btnAdvanced.Size      = new System.Drawing.Size(114, 23);
     this.btnAdvanced.TabIndex  = 15;
     this.btnAdvanced.Text      = "&Advanced »";
     this.btnAdvanced.Click    += new System.EventHandler(this.btnAdvanced_Click);
     //
     // btnRemove
     //
     this.btnRemove.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnRemove.DialogResult = System.Windows.Forms.DialogResult.No;
     this.btnRemove.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnRemove.Location     = new System.Drawing.Point(210, 159);
     this.btnRemove.Name         = "btnRemove";
     this.btnRemove.Size         = new System.Drawing.Size(114, 23);
     this.btnRemove.TabIndex     = 14;
     this.btnRemove.Text         = "&Remove Link";
     //
     // ckBoxGlossary
     //
     this.ckBoxGlossary.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.ckBoxGlossary.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.ckBoxGlossary.Location  = new System.Drawing.Point(10, 129);
     this.ckBoxGlossary.Name      = "ckBoxGlossary";
     this.ckBoxGlossary.Size      = new System.Drawing.Size(430, 22);
     this.ckBoxGlossary.TabIndex  = 7;
     this.ckBoxGlossary.Text      = " ";
     //
     // HyperlinkForm
     //
     this.AcceptButton = this.buttonInsert;
     this.CancelButton = this.buttonCancel;
     this.ClientSize   = new System.Drawing.Size(452, 300);
     this.Controls.Add(this.ckBoxGlossary);
     this.Controls.Add(this.btnRemove);
     this.Controls.Add(this.btnAdvanced);
     this.Controls.Add(this.bevel);
     this.Controls.Add(this.btnOptions);
     this.Controls.Add(this.ckboxNewWindow);
     this.Controls.Add(this.labelLinkText);
     this.Controls.Add(this.textBoxLinkText);
     this.Controls.Add(this.textBoxAddress);
     this.Controls.Add(this.textBoxTitle);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.labelTitle);
     this.Controls.Add(this.labelRel);
     this.Controls.Add(this.comboBoxRel);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonInsert);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "HyperlinkForm";
     this.Text        = "Insert Hyperlink";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnOK             = new System.Windows.Forms.Button();
     this.btnCancel         = new System.Windows.Forms.Button();
     this.label1            = new System.Windows.Forms.Label();
     this.txtText           = new System.Windows.Forms.TextBox();
     this.label2            = new System.Windows.Forms.Label();
     this.txtURL            = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.txtTitle          = new System.Windows.Forms.TextBox();
     this.checkBoxNewWindow = new System.Windows.Forms.CheckBox();
     this.buttonAdvanced    = new System.Windows.Forms.Button();
     this.groupBoxSeparator = new OpenLiveWriter.Controls.GroupLabelControl();
     this.comboBoxRel       = new OpenLiveWriter.Controls.ComboBoxRel();
     this.labelRel          = new System.Windows.Forms.Label();
     this.panelAdvanced     = new System.Windows.Forms.Panel();
     this.panelAdvanced.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location  = new System.Drawing.Point(306, 10);
     this.btnOK.Name      = "btnOK";
     this.btnOK.Size      = new System.Drawing.Size(73, 23);
     this.btnOK.TabIndex  = 18;
     this.btnOK.Text      = "OK";
     this.btnOK.Click    += new System.EventHandler(this.btnOK_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnCancel.Location     = new System.Drawing.Point(306, 37);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(73, 23);
     this.btnCancel.TabIndex     = 19;
     this.btnCancel.Text         = "Cancel";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(10, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(32, 15);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Te&xt:";
     //
     // txtText
     //
     this.txtText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.txtText.Location = new System.Drawing.Point(10, 28);
     this.txtText.Name     = "txtText";
     this.txtText.Size     = new System.Drawing.Size(286, 23);
     this.txtText.TabIndex = 2;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(10, 57);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(31, 15);
     this.label2.TabIndex = 3;
     this.label2.Text     = "&URL:";
     //
     // txtURL
     //
     this.txtURL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.txtURL.Location = new System.Drawing.Point(10, 73);
     this.txtURL.Name     = "txtURL";
     this.txtURL.Size     = new System.Drawing.Size(286, 23);
     this.txtURL.TabIndex = 4;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(0, 16);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(88, 15);
     this.label3.TabIndex = 25;
     this.label3.Text     = "&Title (optional):";
     //
     // txtTitle
     //
     this.txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTitle.Location = new System.Drawing.Point(0, 33);
     this.txtTitle.Name     = "txtTitle";
     this.txtTitle.Size     = new System.Drawing.Size(286, 23);
     this.txtTitle.TabIndex = 30;
     //
     // checkBoxNewWindow
     //
     this.checkBoxNewWindow.AutoSize = true;
     this.checkBoxNewWindow.Location = new System.Drawing.Point(10, 105);
     this.checkBoxNewWindow.Name     = "checkBoxNewWindow";
     this.checkBoxNewWindow.Size     = new System.Drawing.Size(160, 19);
     this.checkBoxNewWindow.TabIndex = 10;
     this.checkBoxNewWindow.Text     = "Open link in new window";
     this.checkBoxNewWindow.UseVisualStyleBackColor = true;
     //
     // buttonAdvanced
     //
     this.buttonAdvanced.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonAdvanced.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.buttonAdvanced.Location  = new System.Drawing.Point(306, 129);
     this.buttonAdvanced.Name      = "buttonAdvanced";
     this.buttonAdvanced.Size      = new System.Drawing.Size(73, 23);
     this.buttonAdvanced.TabIndex  = 20;
     this.buttonAdvanced.Text      = "Advanced";
     this.buttonAdvanced.UseVisualStyleBackColor = true;
     this.buttonAdvanced.Click += new System.EventHandler(this.buttonAdvanced_Click);
     //
     // groupBoxSeparator
     //
     this.groupBoxSeparator.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBoxSeparator.Location  = new System.Drawing.Point(0, 0);
     this.groupBoxSeparator.MultiLine = false;
     this.groupBoxSeparator.Name      = "groupBoxSeparator";
     this.groupBoxSeparator.Size      = new System.Drawing.Size(371, 10);
     this.groupBoxSeparator.TabIndex  = 11;
     //
     // comboBoxRel
     //
     this.comboBoxRel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxRel.Location = new System.Drawing.Point(0, 84);
     this.comboBoxRel.Name     = "comboBoxRel";
     this.comboBoxRel.Rel      = "";
     this.comboBoxRel.Size     = new System.Drawing.Size(286, 23);
     this.comboBoxRel.TabIndex = 40;
     //
     // labelRel
     //
     this.labelRel.AutoSize = true;
     this.labelRel.Location = new System.Drawing.Point(0, 67);
     this.labelRel.Name     = "labelRel";
     this.labelRel.Size     = new System.Drawing.Size(81, 15);
     this.labelRel.TabIndex = 35;
     this.labelRel.Text     = "&Rel (optional):";
     //
     // panelAdvanced
     //
     this.panelAdvanced.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.panelAdvanced.Controls.Add(this.comboBoxRel);
     this.panelAdvanced.Controls.Add(this.txtTitle);
     this.panelAdvanced.Controls.Add(this.labelRel);
     this.panelAdvanced.Controls.Add(this.label3);
     this.panelAdvanced.Controls.Add(this.groupBoxSeparator);
     this.panelAdvanced.Location = new System.Drawing.Point(10, 154);
     this.panelAdvanced.Name     = "panelAdvanced";
     this.panelAdvanced.Size     = new System.Drawing.Size(371, 108);
     this.panelAdvanced.TabIndex = 15;
     //
     // AddLinkDialog
     //
     this.AcceptButton = this.btnOK;
     this.CancelButton = this.btnCancel;
     this.ClientSize   = new System.Drawing.Size(388, 272);
     this.Controls.Add(this.buttonAdvanced);
     this.Controls.Add(this.checkBoxNewWindow);
     this.Controls.Add(this.txtURL);
     this.Controls.Add(this.txtText);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.panelAdvanced);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "AddLinkDialog";
     this.Text        = "Add Link to Glossary";
     this.panelAdvanced.ResumeLayout(false);
     this.panelAdvanced.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }