From 36b5915ed939ec639231ad28dd2ed03f455c5c3a Mon Sep 17 00:00:00 2001 From: Roman Akhmedianov <39262880+oerodger@users.noreply.github.com> Date: Thu, 20 May 2021 10:48:04 +0400 Subject: [PATCH 1/5] Bugfix/contms-97 (#33) CONTMS-97 TMS: text overlapping after Windows Scale is ON --- .../WinForms/IntentoFormAdvanced.Designer.cs | 848 +++++++---- .../WinForms/IntentoFormAdvanced.resx | 250 ++-- .../IntentoFormIgnoreError.Designer.cs | 164 +- .../WinForms/IntentoFormIgnoreError.resx | 241 +-- .../IntentoFormOptionsAPI.Designer.cs | 241 +-- .../WinForms/IntentoFormOptionsAPI.resx | 244 +-- .../WinForms/IntentoFormOptionsMT.Designer.cs | 1314 ++++++++++------- .../WinForms/IntentoFormOptionsMT.cs | 37 +- .../WinForms/IntentoFormOptionsMT.resx | 276 ++-- .../IntentoFormOptonsMain.Designer.cs | 825 ++++++----- .../WinForms/IntentoFormOptonsMain.cs | 3 +- .../WinForms/IntentoFormOptonsMain.resx | 238 +-- .../IntentoFormProviderAuthWizard.Designer.cs | 206 +-- .../IntentoFormProviderAuthWizard.resx | 238 +-- 14 files changed, 2853 insertions(+), 2272 deletions(-) diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.Designer.cs index 43a0efe..579b370 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.Designer.cs @@ -28,330 +28,519 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.groupBoxProxy = new System.Windows.Forms.GroupBox(); - this.checkBoxAuth = new System.Windows.Forms.CheckBox(); - this.groupBoxAuth = new System.Windows.Forms.GroupBox(); - this.textBoxPassword = new System.Windows.Forms.TextBox(); - this.labelPassword = new System.Windows.Forms.Label(); - this.textBoxUserName = new System.Windows.Forms.TextBox(); - this.labelUserName = new System.Windows.Forms.Label(); - this.textBoxPort = new System.Windows.Forms.TextBox(); - this.labelPort = new System.Windows.Forms.Label(); - this.textBoxAddress = new System.Windows.Forms.TextBox(); - this.labelAddress = new System.Windows.Forms.Label(); - this.checkBoxProxy = new System.Windows.Forms.CheckBox(); - this.checkBoxSaveApiKeyInRegistry = new System.Windows.Forms.CheckBox(); - this.checkBoxTrace = new System.Windows.Forms.CheckBox(); - this.buttonCancel = new System.Windows.Forms.Button(); - this.buttonSave = new System.Windows.Forms.Button(); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); - this.textBoxCustomSettingsName = new System.Windows.Forms.TextBox(); - this.labelCustomSettingsName = new System.Windows.Forms.Label(); - this.checkBoxCustomTagParser = new System.Windows.Forms.CheckBox(); - this.checkBoxCutTags = new System.Windows.Forms.CheckBox(); - this.labelError = new System.Windows.Forms.Label(); - this.checkBoxSaveLocally = new System.Windows.Forms.CheckBox(); - this.groupBoxProxy.SuspendLayout(); - this.groupBoxAuth.SuspendLayout(); - this.statusStrip1.SuspendLayout(); - this.SuspendLayout(); - // - // groupBoxProxy - // - this.groupBoxProxy.Controls.Add(this.checkBoxAuth); - this.groupBoxProxy.Controls.Add(this.groupBoxAuth); - this.groupBoxProxy.Controls.Add(this.textBoxPort); - this.groupBoxProxy.Controls.Add(this.labelPort); - this.groupBoxProxy.Controls.Add(this.textBoxAddress); - this.groupBoxProxy.Controls.Add(this.labelAddress); - this.groupBoxProxy.Enabled = false; - this.groupBoxProxy.Location = new System.Drawing.Point(16, 69); - this.groupBoxProxy.Name = "groupBoxProxy"; - this.groupBoxProxy.Size = new System.Drawing.Size(449, 189); - this.groupBoxProxy.TabIndex = 12; - this.groupBoxProxy.TabStop = false; - // - // checkBoxAuth - // - this.checkBoxAuth.AutoSize = true; - this.checkBoxAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxAuth.Location = new System.Drawing.Point(16, 52); - this.checkBoxAuth.Name = "checkBoxAuth"; - this.checkBoxAuth.Size = new System.Drawing.Size(141, 17); - this.checkBoxAuth.TabIndex = 17; - this.checkBoxAuth.Text = "Authorization required"; - this.checkBoxAuth.UseVisualStyleBackColor = true; - this.checkBoxAuth.CheckedChanged += new System.EventHandler(this.checkBoxAuth_CheckedChanged); - // - // groupBoxAuth - // - this.groupBoxAuth.Controls.Add(this.textBoxPassword); - this.groupBoxAuth.Controls.Add(this.labelPassword); - this.groupBoxAuth.Controls.Add(this.textBoxUserName); - this.groupBoxAuth.Controls.Add(this.labelUserName); - this.groupBoxAuth.Enabled = false; - this.groupBoxAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.groupBoxAuth.Location = new System.Drawing.Point(16, 67); - this.groupBoxAuth.Name = "groupBoxAuth"; - this.groupBoxAuth.Size = new System.Drawing.Size(416, 100); - this.groupBoxAuth.TabIndex = 16; - this.groupBoxAuth.TabStop = false; - // - // textBoxPassword - // - this.textBoxPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxPassword.Location = new System.Drawing.Point(78, 62); - this.textBoxPassword.Name = "textBoxPassword"; - this.textBoxPassword.Size = new System.Drawing.Size(321, 22); - this.textBoxPassword.TabIndex = 7; - this.textBoxPassword.TextChanged += new System.EventHandler(this.textBoxAuth_TextChanged); - // - // labelPassword - // - this.labelPassword.AutoSize = true; - this.labelPassword.Location = new System.Drawing.Point(11, 65); - this.labelPassword.Name = "labelPassword"; - this.labelPassword.Size = new System.Drawing.Size(59, 13); - this.labelPassword.TabIndex = 6; - this.labelPassword.Text = "Password:"; - // - // textBoxUserName - // - this.textBoxUserName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxUserName.Location = new System.Drawing.Point(78, 23); - this.textBoxUserName.Name = "textBoxUserName"; - this.textBoxUserName.Size = new System.Drawing.Size(321, 22); - this.textBoxUserName.TabIndex = 5; - this.textBoxUserName.TextChanged += new System.EventHandler(this.textBoxAuth_TextChanged); - // - // labelUserName - // - this.labelUserName.AutoSize = true; - this.labelUserName.Location = new System.Drawing.Point(11, 26); - this.labelUserName.Name = "labelUserName"; - this.labelUserName.Size = new System.Drawing.Size(64, 13); - this.labelUserName.TabIndex = 4; - this.labelUserName.Text = "User name:"; - // - // textBoxPort - // - this.textBoxPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxPort.Location = new System.Drawing.Point(383, 25); - this.textBoxPort.Name = "textBoxPort"; - this.textBoxPort.Size = new System.Drawing.Size(48, 22); - this.textBoxPort.TabIndex = 15; - this.textBoxPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxPort_KeyPress); - // - // labelPort - // - this.labelPort.AutoSize = true; - this.labelPort.Location = new System.Drawing.Point(353, 28); - this.labelPort.Name = "labelPort"; - this.labelPort.Size = new System.Drawing.Size(31, 13); - this.labelPort.TabIndex = 14; - this.labelPort.Text = "Port:"; - // - // textBoxAddress - // - this.textBoxAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxAddress.Location = new System.Drawing.Point(191, 25); - this.textBoxAddress.Name = "textBoxAddress"; - this.textBoxAddress.Size = new System.Drawing.Size(160, 22); - this.textBoxAddress.TabIndex = 13; - // - // labelAddress - // - this.labelAddress.AutoSize = true; - this.labelAddress.Location = new System.Drawing.Point(14, 28); - this.labelAddress.Name = "labelAddress"; - this.labelAddress.Size = new System.Drawing.Size(180, 13); - this.labelAddress.TabIndex = 12; - this.labelAddress.Text = "IP address or host name: http(s)://"; - // - // checkBoxProxy - // - this.checkBoxProxy.AutoSize = true; - this.checkBoxProxy.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxProxy.Location = new System.Drawing.Point(16, 49); - this.checkBoxProxy.Name = "checkBoxProxy"; - this.checkBoxProxy.Size = new System.Drawing.Size(98, 17); - this.checkBoxProxy.TabIndex = 13; - this.checkBoxProxy.Text = "checkBoxProxy"; - this.checkBoxProxy.UseVisualStyleBackColor = true; - this.checkBoxProxy.CheckedChanged += new System.EventHandler(this.checkBoxProxy_CheckedChanged); - // - // checkBoxSaveApiKeyInRegistry - // - this.checkBoxSaveApiKeyInRegistry.AutoSize = true; - this.checkBoxSaveApiKeyInRegistry.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxSaveApiKeyInRegistry.Location = new System.Drawing.Point(240, 373); - this.checkBoxSaveApiKeyInRegistry.Name = "checkBoxSaveApiKeyInRegistry"; - this.checkBoxSaveApiKeyInRegistry.Size = new System.Drawing.Size(179, 17); - this.checkBoxSaveApiKeyInRegistry.TabIndex = 15; - this.checkBoxSaveApiKeyInRegistry.Text = "checkBoxSaveApiKeyInRegistry"; - this.checkBoxSaveApiKeyInRegistry.UseVisualStyleBackColor = true; - this.checkBoxSaveApiKeyInRegistry.Visible = false; - // - // checkBoxTrace - // - this.checkBoxTrace.AutoSize = true; - this.checkBoxTrace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxTrace.Location = new System.Drawing.Point(16, 15); - this.checkBoxTrace.Name = "checkBoxTrace"; - this.checkBoxTrace.Size = new System.Drawing.Size(97, 17); - this.checkBoxTrace.TabIndex = 14; - this.checkBoxTrace.Text = "checkBoxTrace"; - this.checkBoxTrace.UseVisualStyleBackColor = true; - // - // buttonCancel - // - this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(384, 352); - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(81, 22); - this.buttonCancel.TabIndex = 33; - this.buttonCancel.Text = "1Cancel"; - this.buttonCancel.UseVisualStyleBackColor = true; - // - // buttonSave - // - this.buttonSave.Location = new System.Drawing.Point(293, 352); - this.buttonSave.Name = "buttonSave"; - this.buttonSave.Size = new System.Drawing.Size(81, 22); - this.buttonSave.TabIndex = 32; - this.buttonSave.Text = "1Save"; - this.buttonSave.UseVisualStyleBackColor = true; - this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); - // - // statusStrip1 - // - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripStatusLabel1}); - this.statusStrip1.Location = new System.Drawing.Point(0, 388); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.statusStrip1.Size = new System.Drawing.Size(481, 22); - this.statusStrip1.SizingGrip = false; - this.statusStrip1.TabIndex = 35; - this.statusStrip1.Text = "statusStrip1"; - // - // toolStripStatusLabel1 - // - this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; - this.toolStripStatusLabel1.Size = new System.Drawing.Size(40, 17); - this.toolStripStatusLabel1.Text = "0.0.0.0"; - this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // textBoxCustomSettingsName - // - this.textBoxCustomSettingsName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxCustomSettingsName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxCustomSettingsName.Location = new System.Drawing.Point(16, 313); - this.textBoxCustomSettingsName.Name = "textBoxCustomSettingsName"; - this.textBoxCustomSettingsName.Size = new System.Drawing.Size(449, 22); - this.textBoxCustomSettingsName.TabIndex = 36; - // - // labelCustomSettingsName - // - this.labelCustomSettingsName.AutoSize = true; - this.labelCustomSettingsName.Location = new System.Drawing.Point(13, 293); - this.labelCustomSettingsName.Name = "labelCustomSettingsName"; - this.labelCustomSettingsName.Size = new System.Drawing.Size(349, 13); - this.labelCustomSettingsName.TabIndex = 37; - this.labelCustomSettingsName.Text = "Custom name for plugin settings (leave blank to use default name)"; - // - // checkBoxCustomTagParser - // - this.checkBoxCustomTagParser.AutoSize = true; - this.checkBoxCustomTagParser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxCustomTagParser.Location = new System.Drawing.Point(337, 293); - this.checkBoxCustomTagParser.Name = "checkBoxCustomTagParser"; - this.checkBoxCustomTagParser.Size = new System.Drawing.Size(111, 17); - this.checkBoxCustomTagParser.TabIndex = 38; - this.checkBoxCustomTagParser.Text = "CustomTagParser"; - this.checkBoxCustomTagParser.UseVisualStyleBackColor = true; - this.checkBoxCustomTagParser.Visible = false; - // - // checkBoxCutTags - // - this.checkBoxCutTags.AutoSize = true; - this.checkBoxCutTags.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxCutTags.Location = new System.Drawing.Point(16, 270); - this.checkBoxCutTags.Name = "checkBoxCutTags"; - this.checkBoxCutTags.Size = new System.Drawing.Size(112, 17); - this.checkBoxCutTags.TabIndex = 39; - this.checkBoxCutTags.Text = "checkBoxCutTags"; - this.checkBoxCutTags.UseVisualStyleBackColor = true; - this.checkBoxCutTags.Visible = false; - // - // labelError - // - this.labelError.AutoSize = true; - this.labelError.ForeColor = System.Drawing.Color.Red; - this.labelError.Location = new System.Drawing.Point(13, 363); - this.labelError.Name = "labelError"; - this.labelError.Size = new System.Drawing.Size(123, 13); - this.labelError.TabIndex = 34; - this.labelError.Text = "Proxy connection error"; - this.labelError.Visible = false; - // - // checkBoxSaveLocally - // - this.checkBoxSaveLocally.AutoSize = true; - this.checkBoxSaveLocally.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxSaveLocally.Location = new System.Drawing.Point(227, 15); - this.checkBoxSaveLocally.Name = "checkBoxSaveLocally"; - this.checkBoxSaveLocally.Size = new System.Drawing.Size(128, 17); - this.checkBoxSaveLocally.TabIndex = 40; - this.checkBoxSaveLocally.Text = "checkBoxSaveLocally"; - this.checkBoxSaveLocally.UseVisualStyleBackColor = true; - this.checkBoxSaveLocally.Visible = false; - // - // IntentoFormAdvanced - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.AutoSize = true; - this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(481, 410); - this.Controls.Add(this.checkBoxSaveLocally); - this.Controls.Add(this.checkBoxCutTags); - this.Controls.Add(this.checkBoxCustomTagParser); - this.Controls.Add(this.labelCustomSettingsName); - this.Controls.Add(this.textBoxCustomSettingsName); - this.Controls.Add(this.statusStrip1); - this.Controls.Add(this.labelError); - this.Controls.Add(this.buttonCancel); - this.Controls.Add(this.buttonSave); - this.Controls.Add(this.checkBoxSaveApiKeyInRegistry); - this.Controls.Add(this.checkBoxTrace); - this.Controls.Add(this.checkBoxProxy); - this.Controls.Add(this.groupBoxProxy); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "IntentoFormAdvanced"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "IntentoFormAdvanced"; - this.Shown += new System.EventHandler(this.IntentoFormAdvanced_Shown); - this.groupBoxProxy.ResumeLayout(false); - this.groupBoxProxy.PerformLayout(); - this.groupBoxAuth.ResumeLayout(false); - this.groupBoxAuth.PerformLayout(); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - + this.groupBoxProxy = new System.Windows.Forms.GroupBox(); + this.groupBoxAuth = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); + this.labelUserName = new System.Windows.Forms.Label(); + this.textBoxPassword = new System.Windows.Forms.TextBox(); + this.labelPassword = new System.Windows.Forms.Label(); + this.textBoxUserName = new System.Windows.Forms.TextBox(); + this.labelError = new System.Windows.Forms.Label(); + this.panel2 = new System.Windows.Forms.Panel(); + this.checkBoxAuth = new System.Windows.Forms.CheckBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.labelAddress = new System.Windows.Forms.Label(); + this.textBoxAddress = new System.Windows.Forms.TextBox(); + this.labelPort = new System.Windows.Forms.Label(); + this.textBoxPort = new System.Windows.Forms.TextBox(); + this.checkBoxProxy = new System.Windows.Forms.CheckBox(); + this.checkBoxSaveApiKeyInRegistry = new System.Windows.Forms.CheckBox(); + this.checkBoxTrace = new System.Windows.Forms.CheckBox(); + this.buttonCancel = new System.Windows.Forms.Button(); + this.buttonSave = new System.Windows.Forms.Button(); + this.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.textBoxCustomSettingsName = new System.Windows.Forms.TextBox(); + this.labelCustomSettingsName = new System.Windows.Forms.Label(); + this.checkBoxCustomTagParser = new System.Windows.Forms.CheckBox(); + this.checkBoxCutTags = new System.Windows.Forms.CheckBox(); + this.checkBoxSaveLocally = new System.Windows.Forms.CheckBox(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.groupBoxProxy.SuspendLayout(); + this.groupBoxAuth.SuspendLayout(); + this.tableLayoutPanel4.SuspendLayout(); + this.panel2.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.statusStrip1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.panel1.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.tableLayoutPanel5.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.SuspendLayout(); + // + // groupBoxProxy + // + this.groupBoxProxy.Controls.Add(this.groupBoxAuth); + this.groupBoxProxy.Controls.Add(this.panel2); + this.groupBoxProxy.Controls.Add(this.tableLayoutPanel2); + this.groupBoxProxy.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxProxy.Enabled = false; + this.groupBoxProxy.Location = new System.Drawing.Point(6, 101); + this.groupBoxProxy.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.groupBoxProxy.Name = "groupBoxProxy"; + this.groupBoxProxy.Padding = new System.Windows.Forms.Padding(16, 16, 16, 16); + this.groupBoxProxy.Size = new System.Drawing.Size(1213, 382); + this.groupBoxProxy.TabIndex = 12; + this.groupBoxProxy.TabStop = false; + // + // groupBoxAuth + // + this.groupBoxAuth.Controls.Add(this.tableLayoutPanel4); + this.groupBoxAuth.Controls.Add(this.labelError); + this.groupBoxAuth.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBoxAuth.Enabled = false; + this.groupBoxAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.groupBoxAuth.Location = new System.Drawing.Point(16, 158); + this.groupBoxAuth.Margin = new System.Windows.Forms.Padding(0); + this.groupBoxAuth.Name = "groupBoxAuth"; + this.groupBoxAuth.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.groupBoxAuth.Size = new System.Drawing.Size(1181, 208); + this.groupBoxAuth.TabIndex = 16; + this.groupBoxAuth.TabStop = false; + // + // tableLayoutPanel4 + // + this.tableLayoutPanel4.ColumnCount = 2; + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 85F)); + this.tableLayoutPanel4.Controls.Add(this.labelUserName, 0, 0); + this.tableLayoutPanel4.Controls.Add(this.textBoxPassword, 1, 1); + this.tableLayoutPanel4.Controls.Add(this.labelPassword, 0, 1); + this.tableLayoutPanel4.Controls.Add(this.textBoxUserName, 1, 0); + this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel4.Location = new System.Drawing.Point(6, 36); + this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel4.Name = "tableLayoutPanel4"; + this.tableLayoutPanel4.RowCount = 2; + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel4.Size = new System.Drawing.Size(1169, 107); + this.tableLayoutPanel4.TabIndex = 8; + // + // labelUserName + // + this.labelUserName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelUserName.Location = new System.Drawing.Point(6, 0); + this.labelUserName.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelUserName.Name = "labelUserName"; + this.labelUserName.Size = new System.Drawing.Size(163, 54); + this.labelUserName.TabIndex = 4; + this.labelUserName.Text = "User name:"; + // + // textBoxPassword + // + this.textBoxPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxPassword.Dock = System.Windows.Forms.DockStyle.Top; + this.textBoxPassword.Location = new System.Drawing.Point(181, 60); + this.textBoxPassword.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.textBoxPassword.Name = "textBoxPassword"; + this.textBoxPassword.Size = new System.Drawing.Size(982, 37); + this.textBoxPassword.TabIndex = 7; + this.textBoxPassword.TextChanged += new System.EventHandler(this.textBoxAuth_TextChanged); + // + // labelPassword + // + this.labelPassword.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelPassword.Location = new System.Drawing.Point(6, 54); + this.labelPassword.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelPassword.Name = "labelPassword"; + this.labelPassword.Size = new System.Drawing.Size(163, 83); + this.labelPassword.TabIndex = 6; + this.labelPassword.Text = "Password:"; + // + // textBoxUserName + // + this.textBoxUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxUserName.Dock = System.Windows.Forms.DockStyle.Top; + this.textBoxUserName.Location = new System.Drawing.Point(181, 6); + this.textBoxUserName.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.textBoxUserName.Name = "textBoxUserName"; + this.textBoxUserName.Size = new System.Drawing.Size(982, 37); + this.textBoxUserName.TabIndex = 5; + this.textBoxUserName.TextChanged += new System.EventHandler(this.textBoxAuth_TextChanged); + // + // labelError + // + this.labelError.Dock = System.Windows.Forms.DockStyle.Bottom; + this.labelError.ForeColor = System.Drawing.Color.Red; + this.labelError.Location = new System.Drawing.Point(6, 143); + this.labelError.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelError.Name = "labelError"; + this.labelError.Size = new System.Drawing.Size(1169, 59); + this.labelError.TabIndex = 34; + this.labelError.Text = "Proxy connection error"; + this.labelError.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.labelError.Visible = false; + // + // panel2 + // + this.panel2.Controls.Add(this.checkBoxAuth); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(16, 102); + this.panel2.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.panel2.Name = "panel2"; + this.panel2.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.panel2.Size = new System.Drawing.Size(1181, 56); + this.panel2.TabIndex = 19; + // + // checkBoxAuth + // + this.checkBoxAuth.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxAuth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxAuth.Location = new System.Drawing.Point(6, 6); + this.checkBoxAuth.Margin = new System.Windows.Forms.Padding(0); + this.checkBoxAuth.Name = "checkBoxAuth"; + this.checkBoxAuth.Size = new System.Drawing.Size(1169, 44); + this.checkBoxAuth.TabIndex = 17; + this.checkBoxAuth.Text = "Authorization required"; + this.checkBoxAuth.UseVisualStyleBackColor = true; + this.checkBoxAuth.CheckedChanged += new System.EventHandler(this.checkBoxAuth_CheckedChanged); + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 4; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 34F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 6F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel2.Controls.Add(this.labelAddress, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.textBoxAddress, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.labelPort, 2, 0); + this.tableLayoutPanel2.Controls.Add(this.textBoxPort, 3, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel2.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1181, 56); + this.tableLayoutPanel2.TabIndex = 18; + // + // labelAddress + // + this.labelAddress.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelAddress.Location = new System.Drawing.Point(0, 0); + this.labelAddress.Margin = new System.Windows.Forms.Padding(0); + this.labelAddress.Name = "labelAddress"; + this.labelAddress.Size = new System.Drawing.Size(401, 56); + this.labelAddress.TabIndex = 12; + this.labelAddress.Text = "IP address or host name: http(s)://"; + this.labelAddress.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // textBoxAddress + // + this.textBoxAddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxAddress.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxAddress.Location = new System.Drawing.Point(407, 10); + this.textBoxAddress.Margin = new System.Windows.Forms.Padding(6, 10, 6, 6); + this.textBoxAddress.Name = "textBoxAddress"; + this.textBoxAddress.Size = new System.Drawing.Size(460, 37); + this.textBoxAddress.TabIndex = 13; + // + // labelPort + // + this.labelPort.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelPort.Location = new System.Drawing.Point(879, 0); + this.labelPort.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelPort.Name = "labelPort"; + this.labelPort.Size = new System.Drawing.Size(58, 56); + this.labelPort.TabIndex = 14; + this.labelPort.Text = "Port:"; + this.labelPort.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // textBoxPort + // + this.textBoxPort.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxPort.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxPort.Location = new System.Drawing.Point(949, 10); + this.textBoxPort.Margin = new System.Windows.Forms.Padding(6, 10, 6, 6); + this.textBoxPort.Name = "textBoxPort"; + this.textBoxPort.Size = new System.Drawing.Size(226, 37); + this.textBoxPort.TabIndex = 15; + this.textBoxPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBoxPort_KeyPress); + // + // checkBoxProxy + // + this.tableLayoutPanel1.SetColumnSpan(this.checkBoxProxy, 2); + this.checkBoxProxy.Dock = System.Windows.Forms.DockStyle.Top; + this.checkBoxProxy.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxProxy.Location = new System.Drawing.Point(6, 52); + this.checkBoxProxy.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxProxy.Name = "checkBoxProxy"; + this.checkBoxProxy.Size = new System.Drawing.Size(1201, 37); + this.checkBoxProxy.TabIndex = 13; + this.checkBoxProxy.Text = "checkBoxProxy"; + this.checkBoxProxy.UseVisualStyleBackColor = true; + this.checkBoxProxy.CheckedChanged += new System.EventHandler(this.checkBoxProxy_CheckedChanged); + // + // checkBoxSaveApiKeyInRegistry + // + this.checkBoxSaveApiKeyInRegistry.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxSaveApiKeyInRegistry.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxSaveApiKeyInRegistry.Location = new System.Drawing.Point(6, 151); + this.checkBoxSaveApiKeyInRegistry.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxSaveApiKeyInRegistry.Name = "checkBoxSaveApiKeyInRegistry"; + this.checkBoxSaveApiKeyInRegistry.Size = new System.Drawing.Size(1169, 38); + this.checkBoxSaveApiKeyInRegistry.TabIndex = 15; + this.checkBoxSaveApiKeyInRegistry.Text = "checkBoxSaveApiKeyInRegistry"; + this.checkBoxSaveApiKeyInRegistry.UseVisualStyleBackColor = true; + this.checkBoxSaveApiKeyInRegistry.Visible = false; + // + // checkBoxTrace + // + this.checkBoxTrace.Dock = System.Windows.Forms.DockStyle.Top; + this.checkBoxTrace.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxTrace.Location = new System.Drawing.Point(6, 6); + this.checkBoxTrace.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxTrace.Name = "checkBoxTrace"; + this.checkBoxTrace.Size = new System.Drawing.Size(594, 34); + this.checkBoxTrace.TabIndex = 14; + this.checkBoxTrace.Text = "checkBoxTrace"; + this.checkBoxTrace.UseVisualStyleBackColor = true; + // + // buttonCancel + // + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonCancel.Location = new System.Drawing.Point(1036, 6); + this.buttonCancel.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(171, 57); + this.buttonCancel.TabIndex = 33; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + // + // buttonSave + // + this.buttonSave.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonSave.Location = new System.Drawing.Point(855, 6); + this.buttonSave.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.buttonSave.Name = "buttonSave"; + this.buttonSave.Size = new System.Drawing.Size(169, 57); + this.buttonSave.TabIndex = 32; + this.buttonSave.Text = "Save"; + this.buttonSave.UseVisualStyleBackColor = true; + this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); + // + // statusStrip1 + // + this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1}); + this.statusStrip1.Location = new System.Drawing.Point(6, 1090); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Padding = new System.Windows.Forms.Padding(29, 0, 2, 0); + this.statusStrip1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.statusStrip1.Size = new System.Drawing.Size(1213, 42); + this.statusStrip1.SizingGrip = false; + this.statusStrip1.TabIndex = 35; + this.statusStrip1.Text = "statusStrip1"; + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(82, 32); + this.toolStripStatusLabel1.Text = "0.0.0.0"; + this.toolStripStatusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // textBoxCustomSettingsName + // + this.textBoxCustomSettingsName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxCustomSettingsName.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxCustomSettingsName.Location = new System.Drawing.Point(6, 102); + this.textBoxCustomSettingsName.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.textBoxCustomSettingsName.Name = "textBoxCustomSettingsName"; + this.textBoxCustomSettingsName.Size = new System.Drawing.Size(1169, 37); + this.textBoxCustomSettingsName.TabIndex = 36; + // + // labelCustomSettingsName + // + this.labelCustomSettingsName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCustomSettingsName.Location = new System.Drawing.Point(6, 48); + this.labelCustomSettingsName.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelCustomSettingsName.Name = "labelCustomSettingsName"; + this.labelCustomSettingsName.Size = new System.Drawing.Size(1169, 48); + this.labelCustomSettingsName.TabIndex = 37; + this.labelCustomSettingsName.Text = "Custom name for plugin settings (leave blank to use default name)"; + // + // checkBoxCustomTagParser + // + this.checkBoxCustomTagParser.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxCustomTagParser.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxCustomTagParser.Location = new System.Drawing.Point(22, 22); + this.checkBoxCustomTagParser.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxCustomTagParser.Name = "checkBoxCustomTagParser"; + this.checkBoxCustomTagParser.Size = new System.Drawing.Size(1169, 48); + this.checkBoxCustomTagParser.TabIndex = 38; + this.checkBoxCustomTagParser.Text = "CustomTagParser"; + this.checkBoxCustomTagParser.UseVisualStyleBackColor = true; + this.checkBoxCustomTagParser.Visible = false; + // + // checkBoxCutTags + // + this.checkBoxCutTags.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxCutTags.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxCutTags.Location = new System.Drawing.Point(6, 6); + this.checkBoxCutTags.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxCutTags.Name = "checkBoxCutTags"; + this.checkBoxCutTags.Size = new System.Drawing.Size(1169, 36); + this.checkBoxCutTags.TabIndex = 39; + this.checkBoxCutTags.Text = "checkBoxCutTags"; + this.checkBoxCutTags.UseVisualStyleBackColor = true; + this.checkBoxCutTags.Visible = false; + // + // checkBoxSaveLocally + // + this.checkBoxSaveLocally.Dock = System.Windows.Forms.DockStyle.Top; + this.checkBoxSaveLocally.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxSaveLocally.Location = new System.Drawing.Point(612, 6); + this.checkBoxSaveLocally.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxSaveLocally.Name = "checkBoxSaveLocally"; + this.checkBoxSaveLocally.Size = new System.Drawing.Size(595, 34); + this.checkBoxSaveLocally.TabIndex = 40; + this.checkBoxSaveLocally.Text = "checkBoxSaveLocally"; + this.checkBoxSaveLocally.UseVisualStyleBackColor = true; + this.checkBoxSaveLocally.Visible = false; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoSize = true; + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.checkBoxTrace, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.checkBoxSaveLocally, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.checkBoxProxy, 0, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 6); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1213, 95); + this.tableLayoutPanel1.TabIndex = 41; + // + // panel1 + // + this.panel1.Controls.Add(this.tableLayoutPanel3); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(6, 1021); + this.panel1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1213, 69); + this.panel1.TabIndex = 42; + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 3; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F)); + this.tableLayoutPanel3.Controls.Add(this.buttonSave, 1, 0); + this.tableLayoutPanel3.Controls.Add(this.buttonCancel, 2, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1213, 69); + this.tableLayoutPanel3.TabIndex = 0; + // + // tableLayoutPanel5 + // + this.tableLayoutPanel5.ColumnCount = 1; + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.Controls.Add(this.checkBoxCutTags, 0, 0); + this.tableLayoutPanel5.Controls.Add(this.labelCustomSettingsName, 0, 1); + this.tableLayoutPanel5.Controls.Add(this.textBoxCustomSettingsName, 0, 2); + this.tableLayoutPanel5.Controls.Add(this.checkBoxSaveApiKeyInRegistry, 0, 3); + this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel5.Location = new System.Drawing.Point(16, 16); + this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel5.Name = "tableLayoutPanel5"; + this.tableLayoutPanel5.RowCount = 4; + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel5.Size = new System.Drawing.Size(1181, 195); + this.tableLayoutPanel5.TabIndex = 43; + // + // panel3 + // + this.panel3.Controls.Add(this.checkBoxCustomTagParser); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Location = new System.Drawing.Point(6, 483); + this.panel3.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.panel3.Name = "panel3"; + this.panel3.Padding = new System.Windows.Forms.Padding(22, 22, 22, 0); + this.panel3.Size = new System.Drawing.Size(1213, 70); + this.panel3.TabIndex = 44; + // + // panel4 + // + this.panel4.Controls.Add(this.tableLayoutPanel5); + this.panel4.Dock = System.Windows.Forms.DockStyle.Top; + this.panel4.Location = new System.Drawing.Point(6, 553); + this.panel4.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.panel4.Name = "panel4"; + this.panel4.Padding = new System.Windows.Forms.Padding(16, 16, 16, 16); + this.panel4.Size = new System.Drawing.Size(1213, 227); + this.panel4.TabIndex = 45; + // + // IntentoFormAdvanced + // + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoSize = true; + this.CancelButton = this.buttonCancel; + this.ClientSize = new System.Drawing.Size(1225, 1138); + this.Controls.Add(this.panel4); + this.Controls.Add(this.panel3); + this.Controls.Add(this.panel1); + this.Controls.Add(this.groupBoxProxy); + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.statusStrip1); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; + this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "IntentoFormAdvanced"; + this.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "IntentoFormAdvanced"; + this.Shown += new System.EventHandler(this.IntentoFormAdvanced_Shown); + this.groupBoxProxy.ResumeLayout(false); + this.groupBoxAuth.ResumeLayout(false); + this.tableLayoutPanel4.ResumeLayout(false); + this.tableLayoutPanel4.PerformLayout(); + this.panel2.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.statusStrip1.ResumeLayout(false); + this.statusStrip1.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.tableLayoutPanel3.ResumeLayout(false); + this.tableLayoutPanel5.ResumeLayout(false); + this.tableLayoutPanel5.PerformLayout(); + this.panel3.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion @@ -380,5 +569,14 @@ private void InitializeComponent() public System.Windows.Forms.CheckBox checkBoxCutTags; private System.Windows.Forms.Label labelError; public System.Windows.Forms.CheckBox checkBoxSaveLocally; - } + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel4; + } } \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.resx index 1f83659..31cb8de 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormAdvanced.resx @@ -1,126 +1,126 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - - 92 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + 92 + \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.Designer.cs index 7974541..068999b 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.Designer.cs @@ -28,74 +28,99 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.buttonContinueEdit = new System.Windows.Forms.Button(); - this.buttonIgnoreAndSave = new System.Windows.Forms.Button(); - this.labelError = new System.Windows.Forms.Label(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.SuspendLayout(); - // - // buttonContinueEdit - // - this.buttonContinueEdit.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonContinueEdit.Location = new System.Drawing.Point(237, 66); - this.buttonContinueEdit.Name = "buttonContinueEdit"; - this.buttonContinueEdit.Size = new System.Drawing.Size(155, 22); - this.buttonContinueEdit.TabIndex = 33; - this.buttonContinueEdit.Text = "1Continue edit"; - this.buttonContinueEdit.UseVisualStyleBackColor = true; - // - // buttonIgnoreAndSave - // - this.buttonIgnoreAndSave.Location = new System.Drawing.Point(30, 66); - this.buttonIgnoreAndSave.Name = "buttonIgnoreAndSave"; - this.buttonIgnoreAndSave.Size = new System.Drawing.Size(188, 22); - this.buttonIgnoreAndSave.TabIndex = 32; - this.buttonIgnoreAndSave.Text = "1Ignore error and save"; - this.buttonIgnoreAndSave.UseVisualStyleBackColor = true; - // - // labelError - // - this.labelError.AutoSize = true; - this.labelError.ForeColor = System.Drawing.Color.Red; - this.labelError.Location = new System.Drawing.Point(12, 28); - this.labelError.Name = "labelError"; - this.labelError.Size = new System.Drawing.Size(39, 13); - this.labelError.TabIndex = 34; - this.labelError.Text = "EMPTY"; - this.labelError.Click += new System.EventHandler(this.labelError_Click); - // - // toolTip1 - // - this.toolTip1.Active = false; - this.toolTip1.AutomaticDelay = 300; - this.toolTip1.AutoPopDelay = 7000; - this.toolTip1.InitialDelay = 300; - this.toolTip1.ReshowDelay = 60; - // - // IntentoFormIgnoreError - // - this.AcceptButton = this.buttonIgnoreAndSave; - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.CancelButton = this.buttonContinueEdit; - this.ClientSize = new System.Drawing.Size(422, 107); - this.Controls.Add(this.labelError); - this.Controls.Add(this.buttonContinueEdit); - this.Controls.Add(this.buttonIgnoreAndSave); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "IntentoFormIgnoreError"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Test translation error"; - this.TopMost = true; - this.ResumeLayout(false); - this.PerformLayout(); - + this.components = new System.ComponentModel.Container(); + this.buttonContinueEdit = new System.Windows.Forms.Button(); + this.buttonIgnoreAndSave = new System.Windows.Forms.Button(); + this.labelError = new System.Windows.Forms.Label(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // buttonContinueEdit + // + this.buttonContinueEdit.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonContinueEdit.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonContinueEdit.Location = new System.Drawing.Point(6, 160); + this.buttonContinueEdit.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.buttonContinueEdit.Name = "buttonContinueEdit"; + this.buttonContinueEdit.Size = new System.Drawing.Size(378, 50); + this.buttonContinueEdit.TabIndex = 33; + this.buttonContinueEdit.Text = "Continue edit"; + this.buttonContinueEdit.UseVisualStyleBackColor = true; + // + // buttonIgnoreAndSave + // + this.buttonIgnoreAndSave.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonIgnoreAndSave.Location = new System.Drawing.Point(396, 160); + this.buttonIgnoreAndSave.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.buttonIgnoreAndSave.Name = "buttonIgnoreAndSave"; + this.buttonIgnoreAndSave.Size = new System.Drawing.Size(379, 50); + this.buttonIgnoreAndSave.TabIndex = 32; + this.buttonIgnoreAndSave.Text = "Ignore error and save"; + this.buttonIgnoreAndSave.UseVisualStyleBackColor = true; + // + // labelError + // + this.tableLayoutPanel1.SetColumnSpan(this.labelError, 2); + this.labelError.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelError.ForeColor = System.Drawing.Color.Red; + this.labelError.Location = new System.Drawing.Point(6, 0); + this.labelError.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelError.Name = "labelError"; + this.labelError.Size = new System.Drawing.Size(769, 154); + this.labelError.TabIndex = 34; + this.labelError.Text = "EMPTY"; + this.labelError.Click += new System.EventHandler(this.labelError_Click); + // + // toolTip1 + // + this.toolTip1.Active = false; + this.toolTip1.AutomaticDelay = 300; + this.toolTip1.AutoPopDelay = 7000; + this.toolTip1.InitialDelay = 300; + this.toolTip1.ReshowDelay = 60; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.buttonIgnoreAndSave, 1, 1); + this.tableLayoutPanel1.Controls.Add(this.labelError, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.buttonContinueEdit, 0, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(32, 32); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel1.Size = new System.Drawing.Size(781, 211); + this.tableLayoutPanel1.TabIndex = 35; + // + // IntentoFormIgnoreError + // + this.AcceptButton = this.buttonIgnoreAndSave; + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.CancelButton = this.buttonContinueEdit; + this.ClientSize = new System.Drawing.Size(845, 275); + this.Controls.Add(this.tableLayoutPanel1); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "IntentoFormIgnoreError"; + this.Padding = new System.Windows.Forms.Padding(32, 32, 32, 32); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Test translation error"; + this.TopMost = true; + this.tableLayoutPanel1.ResumeLayout(false); + this.ResumeLayout(false); + } #endregion @@ -104,5 +129,6 @@ private void InitializeComponent() public System.Windows.Forms.Button buttonIgnoreAndSave; public System.Windows.Forms.Label labelError; private System.Windows.Forms.ToolTip toolTip1; - } + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + } } \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.resx index 1af7de1..65a871b 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormIgnoreError.resx @@ -1,120 +1,123 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs index 45c1f08..82a7f63 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs @@ -28,106 +28,146 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.labelAPI = new System.Windows.Forms.Label(); - this.apiKey_tb = new System.Windows.Forms.TextBox(); - this.checkBoxShowHidden = new System.Windows.Forms.CheckBox(); - this.labelError = new System.Windows.Forms.Label(); - this.buttonSave = new System.Windows.Forms.Button(); - this.buttonCancel = new System.Windows.Forms.Button(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.SuspendLayout(); - // - // labelAPI - // - this.labelAPI.AutoSize = true; - this.labelAPI.Location = new System.Drawing.Point(12, 30); - this.labelAPI.Name = "labelAPI"; - this.labelAPI.Size = new System.Drawing.Size(87, 13); - this.labelAPI.TabIndex = 21; - this.labelAPI.Text = "Intento API Key:"; - // - // apiKey_tb - // - this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.apiKey_tb.Location = new System.Drawing.Point(102, 28); - this.apiKey_tb.Name = "apiKey_tb"; - this.apiKey_tb.Size = new System.Drawing.Size(326, 22); - this.apiKey_tb.TabIndex = 20; - this.apiKey_tb.UseSystemPasswordChar = true; - this.apiKey_tb.WordWrap = false; - // - // checkBoxShowHidden - // - this.checkBoxShowHidden.AutoSize = true; - this.checkBoxShowHidden.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxShowHidden.Location = new System.Drawing.Point(450, 30); - this.checkBoxShowHidden.Name = "checkBoxShowHidden"; - this.checkBoxShowHidden.Size = new System.Drawing.Size(64, 17); - this.checkBoxShowHidden.TabIndex = 22; - this.checkBoxShowHidden.Text = "Unmask"; - this.checkBoxShowHidden.UseVisualStyleBackColor = true; - this.checkBoxShowHidden.CheckedChanged += new System.EventHandler(this.checkBoxShowHidden_CheckedChanged); - // - // labelError - // - this.labelError.AutoSize = true; - this.labelError.Cursor = System.Windows.Forms.Cursors.Hand; - this.labelError.ForeColor = System.Drawing.Color.Red; - this.labelError.Location = new System.Drawing.Point(12, 78); - this.labelError.Name = "labelError"; - this.labelError.Size = new System.Drawing.Size(39, 13); - this.labelError.TabIndex = 23; - this.labelError.Text = "EMPTY"; - this.toolTip1.SetToolTip(this.labelError, "1Click to copy error to clipboard"); - this.labelError.Visible = false; - this.labelError.Click += new System.EventHandler(this.labelError_Click); - // - // buttonSave - // - this.buttonSave.Location = new System.Drawing.Point(307, 69); - this.buttonSave.Name = "buttonSave"; - this.buttonSave.Size = new System.Drawing.Size(114, 22); - this.buttonSave.TabIndex = 24; - this.buttonSave.Text = "Test and save"; - this.buttonSave.UseVisualStyleBackColor = true; - this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); - // - // buttonCancel - // - this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(427, 69); - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(81, 22); - this.buttonCancel.TabIndex = 25; - this.buttonCancel.Text = "Cancel"; - this.buttonCancel.UseVisualStyleBackColor = true; - this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); - // - // IntentoFormOptionsAPI - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(531, 111); - this.Controls.Add(this.buttonCancel); - this.Controls.Add(this.buttonSave); - this.Controls.Add(this.labelError); - this.Controls.Add(this.checkBoxShowHidden); - this.Controls.Add(this.labelAPI); - this.Controls.Add(this.apiKey_tb); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "IntentoFormOptionsAPI"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "ApiForm"; - this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.IntentoFormOptionsAPI_FormClosed); - this.Shown += new System.EventHandler(this.IntentoFormOptionsAPI_Shown); - this.ResumeLayout(false); - this.PerformLayout(); - + this.components = new System.ComponentModel.Container(); + this.labelAPI = new System.Windows.Forms.Label(); + this.apiKey_tb = new System.Windows.Forms.TextBox(); + this.checkBoxShowHidden = new System.Windows.Forms.CheckBox(); + this.labelError = new System.Windows.Forms.Label(); + this.buttonSave = new System.Windows.Forms.Button(); + this.buttonCancel = new System.Windows.Forms.Button(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // labelAPI + // + this.labelAPI.AutoSize = true; + this.labelAPI.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelAPI.Location = new System.Drawing.Point(6, 0); + this.labelAPI.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelAPI.Name = "labelAPI"; + this.labelAPI.Size = new System.Drawing.Size(170, 56); + this.labelAPI.TabIndex = 21; + this.labelAPI.Text = "Intento API Key:"; + this.labelAPI.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // apiKey_tb + // + this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tableLayoutPanel1.SetColumnSpan(this.apiKey_tb, 3); + this.apiKey_tb.Dock = System.Windows.Forms.DockStyle.Fill; + this.apiKey_tb.Location = new System.Drawing.Point(188, 6); + this.apiKey_tb.Margin = new System.Windows.Forms.Padding(6); + this.apiKey_tb.Name = "apiKey_tb"; + this.apiKey_tb.Size = new System.Drawing.Size(625, 37); + this.apiKey_tb.TabIndex = 20; + this.apiKey_tb.UseSystemPasswordChar = true; + this.apiKey_tb.WordWrap = false; + // + // checkBoxShowHidden + // + this.checkBoxShowHidden.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxShowHidden.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxShowHidden.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkBoxShowHidden.Location = new System.Drawing.Point(825, 6); + this.checkBoxShowHidden.Margin = new System.Windows.Forms.Padding(6); + this.checkBoxShowHidden.Name = "checkBoxShowHidden"; + this.checkBoxShowHidden.Size = new System.Drawing.Size(127, 44); + this.checkBoxShowHidden.TabIndex = 22; + this.checkBoxShowHidden.Text = "Unmask"; + this.checkBoxShowHidden.UseVisualStyleBackColor = true; + this.checkBoxShowHidden.CheckedChanged += new System.EventHandler(this.checkBoxShowHidden_CheckedChanged); + // + // labelError + // + this.tableLayoutPanel1.SetColumnSpan(this.labelError, 2); + this.labelError.Cursor = System.Windows.Forms.Cursors.Hand; + this.labelError.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelError.ForeColor = System.Drawing.Color.Red; + this.labelError.Location = new System.Drawing.Point(6, 100); + this.labelError.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelError.Name = "labelError"; + this.labelError.Size = new System.Drawing.Size(306, 62); + this.labelError.TabIndex = 23; + this.labelError.Text = "EMPTY"; + this.toolTip1.SetToolTip(this.labelError, "1Click to copy error to clipboard"); + this.labelError.Visible = false; + this.labelError.Click += new System.EventHandler(this.labelError_Click); + // + // buttonSave + // + this.buttonSave.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonSave.Location = new System.Drawing.Point(324, 106); + this.buttonSave.Margin = new System.Windows.Forms.Padding(6); + this.buttonSave.Name = "buttonSave"; + this.buttonSave.Size = new System.Drawing.Size(307, 50); + this.buttonSave.TabIndex = 24; + this.buttonSave.Text = "Test and save"; + this.buttonSave.UseVisualStyleBackColor = true; + this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); + // + // buttonCancel + // + this.tableLayoutPanel1.SetColumnSpan(this.buttonCancel, 2); + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonCancel.Location = new System.Drawing.Point(643, 106); + this.buttonCancel.Margin = new System.Windows.Forms.Padding(6); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(309, 50); + this.buttonCancel.TabIndex = 25; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 5; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.04762F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.04762F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); + this.tableLayoutPanel1.Controls.Add(this.labelAPI, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.labelError, 0, 2); + this.tableLayoutPanel1.Controls.Add(this.buttonCancel, 3, 2); + this.tableLayoutPanel1.Controls.Add(this.apiKey_tb, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.buttonSave, 2, 2); + this.tableLayoutPanel1.Controls.Add(this.checkBoxShowHidden, 4, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(32, 32); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 3; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 62F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(958, 162); + this.tableLayoutPanel1.TabIndex = 26; + // + // IntentoFormOptionsAPI + // + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.ClientSize = new System.Drawing.Size(1022, 226); + this.Controls.Add(this.tableLayoutPanel1); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; + this.Margin = new System.Windows.Forms.Padding(6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "IntentoFormOptionsAPI"; + this.Padding = new System.Windows.Forms.Padding(32); + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "ApiForm"; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.IntentoFormOptionsAPI_FormClosed); + this.Shown += new System.EventHandler(this.IntentoFormOptionsAPI_Shown); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.ResumeLayout(false); + } #endregion @@ -139,5 +179,6 @@ private void InitializeComponent() private System.Windows.Forms.Button buttonCancel; public System.Windows.Forms.Button buttonSave; private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; } } \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.resx index 94518b6..dee0bc9 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.resx @@ -1,123 +1,123 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 122, 17 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 122, 17 + \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs index 8c22302..1ea2493 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs @@ -30,569 +30,767 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IntentoFormOptionsMT)); - this.groupBoxProvider = new System.Windows.Forms.GroupBox(); - this.comboBoxProviders = new System.Windows.Forms.ComboBox(); - this.linkLabel1 = new System.Windows.Forms.LinkLabel(); - this.groupBoxBillingAccount = new System.Windows.Forms.GroupBox(); - this.panelConnectAccount = new System.Windows.Forms.Panel(); - this.textBoxLabelConnectAccount = new System.Windows.Forms.TextBox(); - this.buttonRefresh = new System.Windows.Forms.Button(); - this.linkLabel3 = new System.Windows.Forms.LinkLabel(); - this.labelHelpBillingAccount = new System.Windows.Forms.Label(); - this.comboBoxCredentialId = new System.Windows.Forms.ComboBox(); - this.groupBoxModel = new System.Windows.Forms.GroupBox(); - this.textBoxModel = new System.Windows.Forms.TextBox(); - this.labelHelpModel = new System.Windows.Forms.Label(); - this.checkBoxUseCustomModel = new System.Windows.Forms.CheckBox(); - this.comboBoxModels = new System.Windows.Forms.ComboBox(); - this.groupBoxGlossary = new System.Windows.Forms.GroupBox(); - this.linkLabel2 = new System.Windows.Forms.LinkLabel(); - this.textBoxGlossary = new System.Windows.Forms.TextBox(); - this.labelHelpGlossary = new System.Windows.Forms.Label(); - this.comboBoxGlossaries = new System.Windows.Forms.ComboBox(); - this.groupBoxOptional = new System.Windows.Forms.GroupBox(); - this.labelHelpOptional = new System.Windows.Forms.Label(); - this.labelDirectionChar = new System.Windows.Forms.Label(); - this.comboBoxTo = new System.Windows.Forms.ComboBox(); - this.comboBoxFrom = new System.Windows.Forms.ComboBox(); - this.buttonCancel = new System.Windows.Forms.Button(); - this.buttonSave = new System.Windows.Forms.Button(); - this.toolTipHelp = new System.Windows.Forms.ToolTip(this.components); - this.labelTMP = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.textBoxLabelURL = new System.Windows.Forms.TextBox(); - this.labelSmartRouting = new System.Windows.Forms.Label(); - this.comboBoxRouting = new System.Windows.Forms.ComboBox(); - this.groupBoxProvider.SuspendLayout(); - this.groupBoxBillingAccount.SuspendLayout(); - this.panelConnectAccount.SuspendLayout(); - this.groupBoxModel.SuspendLayout(); - this.groupBoxGlossary.SuspendLayout(); - this.groupBoxOptional.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.SuspendLayout(); - // - // groupBoxProvider - // - this.groupBoxProvider.Controls.Add(this.comboBoxProviders); - this.groupBoxProvider.Location = new System.Drawing.Point(15, 111); - this.groupBoxProvider.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxProvider.Name = "groupBoxProvider"; - this.groupBoxProvider.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxProvider.Size = new System.Drawing.Size(584, 71); - this.groupBoxProvider.TabIndex = 25; - this.groupBoxProvider.TabStop = false; - this.groupBoxProvider.Text = "Provider"; - // - // comboBoxProviders - // - this.comboBoxProviders.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxProviders.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxProviders.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxProviders.FormattingEnabled = true; - this.comboBoxProviders.Location = new System.Drawing.Point(14, 30); - this.comboBoxProviders.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxProviders.Name = "comboBoxProviders"; - this.comboBoxProviders.Size = new System.Drawing.Size(554, 27); - this.comboBoxProviders.TabIndex = 6; - // - // linkLabel1 - // - this.linkLabel1.AutoSize = true; - this.linkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel1.Location = new System.Drawing.Point(54, 0); - this.linkLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(15, 19); - this.linkLabel1.TabIndex = 7; - this.linkLabel1.TabStop = true; - this.linkLabel1.Tag = "model"; - this.linkLabel1.Text = "?"; - this.linkLabel1.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.helpLink_Clicked); - // - // groupBoxBillingAccount - // - this.groupBoxBillingAccount.Controls.Add(this.panelConnectAccount); - this.groupBoxBillingAccount.Controls.Add(this.buttonRefresh); - this.groupBoxBillingAccount.Controls.Add(this.linkLabel3); - this.groupBoxBillingAccount.Controls.Add(this.labelHelpBillingAccount); - this.groupBoxBillingAccount.Controls.Add(this.comboBoxCredentialId); - this.groupBoxBillingAccount.Location = new System.Drawing.Point(15, 186); - this.groupBoxBillingAccount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxBillingAccount.Name = "groupBoxBillingAccount"; - this.groupBoxBillingAccount.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxBillingAccount.Size = new System.Drawing.Size(582, 131); - this.groupBoxBillingAccount.TabIndex = 26; - this.groupBoxBillingAccount.TabStop = false; - this.groupBoxBillingAccount.Text = "Billing account"; - // - // panelConnectAccount - // - this.panelConnectAccount.Controls.Add(this.textBoxLabelConnectAccount); - this.panelConnectAccount.Location = new System.Drawing.Point(16, 104); - this.panelConnectAccount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.panelConnectAccount.Name = "panelConnectAccount"; - this.panelConnectAccount.Size = new System.Drawing.Size(325, 24); - this.panelConnectAccount.TabIndex = 39; - this.panelConnectAccount.Tag = "accountControl"; - this.panelConnectAccount.Visible = false; - // - // textBoxLabelConnectAccount - // - this.textBoxLabelConnectAccount.BackColor = System.Drawing.SystemColors.Control; - this.textBoxLabelConnectAccount.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.textBoxLabelConnectAccount.Cursor = System.Windows.Forms.Cursors.Hand; - this.textBoxLabelConnectAccount.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.textBoxLabelConnectAccount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.textBoxLabelConnectAccount.Location = new System.Drawing.Point(0, 4); - this.textBoxLabelConnectAccount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.textBoxLabelConnectAccount.Name = "textBoxLabelConnectAccount"; - this.textBoxLabelConnectAccount.Size = new System.Drawing.Size(292, 16); - this.textBoxLabelConnectAccount.TabIndex = 37; - this.textBoxLabelConnectAccount.Tag = "https://console.inten.to/accounts"; - this.textBoxLabelConnectAccount.Text = "Connect your own account for this provider"; - // - // buttonRefresh - // - this.buttonRefresh.Image = ((System.Drawing.Image)(resources.GetObject("buttonRefresh.Image"))); - this.buttonRefresh.Location = new System.Drawing.Point(540, 72); - this.buttonRefresh.Margin = new System.Windows.Forms.Padding(0); - this.buttonRefresh.Name = "buttonRefresh"; - this.buttonRefresh.Size = new System.Drawing.Size(29, 29); - this.buttonRefresh.TabIndex = 37; - this.buttonRefresh.Tag = "accountControl"; - this.toolTipHelp.SetToolTip(this.buttonRefresh, "refresh list your accounts for this provider"); - this.buttonRefresh.UseVisualStyleBackColor = true; - this.buttonRefresh.Visible = false; - // - // linkLabel3 - // - this.linkLabel3.AutoSize = true; - this.linkLabel3.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel3.Location = new System.Drawing.Point(110, 0); - this.linkLabel3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.linkLabel3.Name = "linkLabel3"; - this.linkLabel3.Size = new System.Drawing.Size(15, 19); - this.linkLabel3.TabIndex = 33; - this.linkLabel3.TabStop = true; - this.linkLabel3.Tag = "account"; - this.linkLabel3.Text = "?"; - this.linkLabel3.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel3.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.helpLink_Clicked); - // - // labelHelpBillingAccount - // - this.labelHelpBillingAccount.BackColor = System.Drawing.SystemColors.Control; - this.labelHelpBillingAccount.Location = new System.Drawing.Point(10, 26); - this.labelHelpBillingAccount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelHelpBillingAccount.Name = "labelHelpBillingAccount"; - this.labelHelpBillingAccount.Size = new System.Drawing.Size(534, 40); - this.labelHelpBillingAccount.TabIndex = 12; - this.labelHelpBillingAccount.Text = "Most of the MT Providers are available via Intento contracts, but you may also u" + - "se your own account at MT Provider connected via Intento Console."; - this.labelHelpBillingAccount.Visible = false; - // - // comboBoxCredentialId - // - this.comboBoxCredentialId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxCredentialId.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxCredentialId.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxCredentialId.FormattingEnabled = true; - this.comboBoxCredentialId.Location = new System.Drawing.Point(14, 74); - this.comboBoxCredentialId.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxCredentialId.Name = "comboBoxCredentialId"; - this.comboBoxCredentialId.Size = new System.Drawing.Size(518, 27); - this.comboBoxCredentialId.TabIndex = 10; - this.comboBoxCredentialId.Tag = "accountControl"; - this.comboBoxCredentialId.Visible = false; - this.comboBoxCredentialId.VisibleChanged += new System.EventHandler(this.comboBoxCredentialId_VisibleChanged); - // - // groupBoxModel - // - this.groupBoxModel.Controls.Add(this.linkLabel1); - this.groupBoxModel.Controls.Add(this.textBoxModel); - this.groupBoxModel.Controls.Add(this.labelHelpModel); - this.groupBoxModel.Controls.Add(this.checkBoxUseCustomModel); - this.groupBoxModel.Controls.Add(this.comboBoxModels); - this.groupBoxModel.Enabled = false; - this.groupBoxModel.Location = new System.Drawing.Point(15, 329); - this.groupBoxModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxModel.Name = "groupBoxModel"; - this.groupBoxModel.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxModel.Size = new System.Drawing.Size(582, 140); - this.groupBoxModel.TabIndex = 27; - this.groupBoxModel.TabStop = false; - this.groupBoxModel.Text = "Model"; - // - // textBoxModel - // - this.textBoxModel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxModel.ForeColor = System.Drawing.SystemColors.WindowText; - this.textBoxModel.Location = new System.Drawing.Point(14, 115); - this.textBoxModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.textBoxModel.Name = "textBoxModel"; - this.textBoxModel.Size = new System.Drawing.Size(547, 26); - this.textBoxModel.TabIndex = 14; - this.textBoxModel.Tag = "modelControl"; - this.textBoxModel.Visible = false; - // - // labelHelpModel - // - this.labelHelpModel.Location = new System.Drawing.Point(10, 26); - this.labelHelpModel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelHelpModel.Name = "labelHelpModel"; - this.labelHelpModel.Size = new System.Drawing.Size(534, 40); - this.labelHelpModel.TabIndex = 13; - this.labelHelpModel.Text = "By default, the pre-trained general-purpose MT model is used. If it\'s not availab" + - "le or you want to use your custom-trained model, please specify it below."; - this.labelHelpModel.Visible = false; - // - // checkBoxUseCustomModel - // - this.checkBoxUseCustomModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.checkBoxUseCustomModel.AutoSize = true; - this.checkBoxUseCustomModel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxUseCustomModel.Location = new System.Drawing.Point(14, 70); - this.checkBoxUseCustomModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.checkBoxUseCustomModel.Name = "checkBoxUseCustomModel"; - this.checkBoxUseCustomModel.Size = new System.Drawing.Size(165, 23); - this.checkBoxUseCustomModel.TabIndex = 11; - this.checkBoxUseCustomModel.Tag = "modelControl"; - this.checkBoxUseCustomModel.Text = "Use custom MT model"; - this.checkBoxUseCustomModel.UseVisualStyleBackColor = true; - // - // comboBoxModels - // - this.comboBoxModels.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxModels.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxModels.FormattingEnabled = true; - this.comboBoxModels.ItemHeight = 19; - this.comboBoxModels.Location = new System.Drawing.Point(14, 99); - this.comboBoxModels.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxModels.Name = "comboBoxModels"; - this.comboBoxModels.Size = new System.Drawing.Size(546, 27); - this.comboBoxModels.TabIndex = 10; - this.comboBoxModels.Tag = "modelControl"; - this.comboBoxModels.Visible = false; - // - // groupBoxGlossary - // - this.groupBoxGlossary.Controls.Add(this.linkLabel2); - this.groupBoxGlossary.Controls.Add(this.textBoxGlossary); - this.groupBoxGlossary.Controls.Add(this.labelHelpGlossary); - this.groupBoxGlossary.Controls.Add(this.comboBoxGlossaries); - this.groupBoxGlossary.Location = new System.Drawing.Point(15, 481); - this.groupBoxGlossary.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxGlossary.Name = "groupBoxGlossary"; - this.groupBoxGlossary.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxGlossary.Size = new System.Drawing.Size(582, 118); - this.groupBoxGlossary.TabIndex = 28; - this.groupBoxGlossary.TabStop = false; - this.groupBoxGlossary.Text = "Glossary"; - // - // linkLabel2 - // - this.linkLabel2.AutoSize = true; - this.linkLabel2.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel2.Location = new System.Drawing.Point(68, 0); - this.linkLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.linkLabel2.Name = "linkLabel2"; - this.linkLabel2.Size = new System.Drawing.Size(15, 19); - this.linkLabel2.TabIndex = 33; - this.linkLabel2.TabStop = true; - this.linkLabel2.Tag = "glossary"; - this.linkLabel2.Text = "?"; - this.linkLabel2.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.helpLink_Clicked); - // - // textBoxGlossary - // - this.textBoxGlossary.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxGlossary.ForeColor = System.Drawing.SystemColors.WindowText; - this.textBoxGlossary.Location = new System.Drawing.Point(14, 92); - this.textBoxGlossary.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.textBoxGlossary.Name = "textBoxGlossary"; - this.textBoxGlossary.Size = new System.Drawing.Size(547, 26); - this.textBoxGlossary.TabIndex = 14; - this.textBoxGlossary.Tag = "glossaryControl"; - this.textBoxGlossary.Visible = false; - // - // labelHelpGlossary - // - this.labelHelpGlossary.Location = new System.Drawing.Point(10, 26); - this.labelHelpGlossary.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelHelpGlossary.Name = "labelHelpGlossary"; - this.labelHelpGlossary.Size = new System.Drawing.Size(534, 40); - this.labelHelpGlossary.TabIndex = 13; - this.labelHelpGlossary.Text = "Some of MT Providers enable using your custom terminology or glossary. If you hab" + - "e one, please specify it below."; - this.labelHelpGlossary.Visible = false; - // - // comboBoxGlossaries - // - this.comboBoxGlossaries.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxGlossaries.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxGlossaries.Enabled = false; - this.comboBoxGlossaries.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxGlossaries.FormattingEnabled = true; - this.comboBoxGlossaries.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.comboBoxGlossaries.Location = new System.Drawing.Point(14, 76); - this.comboBoxGlossaries.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxGlossaries.Name = "comboBoxGlossaries"; - this.comboBoxGlossaries.Size = new System.Drawing.Size(546, 27); - this.comboBoxGlossaries.TabIndex = 10; - this.comboBoxGlossaries.Tag = "glossaryControl"; - this.comboBoxGlossaries.Visible = false; - // - // groupBoxOptional - // - this.groupBoxOptional.Controls.Add(this.labelHelpOptional); - this.groupBoxOptional.Controls.Add(this.labelDirectionChar); - this.groupBoxOptional.Controls.Add(this.comboBoxTo); - this.groupBoxOptional.Controls.Add(this.comboBoxFrom); - this.groupBoxOptional.Location = new System.Drawing.Point(15, 615); - this.groupBoxOptional.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxOptional.Name = "groupBoxOptional"; - this.groupBoxOptional.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBoxOptional.Size = new System.Drawing.Size(582, 129); - this.groupBoxOptional.TabIndex = 29; - this.groupBoxOptional.TabStop = false; - this.groupBoxOptional.Text = "OPTIONAL"; - // - // labelHelpOptional - // - this.labelHelpOptional.BackColor = System.Drawing.SystemColors.Control; - this.labelHelpOptional.Location = new System.Drawing.Point(10, 26); - this.labelHelpOptional.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelHelpOptional.Name = "labelHelpOptional"; - this.labelHelpOptional.Size = new System.Drawing.Size(534, 40); - this.labelHelpOptional.TabIndex = 33; - this.labelHelpOptional.Text = "We will send one-character translation request to test this configuration.\r\nIf yo" + - "u have selected custom model or glossary, please adjust the language pair:"; - // - // labelDirectionChar - // - this.labelDirectionChar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.labelDirectionChar.AutoSize = true; - this.labelDirectionChar.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.labelDirectionChar.Location = new System.Drawing.Point(172, 74); - this.labelDirectionChar.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelDirectionChar.Name = "labelDirectionChar"; - this.labelDirectionChar.Size = new System.Drawing.Size(44, 41); - this.labelDirectionChar.TabIndex = 14; - this.labelDirectionChar.Tag = "fix_high_dpi"; - this.labelDirectionChar.Text = "→"; - // - // comboBoxTo - // - this.comboBoxTo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxTo.FormattingEnabled = true; - this.comboBoxTo.Location = new System.Drawing.Point(225, 85); - this.comboBoxTo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxTo.Name = "comboBoxTo"; - this.comboBoxTo.Size = new System.Drawing.Size(148, 27); - this.comboBoxTo.TabIndex = 13; - this.comboBoxTo.Tag = "fix_high_dpi"; - // - // comboBoxFrom - // - this.comboBoxFrom.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.comboBoxFrom.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append; - this.comboBoxFrom.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; - this.comboBoxFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxFrom.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxFrom.FormattingEnabled = true; - this.comboBoxFrom.Location = new System.Drawing.Point(14, 85); - this.comboBoxFrom.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxFrom.Name = "comboBoxFrom"; - this.comboBoxFrom.Size = new System.Drawing.Size(148, 27); - this.comboBoxFrom.TabIndex = 10; - this.comboBoxFrom.Tag = "fix_high_dpi"; - // - // buttonCancel - // - this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(498, 759); - this.buttonCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(101, 28); - this.buttonCancel.TabIndex = 31; - this.buttonCancel.Text = "Cancel"; - this.buttonCancel.UseVisualStyleBackColor = true; - // - // buttonSave - // - this.buttonSave.Location = new System.Drawing.Point(348, 759); - this.buttonSave.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.buttonSave.Name = "buttonSave"; - this.buttonSave.Size = new System.Drawing.Size(142, 28); - this.buttonSave.TabIndex = 30; - this.buttonSave.Text = "Test and save"; - this.buttonSave.UseVisualStyleBackColor = true; - this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); - // - // toolTipHelp - // - this.toolTipHelp.IsBalloon = true; - // - // labelTMP - // - this.labelTMP.AutoSize = true; - this.labelTMP.Location = new System.Drawing.Point(29, 759); - this.labelTMP.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelTMP.Name = "labelTMP"; - this.labelTMP.Size = new System.Drawing.Size(65, 19); - this.labelTMP.TabIndex = 32; - this.labelTMP.Text = "labelTMP"; - this.labelTMP.Visible = false; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.textBoxLabelURL); - this.groupBox1.Controls.Add(this.labelSmartRouting); - this.groupBox1.Controls.Add(this.comboBoxRouting); - this.groupBox1.Location = new System.Drawing.Point(15, 16); - this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.groupBox1.Size = new System.Drawing.Size(582, 88); - this.groupBox1.TabIndex = 34; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Automatic provider selection"; - // - // textBoxLabelURL - // - this.textBoxLabelURL.BackColor = System.Drawing.SystemColors.Control; - this.textBoxLabelURL.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.textBoxLabelURL.Cursor = System.Windows.Forms.Cursors.Hand; - this.textBoxLabelURL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.textBoxLabelURL.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); - this.textBoxLabelURL.Location = new System.Drawing.Point(291, 24); - this.textBoxLabelURL.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.textBoxLabelURL.Name = "textBoxLabelURL"; - this.textBoxLabelURL.Size = new System.Drawing.Size(148, 16); - this.textBoxLabelURL.TabIndex = 35; - this.textBoxLabelURL.Tag = "https://try.inten.to/mt_report_2020"; - this.textBoxLabelURL.Text = "the Intento Benchmarks."; - // - // labelSmartRouting - // - this.labelSmartRouting.AutoSize = true; - this.labelSmartRouting.Location = new System.Drawing.Point(14, 24); - this.labelSmartRouting.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.labelSmartRouting.Name = "labelSmartRouting"; - this.labelSmartRouting.Size = new System.Drawing.Size(272, 19); - this.labelSmartRouting.TabIndex = 37; - this.labelSmartRouting.Text = "Select MT provider automatically based on "; - // - // comboBoxRouting - // - this.comboBoxRouting.DisplayMember = "(none)"; - this.comboBoxRouting.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxRouting.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.comboBoxRouting.FormattingEnabled = true; - this.comboBoxRouting.Items.AddRange(new object[] { - "Disabled", - "General routing based on Intento benchmarks", - "Industry-specific routing based on Intento benchmarks", - "Industry-specific routing based on Intento benchmarks 1", - "Industry-specific routing based on Intento benchmarks 2"}); - this.comboBoxRouting.Location = new System.Drawing.Point(18, 50); - this.comboBoxRouting.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.comboBoxRouting.Name = "comboBoxRouting"; - this.comboBoxRouting.Size = new System.Drawing.Size(550, 27); - this.comboBoxRouting.TabIndex = 36; - // - // IntentoFormOptionsMT - // - this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(614, 805); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.labelTMP); - this.Controls.Add(this.buttonCancel); - this.Controls.Add(this.buttonSave); - this.Controls.Add(this.groupBoxOptional); - this.Controls.Add(this.groupBoxGlossary); - this.Controls.Add(this.groupBoxModel); - this.Controls.Add(this.groupBoxBillingAccount); - this.Controls.Add(this.groupBoxProvider); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "IntentoFormOptionsMT"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "IntentoFormOptionsMT"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.IntentoFormOptionsMT_FormClosing); - this.groupBoxProvider.ResumeLayout(false); - this.groupBoxBillingAccount.ResumeLayout(false); - this.groupBoxBillingAccount.PerformLayout(); - this.panelConnectAccount.ResumeLayout(false); - this.panelConnectAccount.PerformLayout(); - this.groupBoxModel.ResumeLayout(false); - this.groupBoxModel.PerformLayout(); - this.groupBoxGlossary.ResumeLayout(false); - this.groupBoxGlossary.PerformLayout(); - this.groupBoxOptional.ResumeLayout(false); - this.groupBoxOptional.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IntentoFormOptionsMT)); + this.buttonCancel = new System.Windows.Forms.Button(); + this.buttonSave = new System.Windows.Forms.Button(); + this.toolTipHelp = new System.Windows.Forms.ToolTip(this.components); + this.labelTMP = new System.Windows.Forms.Label(); + this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.groupBoxOptional = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); + this.labelHelpOptional = new System.Windows.Forms.Label(); + this.comboBoxTo = new System.Windows.Forms.ComboBox(); + this.labelDirectionChar = new System.Windows.Forms.Label(); + this.comboBoxFrom = new System.Windows.Forms.ComboBox(); + this.groupBoxGlossary = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.comboBoxGlossaries = new System.Windows.Forms.ComboBox(); + this.textBoxGlossary = new System.Windows.Forms.TextBox(); + this.labelHelpGlossary = new System.Windows.Forms.Label(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.groupBoxModel = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.comboBoxModels = new System.Windows.Forms.ComboBox(); + this.textBoxModel = new System.Windows.Forms.TextBox(); + this.labelHelpModel = new System.Windows.Forms.Label(); + this.checkBoxUseCustomModel = new System.Windows.Forms.CheckBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.groupBoxBillingAccount = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.labelHelpBillingAccount = new System.Windows.Forms.Label(); + this.panelConnectAccount = new System.Windows.Forms.Panel(); + this.textBoxLabelConnectAccount = new System.Windows.Forms.TextBox(); + this.comboBoxCredentialId = new System.Windows.Forms.ComboBox(); + this.buttonRefresh = new System.Windows.Forms.Button(); + this.linkLabel3 = new System.Windows.Forms.LinkLabel(); + this.groupBoxProvider = new System.Windows.Forms.GroupBox(); + this.comboBoxProviders = new System.Windows.Forms.ComboBox(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.labelSmartRouting = new System.Windows.Forms.Label(); + this.comboBoxRouting = new System.Windows.Forms.ComboBox(); + this.textBoxLabelURL = new System.Windows.Forms.TextBox(); + this.tableLayoutPanel5.SuspendLayout(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.groupBoxOptional.SuspendLayout(); + this.tableLayoutPanel6.SuspendLayout(); + this.groupBoxGlossary.SuspendLayout(); + this.tableLayoutPanel4.SuspendLayout(); + this.panel2.SuspendLayout(); + this.groupBoxModel.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.panel1.SuspendLayout(); + this.groupBoxBillingAccount.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.panelConnectAccount.SuspendLayout(); + this.groupBoxProvider.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.SuspendLayout(); + // + // buttonCancel + // + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonCancel.Location = new System.Drawing.Point(920, 6); + this.buttonCancel.Margin = new System.Windows.Forms.Padding(6); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(218, 57); + this.buttonCancel.TabIndex = 31; + this.buttonCancel.Text = "Cancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + // + // buttonSave + // + this.buttonSave.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonSave.Location = new System.Drawing.Point(692, 6); + this.buttonSave.Margin = new System.Windows.Forms.Padding(6); + this.buttonSave.Name = "buttonSave"; + this.buttonSave.Size = new System.Drawing.Size(216, 57); + this.buttonSave.TabIndex = 30; + this.buttonSave.Text = "Test and save"; + this.buttonSave.UseVisualStyleBackColor = true; + this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); + // + // toolTipHelp + // + this.toolTipHelp.IsBalloon = true; + // + // labelTMP + // + this.labelTMP.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelTMP.Location = new System.Drawing.Point(6, 0); + this.labelTMP.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelTMP.Name = "labelTMP"; + this.labelTMP.Size = new System.Drawing.Size(674, 69); + this.labelTMP.TabIndex = 32; + this.labelTMP.Text = "labelTMP"; + this.labelTMP.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.labelTMP.Visible = false; + // + // tableLayoutPanel5 + // + this.tableLayoutPanel5.ColumnCount = 3; + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F)); + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel5.Controls.Add(this.labelTMP, 0, 0); + this.tableLayoutPanel5.Controls.Add(this.buttonCancel, 2, 0); + this.tableLayoutPanel5.Controls.Add(this.buttonSave, 1, 0); + this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel5.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel5.Name = "tableLayoutPanel5"; + this.tableLayoutPanel5.RowCount = 1; + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.Size = new System.Drawing.Size(1144, 69); + this.tableLayoutPanel5.TabIndex = 35; + // + // panel3 + // + this.panel3.Controls.Add(this.tableLayoutPanel5); + this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel3.Location = new System.Drawing.Point(32, 1205); + this.panel3.Margin = new System.Windows.Forms.Padding(5); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1144, 69); + this.panel3.TabIndex = 36; + // + // panel4 + // + this.panel4.AutoScroll = true; + this.panel4.Controls.Add(this.groupBoxOptional); + this.panel4.Controls.Add(this.groupBoxGlossary); + this.panel4.Controls.Add(this.groupBoxModel); + this.panel4.Controls.Add(this.groupBoxBillingAccount); + this.panel4.Controls.Add(this.groupBoxProvider); + this.panel4.Controls.Add(this.groupBox1); + this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel4.Location = new System.Drawing.Point(32, 32); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(1144, 1173); + this.panel4.TabIndex = 37; + // + // groupBoxOptional + // + this.groupBoxOptional.Controls.Add(this.tableLayoutPanel6); + this.groupBoxOptional.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxOptional.Location = new System.Drawing.Point(0, 928); + this.groupBoxOptional.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxOptional.Name = "groupBoxOptional"; + this.groupBoxOptional.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxOptional.Size = new System.Drawing.Size(1144, 185); + this.groupBoxOptional.TabIndex = 39; + this.groupBoxOptional.TabStop = false; + this.groupBoxOptional.Text = "OPTIONAL"; + // + // tableLayoutPanel6 + // + this.tableLayoutPanel6.ColumnCount = 4; + this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); + this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel6.Controls.Add(this.labelHelpOptional, 0, 0); + this.tableLayoutPanel6.Controls.Add(this.comboBoxTo, 2, 1); + this.tableLayoutPanel6.Controls.Add(this.labelDirectionChar, 1, 1); + this.tableLayoutPanel6.Controls.Add(this.comboBoxFrom, 0, 1); + this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel6.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel6.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel6.Name = "tableLayoutPanel6"; + this.tableLayoutPanel6.RowCount = 2; + this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel6.Size = new System.Drawing.Size(1112, 123); + this.tableLayoutPanel6.TabIndex = 34; + // + // labelHelpOptional + // + this.labelHelpOptional.AutoSize = true; + this.labelHelpOptional.BackColor = System.Drawing.SystemColors.Control; + this.tableLayoutPanel6.SetColumnSpan(this.labelHelpOptional, 4); + this.labelHelpOptional.Dock = System.Windows.Forms.DockStyle.Top; + this.labelHelpOptional.Location = new System.Drawing.Point(0, 0); + this.labelHelpOptional.Margin = new System.Windows.Forms.Padding(0); + this.labelHelpOptional.Name = "labelHelpOptional"; + this.labelHelpOptional.Size = new System.Drawing.Size(1112, 60); + this.labelHelpOptional.TabIndex = 33; + this.labelHelpOptional.Text = "We will send one-character translation request to test this configuration.\r\nIf yo" + + "u have selected custom model or glossary, please adjust the language pair:"; + // + // comboBoxTo + // + this.comboBoxTo.Dock = System.Windows.Forms.DockStyle.Fill; + this.comboBoxTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxTo.FormattingEnabled = true; + this.comboBoxTo.Location = new System.Drawing.Point(314, 72); + this.comboBoxTo.Margin = new System.Windows.Forms.Padding(0, 12, 0, 0); + this.comboBoxTo.Name = "comboBoxTo"; + this.comboBoxTo.Size = new System.Drawing.Size(266, 38); + this.comboBoxTo.TabIndex = 13; + this.comboBoxTo.Tag = "fix_high_dpi"; + // + // labelDirectionChar + // + this.labelDirectionChar.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.labelDirectionChar.AutoSize = true; + this.labelDirectionChar.Font = new System.Drawing.Font("Segoe UI", 12F); + this.labelDirectionChar.Location = new System.Drawing.Point(266, 69); + this.labelDirectionChar.Margin = new System.Windows.Forms.Padding(0); + this.labelDirectionChar.Name = "labelDirectionChar"; + this.labelDirectionChar.Size = new System.Drawing.Size(48, 45); + this.labelDirectionChar.TabIndex = 14; + this.labelDirectionChar.Tag = "fix_high_dpi"; + this.labelDirectionChar.Text = "→"; + this.labelDirectionChar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // comboBoxFrom + // + this.comboBoxFrom.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append; + this.comboBoxFrom.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; + this.comboBoxFrom.Dock = System.Windows.Forms.DockStyle.Fill; + this.comboBoxFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxFrom.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxFrom.FormattingEnabled = true; + this.comboBoxFrom.Location = new System.Drawing.Point(0, 72); + this.comboBoxFrom.Margin = new System.Windows.Forms.Padding(0, 12, 0, 0); + this.comboBoxFrom.Name = "comboBoxFrom"; + this.comboBoxFrom.Size = new System.Drawing.Size(266, 38); + this.comboBoxFrom.TabIndex = 10; + this.comboBoxFrom.Tag = "fix_high_dpi"; + // + // groupBoxGlossary + // + this.groupBoxGlossary.Controls.Add(this.tableLayoutPanel4); + this.groupBoxGlossary.Controls.Add(this.linkLabel2); + this.groupBoxGlossary.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxGlossary.Location = new System.Drawing.Point(0, 743); + this.groupBoxGlossary.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxGlossary.Name = "groupBoxGlossary"; + this.groupBoxGlossary.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxGlossary.Size = new System.Drawing.Size(1144, 185); + this.groupBoxGlossary.TabIndex = 38; + this.groupBoxGlossary.TabStop = false; + this.groupBoxGlossary.Text = "Glossary"; + // + // tableLayoutPanel4 + // + this.tableLayoutPanel4.ColumnCount = 1; + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel4.Controls.Add(this.panel2, 0, 1); + this.tableLayoutPanel4.Controls.Add(this.labelHelpGlossary, 0, 0); + this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel4.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel4.Name = "tableLayoutPanel4"; + this.tableLayoutPanel4.RowCount = 2; + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel4.Size = new System.Drawing.Size(1112, 123); + this.tableLayoutPanel4.TabIndex = 34; + // + // panel2 + // + this.panel2.Controls.Add(this.comboBoxGlossaries); + this.panel2.Controls.Add(this.textBoxGlossary); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Location = new System.Drawing.Point(5, 65); + this.panel2.Margin = new System.Windows.Forms.Padding(5); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1102, 43); + this.panel2.TabIndex = 35; + // + // comboBoxGlossaries + // + this.comboBoxGlossaries.Dock = System.Windows.Forms.DockStyle.Top; + this.comboBoxGlossaries.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxGlossaries.Enabled = false; + this.comboBoxGlossaries.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxGlossaries.FormattingEnabled = true; + this.comboBoxGlossaries.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.comboBoxGlossaries.Location = new System.Drawing.Point(0, 37); + this.comboBoxGlossaries.Margin = new System.Windows.Forms.Padding(6); + this.comboBoxGlossaries.Name = "comboBoxGlossaries"; + this.comboBoxGlossaries.Size = new System.Drawing.Size(1102, 38); + this.comboBoxGlossaries.TabIndex = 10; + this.comboBoxGlossaries.Tag = "glossaryControl"; + this.comboBoxGlossaries.Visible = false; + // + // textBoxGlossary + // + this.textBoxGlossary.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxGlossary.Dock = System.Windows.Forms.DockStyle.Top; + this.textBoxGlossary.ForeColor = System.Drawing.SystemColors.WindowText; + this.textBoxGlossary.Location = new System.Drawing.Point(0, 0); + this.textBoxGlossary.Margin = new System.Windows.Forms.Padding(6); + this.textBoxGlossary.Name = "textBoxGlossary"; + this.textBoxGlossary.Size = new System.Drawing.Size(1102, 37); + this.textBoxGlossary.TabIndex = 14; + this.textBoxGlossary.Tag = "glossaryControl"; + this.textBoxGlossary.Visible = false; + // + // labelHelpGlossary + // + this.labelHelpGlossary.AutoSize = true; + this.labelHelpGlossary.Dock = System.Windows.Forms.DockStyle.Top; + this.labelHelpGlossary.Location = new System.Drawing.Point(0, 0); + this.labelHelpGlossary.Margin = new System.Windows.Forms.Padding(0); + this.labelHelpGlossary.Name = "labelHelpGlossary"; + this.labelHelpGlossary.Size = new System.Drawing.Size(1112, 60); + this.labelHelpGlossary.TabIndex = 13; + this.labelHelpGlossary.Text = "Some of MT Providers enable using your custom terminology or glossary. If you hab" + + "e one, please specify it below."; + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + this.linkLabel2.Location = new System.Drawing.Point(106, 0); + this.linkLabel2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(23, 30); + this.linkLabel2.TabIndex = 33; + this.linkLabel2.TabStop = true; + this.linkLabel2.Tag = "glossary"; + this.linkLabel2.Text = "?"; + this.linkLabel2.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + // + // groupBoxModel + // + this.groupBoxModel.Controls.Add(this.tableLayoutPanel3); + this.groupBoxModel.Controls.Add(this.linkLabel1); + this.groupBoxModel.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxModel.Enabled = false; + this.groupBoxModel.Location = new System.Drawing.Point(0, 514); + this.groupBoxModel.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxModel.Name = "groupBoxModel"; + this.groupBoxModel.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxModel.Size = new System.Drawing.Size(1144, 229); + this.groupBoxModel.TabIndex = 37; + this.groupBoxModel.TabStop = false; + this.groupBoxModel.Text = "Model"; + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 1; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Controls.Add(this.panel1, 0, 2); + this.tableLayoutPanel3.Controls.Add(this.labelHelpModel, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.checkBoxUseCustomModel, 0, 1); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel3.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 3; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1112, 167); + this.tableLayoutPanel3.TabIndex = 14; + // + // panel1 + // + this.panel1.Controls.Add(this.comboBoxModels); + this.panel1.Controls.Add(this.textBoxModel); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(5, 111); + this.panel1.Margin = new System.Windows.Forms.Padding(5); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1102, 43); + this.panel1.TabIndex = 15; + // + // comboBoxModels + // + this.comboBoxModels.Dock = System.Windows.Forms.DockStyle.Top; + this.comboBoxModels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxModels.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxModels.FormattingEnabled = true; + this.comboBoxModels.ItemHeight = 30; + this.comboBoxModels.Location = new System.Drawing.Point(0, 37); + this.comboBoxModels.Margin = new System.Windows.Forms.Padding(6); + this.comboBoxModels.Name = "comboBoxModels"; + this.comboBoxModels.Size = new System.Drawing.Size(1102, 38); + this.comboBoxModels.TabIndex = 10; + this.comboBoxModels.Tag = "modelControl"; + this.comboBoxModels.Visible = false; + // + // textBoxModel + // + this.textBoxModel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxModel.Dock = System.Windows.Forms.DockStyle.Top; + this.textBoxModel.ForeColor = System.Drawing.SystemColors.WindowText; + this.textBoxModel.Location = new System.Drawing.Point(0, 0); + this.textBoxModel.Margin = new System.Windows.Forms.Padding(6); + this.textBoxModel.Name = "textBoxModel"; + this.textBoxModel.Size = new System.Drawing.Size(1102, 37); + this.textBoxModel.TabIndex = 14; + this.textBoxModel.Tag = "modelControl"; + this.textBoxModel.Visible = false; + // + // labelHelpModel + // + this.labelHelpModel.AutoSize = true; + this.labelHelpModel.Dock = System.Windows.Forms.DockStyle.Top; + this.labelHelpModel.Location = new System.Drawing.Point(0, 0); + this.labelHelpModel.Margin = new System.Windows.Forms.Padding(0); + this.labelHelpModel.Name = "labelHelpModel"; + this.labelHelpModel.Size = new System.Drawing.Size(1112, 60); + this.labelHelpModel.TabIndex = 13; + this.labelHelpModel.Text = "By default, the pre-trained general-purpose MT model is used. If it\'s not availab" + + "le or you want to use your custom-trained model, please specify it below."; + // + // checkBoxUseCustomModel + // + this.checkBoxUseCustomModel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.checkBoxUseCustomModel.AutoSize = true; + this.checkBoxUseCustomModel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxUseCustomModel.Location = new System.Drawing.Point(6, 66); + this.checkBoxUseCustomModel.Margin = new System.Windows.Forms.Padding(6); + this.checkBoxUseCustomModel.Name = "checkBoxUseCustomModel"; + this.checkBoxUseCustomModel.Size = new System.Drawing.Size(1100, 34); + this.checkBoxUseCustomModel.TabIndex = 11; + this.checkBoxUseCustomModel.Tag = "modelControl"; + this.checkBoxUseCustomModel.Text = "Use custom MT model"; + this.checkBoxUseCustomModel.UseVisualStyleBackColor = true; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + this.linkLabel1.Location = new System.Drawing.Point(86, 0); + this.linkLabel1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(23, 30); + this.linkLabel1.TabIndex = 7; + this.linkLabel1.TabStop = true; + this.linkLabel1.Tag = "model"; + this.linkLabel1.Text = "?"; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + // + // groupBoxBillingAccount + // + this.groupBoxBillingAccount.Controls.Add(this.tableLayoutPanel2); + this.groupBoxBillingAccount.Controls.Add(this.linkLabel3); + this.groupBoxBillingAccount.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxBillingAccount.Location = new System.Drawing.Point(0, 294); + this.groupBoxBillingAccount.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxBillingAccount.Name = "groupBoxBillingAccount"; + this.groupBoxBillingAccount.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxBillingAccount.Size = new System.Drawing.Size(1144, 220); + this.groupBoxBillingAccount.TabIndex = 36; + this.groupBoxBillingAccount.TabStop = false; + this.groupBoxBillingAccount.Text = "Billing account"; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 2; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 59F)); + this.tableLayoutPanel2.Controls.Add(this.labelHelpBillingAccount, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.panelConnectAccount, 0, 2); + this.tableLayoutPanel2.Controls.Add(this.comboBoxCredentialId, 0, 1); + this.tableLayoutPanel2.Controls.Add(this.buttonRefresh, 1, 1); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 3; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1112, 158); + this.tableLayoutPanel2.TabIndex = 40; + // + // labelHelpBillingAccount + // + this.labelHelpBillingAccount.AutoSize = true; + this.labelHelpBillingAccount.BackColor = System.Drawing.SystemColors.Control; + this.tableLayoutPanel2.SetColumnSpan(this.labelHelpBillingAccount, 2); + this.labelHelpBillingAccount.Dock = System.Windows.Forms.DockStyle.Top; + this.labelHelpBillingAccount.Location = new System.Drawing.Point(0, 0); + this.labelHelpBillingAccount.Margin = new System.Windows.Forms.Padding(0); + this.labelHelpBillingAccount.Name = "labelHelpBillingAccount"; + this.labelHelpBillingAccount.Size = new System.Drawing.Size(1112, 60); + this.labelHelpBillingAccount.TabIndex = 12; + this.labelHelpBillingAccount.Text = "Most of the MT Providers are available via Intento contracts, but you may also us" + + "e your own account at MT Provider connected via Intento Console."; + // + // panelConnectAccount + // + this.panelConnectAccount.Controls.Add(this.textBoxLabelConnectAccount); + this.panelConnectAccount.Dock = System.Windows.Forms.DockStyle.Top; + this.panelConnectAccount.Location = new System.Drawing.Point(6, 110); + this.panelConnectAccount.Margin = new System.Windows.Forms.Padding(6); + this.panelConnectAccount.Name = "panelConnectAccount"; + this.panelConnectAccount.Size = new System.Drawing.Size(1041, 34); + this.panelConnectAccount.TabIndex = 39; + this.panelConnectAccount.Tag = "accountControl"; + this.panelConnectAccount.Visible = false; + // + // textBoxLabelConnectAccount + // + this.textBoxLabelConnectAccount.BackColor = System.Drawing.SystemColors.Control; + this.textBoxLabelConnectAccount.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBoxLabelConnectAccount.Cursor = System.Windows.Forms.Cursors.Hand; + this.textBoxLabelConnectAccount.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxLabelConnectAccount.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.textBoxLabelConnectAccount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + this.textBoxLabelConnectAccount.Location = new System.Drawing.Point(0, 0); + this.textBoxLabelConnectAccount.Margin = new System.Windows.Forms.Padding(6); + this.textBoxLabelConnectAccount.Name = "textBoxLabelConnectAccount"; + this.textBoxLabelConnectAccount.Size = new System.Drawing.Size(1041, 25); + this.textBoxLabelConnectAccount.TabIndex = 37; + this.textBoxLabelConnectAccount.Tag = "https://console.inten.to/accounts"; + this.textBoxLabelConnectAccount.Text = "Connect your own account for this provider"; + // + // comboBoxCredentialId + // + this.comboBoxCredentialId.Dock = System.Windows.Forms.DockStyle.Top; + this.comboBoxCredentialId.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxCredentialId.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxCredentialId.FormattingEnabled = true; + this.comboBoxCredentialId.Location = new System.Drawing.Point(0, 60); + this.comboBoxCredentialId.Margin = new System.Windows.Forms.Padding(0); + this.comboBoxCredentialId.Name = "comboBoxCredentialId"; + this.comboBoxCredentialId.Size = new System.Drawing.Size(1053, 38); + this.comboBoxCredentialId.TabIndex = 10; + this.comboBoxCredentialId.Tag = "accountControl"; + this.comboBoxCredentialId.Visible = false; + // + // buttonRefresh + // + this.buttonRefresh.Dock = System.Windows.Forms.DockStyle.Top; + this.buttonRefresh.Image = ((System.Drawing.Image)(resources.GetObject("buttonRefresh.Image"))); + this.buttonRefresh.Location = new System.Drawing.Point(1053, 60); + this.buttonRefresh.Margin = new System.Windows.Forms.Padding(0); + this.buttonRefresh.Name = "buttonRefresh"; + this.buttonRefresh.Size = new System.Drawing.Size(59, 44); + this.buttonRefresh.TabIndex = 37; + this.buttonRefresh.Tag = "accountControl"; + this.toolTipHelp.SetToolTip(this.buttonRefresh, "refresh list your accounts for this provider"); + this.buttonRefresh.UseVisualStyleBackColor = true; + this.buttonRefresh.Visible = false; + // + // linkLabel3 + // + this.linkLabel3.AutoSize = true; + this.linkLabel3.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + this.linkLabel3.Location = new System.Drawing.Point(160, 0); + this.linkLabel3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.linkLabel3.Name = "linkLabel3"; + this.linkLabel3.Size = new System.Drawing.Size(23, 30); + this.linkLabel3.TabIndex = 33; + this.linkLabel3.TabStop = true; + this.linkLabel3.Tag = "account"; + this.linkLabel3.Text = "?"; + this.linkLabel3.VisitedLinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + // + // groupBoxProvider + // + this.groupBoxProvider.Controls.Add(this.comboBoxProviders); + this.groupBoxProvider.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxProvider.Location = new System.Drawing.Point(0, 176); + this.groupBoxProvider.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxProvider.Name = "groupBoxProvider"; + this.groupBoxProvider.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxProvider.Size = new System.Drawing.Size(1144, 118); + this.groupBoxProvider.TabIndex = 35; + this.groupBoxProvider.TabStop = false; + this.groupBoxProvider.Text = "Provider"; + // + // comboBoxProviders + // + this.comboBoxProviders.Dock = System.Windows.Forms.DockStyle.Fill; + this.comboBoxProviders.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxProviders.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxProviders.FormattingEnabled = true; + this.comboBoxProviders.Location = new System.Drawing.Point(16, 46); + this.comboBoxProviders.Margin = new System.Windows.Forms.Padding(6); + this.comboBoxProviders.Name = "comboBoxProviders"; + this.comboBoxProviders.Size = new System.Drawing.Size(1112, 38); + this.comboBoxProviders.TabIndex = 6; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.tableLayoutPanel1); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Margin = new System.Windows.Forms.Padding(6); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(16); + this.groupBox1.Size = new System.Drawing.Size(1144, 176); + this.groupBox1.TabIndex = 40; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Automatic provider selection"; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Controls.Add(this.labelSmartRouting, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.comboBoxRouting, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.textBoxLabelURL, 1, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1112, 114); + this.tableLayoutPanel1.TabIndex = 38; + // + // labelSmartRouting + // + this.labelSmartRouting.AutoSize = true; + this.labelSmartRouting.Dock = System.Windows.Forms.DockStyle.Left; + this.labelSmartRouting.Location = new System.Drawing.Point(0, 0); + this.labelSmartRouting.Margin = new System.Windows.Forms.Padding(0); + this.labelSmartRouting.Name = "labelSmartRouting"; + this.labelSmartRouting.Size = new System.Drawing.Size(432, 57); + this.labelSmartRouting.TabIndex = 37; + this.labelSmartRouting.Text = "Select MT provider automatically based on "; + this.labelSmartRouting.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // comboBoxRouting + // + this.tableLayoutPanel1.SetColumnSpan(this.comboBoxRouting, 2); + this.comboBoxRouting.DisplayMember = "(none)"; + this.comboBoxRouting.Dock = System.Windows.Forms.DockStyle.Fill; + this.comboBoxRouting.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxRouting.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.comboBoxRouting.FormattingEnabled = true; + this.comboBoxRouting.Items.AddRange(new object[] { + "Disabled", + "General routing based on Intento benchmarks", + "Industry-specific routing based on Intento benchmarks", + "Industry-specific routing based on Intento benchmarks 1", + "Industry-specific routing based on Intento benchmarks 2"}); + this.comboBoxRouting.Location = new System.Drawing.Point(6, 63); + this.comboBoxRouting.Margin = new System.Windows.Forms.Padding(6); + this.comboBoxRouting.Name = "comboBoxRouting"; + this.comboBoxRouting.Size = new System.Drawing.Size(1100, 38); + this.comboBoxRouting.TabIndex = 36; + // + // textBoxLabelURL + // + this.textBoxLabelURL.BackColor = System.Drawing.SystemColors.Control; + this.textBoxLabelURL.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBoxLabelURL.Cursor = System.Windows.Forms.Cursors.Hand; + this.textBoxLabelURL.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.textBoxLabelURL.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(150)))), ((int)(((byte)(243))))); + this.textBoxLabelURL.Location = new System.Drawing.Point(438, 16); + this.textBoxLabelURL.Margin = new System.Windows.Forms.Padding(6, 16, 6, 6); + this.textBoxLabelURL.Name = "textBoxLabelURL"; + this.textBoxLabelURL.Size = new System.Drawing.Size(237, 25); + this.textBoxLabelURL.TabIndex = 35; + this.textBoxLabelURL.Tag = "https://try.inten.to/mt_report_2020"; + this.textBoxLabelURL.Text = "the Intento Benchmarks."; + // + // IntentoFormOptionsMT + // + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.CancelButton = this.buttonCancel; + this.ClientSize = new System.Drawing.Size(1208, 1306); + this.Controls.Add(this.panel4); + this.Controls.Add(this.panel3); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; + this.Margin = new System.Windows.Forms.Padding(6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "IntentoFormOptionsMT"; + this.Padding = new System.Windows.Forms.Padding(32); + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "IntentoFormOptionsMT"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.IntentoFormOptionsMT_FormClosing); + this.tableLayoutPanel5.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel4.ResumeLayout(false); + this.groupBoxOptional.ResumeLayout(false); + this.tableLayoutPanel6.ResumeLayout(false); + this.tableLayoutPanel6.PerformLayout(); + this.groupBoxGlossary.ResumeLayout(false); + this.groupBoxGlossary.PerformLayout(); + this.tableLayoutPanel4.ResumeLayout(false); + this.tableLayoutPanel4.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.groupBoxModel.ResumeLayout(false); + this.groupBoxModel.PerformLayout(); + this.tableLayoutPanel3.ResumeLayout(false); + this.tableLayoutPanel3.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.groupBoxBillingAccount.ResumeLayout(false); + this.groupBoxBillingAccount.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.panelConnectAccount.ResumeLayout(false); + this.panelConnectAccount.PerformLayout(); + this.groupBoxProvider.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.ResumeLayout(false); + } #endregion - public System.Windows.Forms.ComboBox comboBoxProviders; - public System.Windows.Forms.ComboBox comboBoxCredentialId; - public System.Windows.Forms.CheckBox checkBoxUseCustomModel; - public System.Windows.Forms.ComboBox comboBoxModels; - public System.Windows.Forms.ComboBox comboBoxGlossaries; - public System.Windows.Forms.ComboBox comboBoxFrom; - private System.Windows.Forms.Label labelDirectionChar; - public System.Windows.Forms.ComboBox comboBoxTo; private System.Windows.Forms.Button buttonCancel; - private System.Windows.Forms.Label labelHelpBillingAccount; - private System.Windows.Forms.Label labelHelpModel; - private System.Windows.Forms.Label labelHelpGlossary; - private System.Windows.Forms.Label labelHelpOptional; - private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.ToolTip toolTipHelp; - public System.Windows.Forms.GroupBox groupBoxBillingAccount; - public System.Windows.Forms.GroupBox groupBoxModel; - public System.Windows.Forms.TextBox textBoxModel; - public System.Windows.Forms.GroupBox groupBoxGlossary; - public System.Windows.Forms.TextBox textBoxGlossary; public System.Windows.Forms.Button buttonSave; public System.Windows.Forms.Label labelTMP; - private System.Windows.Forms.LinkLabel linkLabel2; - public System.Windows.Forms.GroupBox groupBoxProvider; - public System.Windows.Forms.GroupBox groupBoxOptional; - private System.Windows.Forms.LinkLabel linkLabel3; - public System.Windows.Forms.TextBox textBoxLabelConnectAccount; - public System.Windows.Forms.Panel panelConnectAccount; - public System.Windows.Forms.Button buttonRefresh; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.TextBox textBoxLabelURL; - public System.Windows.Forms.ComboBox comboBoxRouting; - private System.Windows.Forms.Label labelSmartRouting; - } + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel4; + public System.Windows.Forms.GroupBox groupBoxOptional; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel6; + private System.Windows.Forms.Label labelHelpOptional; + public System.Windows.Forms.ComboBox comboBoxTo; + private System.Windows.Forms.Label labelDirectionChar; + public System.Windows.Forms.ComboBox comboBoxFrom; + public System.Windows.Forms.GroupBox groupBoxGlossary; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; + private System.Windows.Forms.Panel panel2; + public System.Windows.Forms.ComboBox comboBoxGlossaries; + public System.Windows.Forms.TextBox textBoxGlossary; + private System.Windows.Forms.Label labelHelpGlossary; + private System.Windows.Forms.LinkLabel linkLabel2; + public System.Windows.Forms.GroupBox groupBoxModel; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; + private System.Windows.Forms.Panel panel1; + public System.Windows.Forms.ComboBox comboBoxModels; + public System.Windows.Forms.TextBox textBoxModel; + private System.Windows.Forms.Label labelHelpModel; + public System.Windows.Forms.CheckBox checkBoxUseCustomModel; + private System.Windows.Forms.LinkLabel linkLabel1; + public System.Windows.Forms.GroupBox groupBoxBillingAccount; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.Label labelHelpBillingAccount; + public System.Windows.Forms.Panel panelConnectAccount; + public System.Windows.Forms.TextBox textBoxLabelConnectAccount; + public System.Windows.Forms.ComboBox comboBoxCredentialId; + public System.Windows.Forms.Button buttonRefresh; + private System.Windows.Forms.LinkLabel linkLabel3; + public System.Windows.Forms.GroupBox groupBoxProvider; + public System.Windows.Forms.ComboBox comboBoxProviders; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.Label labelSmartRouting; + public System.Windows.Forms.ComboBox comboBoxRouting; + private System.Windows.Forms.TextBox textBoxLabelURL; + } } \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.cs index 87502c3..1bb3658 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.cs @@ -29,9 +29,6 @@ public Dictionary RoutingTable } } IntentoTranslationProviderOptionsForm parent; - //const string testString = "1"; - //readonly IList testResultString = new ReadOnlyCollection - // (new List {"1", "1.", "Uno", "Uno." }); const string testString = "14"; readonly IList testResultString = new ReadOnlyCollection (new List { "14", "14.", "Catorce" }); @@ -46,30 +43,23 @@ public Dictionary RoutingTable public IntentoFormOptionsMT(IntentoTranslationProviderOptionsForm form) { InitializeComponent(); + this.SuspendLayout(); LocalizeContent(); + this.ResumeLayout(); parent = form; comboBoxProviders.SelectedIndexChanged += parent.comboBoxProviders_SelectedIndexChanged; - //this.Shown += parent.IntentoTranslationProviderOptionsForm_Shown; - //checkBoxUseOwnCred.CheckedChanged += parent.checkBoxUseOwnCred_CheckedChanged; checkBoxUseCustomModel.CheckedChanged += parent.checkBoxUseCustomModel_CheckedChanged; - //buttonWizard.Click += parent.buttonWizard_Click; comboBoxModels.SelectedIndexChanged += parent.modelControls_ValueChanged; comboBoxCredentialId.SelectedIndexChanged += parent.comboBoxCredentialId_SelectedIndexChanged; textBoxModel.TextChanged += parent.modelControls_ValueChanged; - //checkBoxSmartRouting.CheckedChanged += parent.checkBoxSmartRouting_CheckedChanged; comboBoxRouting.SelectedIndexChanged += parent.checkBoxSmartRouting_CheckedChanged; - //textBoxCredentials.Enter += parent.textBoxCredentials_Enter; textBoxGlossary.TextChanged += parent.glossaryControls_ValueChanged; comboBoxGlossaries.TextChanged += parent.glossaryControls_ValueChanged; textBoxLabelURL.Click += parent.linkLabel_LinkClicked; textBoxLabelConnectAccount.Click += parent.linkLabel_LinkClicked; -// buttonRefresh.Click += parent.buttonRefresh_Click; buttonRefresh.Click += parent.comboBoxProviders_SelectedIndexChanged; comboBoxRouting.Select(); - textBoxModel.Location = comboBoxModels.Location; - textBoxGlossary.Location = comboBoxGlossaries.Location; - move_Controls("account", false); move_Controls("model", false); move_Controls("glossary", false); @@ -78,8 +68,7 @@ public IntentoFormOptionsMT(IntentoTranslationProviderOptionsForm form) private void LocalizeContent() { Text = Resource.MTcaption; - labelHelpBillingAccount.Text = Resource.MTlabelHelpBillingAccount; - //checkBoxUseOwnCred.Text = Resource.MTcheckBoxUseOwnCred; + labelHelpBillingAccount.Text = Resource.MTlabelHelpBillingAccount; labelHelpModel.Text = Resource.MTlabelHelpModel; checkBoxUseCustomModel.Text = Resource.MTcheckBoxUseCustomModel; labelHelpGlossary.Text = Resource.MTlabelHelpGlossary; @@ -103,12 +92,7 @@ public void buttonSave_Click(object sender, EventArgs e) if ((smartRoutingState == null || !smartRoutingState.SmartRouting) && sender != null) { FreezeForm(true); - //var providerState = parent.apiKeyState.smartRoutingState.providerState; - //string to = comboBoxTo.SelectedIndex != -1 ? - // providerState.toLanguages.Where(x => x.Value == comboBoxTo.Text).First().Key : "es"; - //string from = comboBoxFrom.SelectedIndex != -1 ? - // providerState.fromLanguages.Where(x => x.Value == comboBoxFrom.Text).First().Key : "en"; - + IntentoMTFormOptions testOptions = new IntentoMTFormOptions(); parent.apiKeyState.FillOptions(testOptions); string to = testOptions.ToLanguage; @@ -250,15 +234,6 @@ private void DoInvokeTestResult(PluginHelper.ErrorInfo errorInfo, CancellationTo } catch { } } - - //private void checkBoxUseOwnCred_CheckedChanged(object sender, EventArgs e) - //{ - // var value = checkBoxUseOwnCred.Checked; - // comboBoxCredentialId.Enabled = value; - // textBoxCredentials.Enabled = value; - // buttonWizard.Enabled = value; - //} - private void helpLink_Clicked(object sender, LinkLabelLinkClickedEventArgs e) { var tag = (sender as Control).Tag.ToString(); @@ -297,9 +272,7 @@ private void move_Controls(string tag, bool up) private void comboBoxCredentialId_VisibleChanged(object sender, EventArgs e) { panelConnectAccount.Visible = comboBoxCredentialId.Visible; - buttonRefresh.Visible = comboBoxCredentialId.Visible; - // if (comboBoxCredentialId.Visible) - // buttonWizard.Visible = false; + buttonRefresh.Visible = comboBoxCredentialId.Visible; } private void IntentoFormOptionsMT_FormClosing(object sender, FormClosingEventArgs e) diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.resx index e4a2c2a..099205e 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.resx @@ -1,139 +1,139 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 - JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAALP1AACz9QEQdJ6CAAAAB3RJ - TUUH5AQbDwUTwQx3zAAAAS1JREFUOE+V0r8rxHEcx/EvjitJZLLrYuBiUUh0q1+RXOlisCiTgdGm2CgZ - zEaZ+B+oW5R06cog5UpIZp7P7+X64u5b96pH3edzfX68359vUCUJ9GAaOcyiFy2ITQr7uMUr3vGGAg7R - D9OOrvLPcsZwjQ9cYAsr2MQZ3OwGi9jFHMJ44hWesAZ3jqYVLvIG3uQFWYQ17sETXdiAaunGJb7wiSWE - zbFG//h74k+c94BHPKMIGxlMwXq2HdSI1x7AEAaRRifC57Crqw7qjV2zCXa17vThHj6H14uLzbTBlSRx - DOtecCImEziCdVfi4A6+ow1sRjRNGEceDxjBr8zA65dwAt/RBfM4gM+kZfz7FpwYxin80myiG1mOb3uO - DBpRM20YxTp2sIFJdCCSIPgGlMY8eAjj9fMAAAAASUVORK5CYII= - - - - 17, 17 - - - 25 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAALP1AACz9QEQdJ6CAAAAB3RJ + TUUH5AQbDwUTwQx3zAAAAS1JREFUOE+V0r8rxHEcx/EvjitJZLLrYuBiUUh0q1+RXOlisCiTgdGm2CgZ + zEaZ+B+oW5R06cog5UpIZp7P7+X64u5b96pH3edzfX68359vUCUJ9GAaOcyiFy2ITQr7uMUr3vGGAg7R + D9OOrvLPcsZwjQ9cYAsr2MQZ3OwGi9jFHMJ44hWesAZ3jqYVLvIG3uQFWYQ17sETXdiAaunGJb7wiSWE + zbFG//h74k+c94BHPKMIGxlMwXq2HdSI1x7AEAaRRifC57Crqw7qjV2zCXa17vThHj6H14uLzbTBlSRx + DOtecCImEziCdVfi4A6+ow1sRjRNGEceDxjBr8zA65dwAt/RBfM4gM+kZfz7FpwYxin80myiG1mOb3uO + DBpRM20YxTp2sIFJdCCSIPgGlMY8eAjj9fMAAAAASUVORK5CYII= + + + + 25 + \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs index 63503d5..c6148d0 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs @@ -28,354 +28,489 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.groupBoxMTConnect = new System.Windows.Forms.GroupBox(); - this.textBoxLabel1 = new System.Windows.Forms.TextBox(); - this.labelRegister1 = new System.Windows.Forms.Label(); - this.buttonSetApi = new System.Windows.Forms.Button(); - this.labelRegister2 = new System.Windows.Forms.Label(); - this.groupBoxMTSettings = new System.Windows.Forms.GroupBox(); - this.labelApiKeyIsChanged = new System.Windows.Forms.Label(); - this.groupBoxGlossary = new System.Windows.Forms.GroupBox(); - this.textBoxGlossary = new System.Windows.Forms.TextBox(); - this.groupBoxModel = new System.Windows.Forms.GroupBox(); - this.textBoxModel = new System.Windows.Forms.TextBox(); - this.groupBoxBillingAccount = new System.Windows.Forms.GroupBox(); - this.textBoxAccount = new System.Windows.Forms.TextBox(); - this.buttonMTSetting = new System.Windows.Forms.Button(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.textBoxProviderName = new System.Windows.Forms.TextBox(); - this.buttonContinue = new System.Windows.Forms.Button(); - this.groupBoxMTConnect2 = new System.Windows.Forms.GroupBox(); - this.labelIAK = new System.Windows.Forms.Label(); - this.apiKey_tb = new System.Windows.Forms.TextBox(); - this.buttonCheck = new System.Windows.Forms.Button(); - this.buttonAdvanced = new System.Windows.Forms.Button(); - this.buttonHelp = new System.Windows.Forms.Button(); - this.label1 = new System.Windows.Forms.Label(); - this.groupBoxMTConnect.SuspendLayout(); - this.groupBoxMTSettings.SuspendLayout(); - this.groupBoxGlossary.SuspendLayout(); - this.groupBoxModel.SuspendLayout(); - this.groupBoxBillingAccount.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.groupBoxMTConnect2.SuspendLayout(); - this.SuspendLayout(); - // - // groupBoxMTConnect - // - this.groupBoxMTConnect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.groupBoxMTConnect.Controls.Add(this.textBoxLabel1); - this.groupBoxMTConnect.Controls.Add(this.labelRegister1); - this.groupBoxMTConnect.Controls.Add(this.buttonSetApi); - this.groupBoxMTConnect.ForeColor = System.Drawing.SystemColors.ControlText; - this.groupBoxMTConnect.Location = new System.Drawing.Point(12, 12); - this.groupBoxMTConnect.Name = "groupBoxMTConnect"; - this.groupBoxMTConnect.Size = new System.Drawing.Size(623, 85); - this.groupBoxMTConnect.TabIndex = 0; - this.groupBoxMTConnect.TabStop = false; - this.groupBoxMTConnect.Text = "Connect to Intento MT HUB"; - // - // textBoxLabel1 - // - this.textBoxLabel1.BackColor = System.Drawing.SystemColors.Control; - this.textBoxLabel1.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.textBoxLabel1.Cursor = System.Windows.Forms.Cursors.Hand; - this.textBoxLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.textBoxLabel1.ForeColor = System.Drawing.Color.Blue; - this.textBoxLabel1.Location = new System.Drawing.Point(249, 40); - this.textBoxLabel1.Name = "textBoxLabel1"; - this.textBoxLabel1.Size = new System.Drawing.Size(118, 13); - this.textBoxLabel1.TabIndex = 20; - this.textBoxLabel1.Tag = "https://console.inten.to?utm_campaign=Localization&utm_source=appstore_trados"; - this.textBoxLabel1.Text = "https://console.inten.to"; - this.textBoxLabel1.Click += new System.EventHandler(this.linkLabel_LinkClicked); - // - // labelRegister1 - // - this.labelRegister1.AutoSize = true; - this.labelRegister1.Location = new System.Drawing.Point(177, 40); - this.labelRegister1.Name = "labelRegister1"; - this.labelRegister1.Size = new System.Drawing.Size(73, 13); - this.labelRegister1.TabIndex = 19; - this.labelRegister1.Text = "or register at"; - // - // buttonSetApi - // - this.buttonSetApi.Location = new System.Drawing.Point(17, 35); - this.buttonSetApi.Name = "buttonSetApi"; - this.buttonSetApi.Size = new System.Drawing.Size(150, 22); - this.buttonSetApi.TabIndex = 0; - this.buttonSetApi.Text = "Enter your Intento API key"; - this.buttonSetApi.UseVisualStyleBackColor = true; - this.buttonSetApi.Click += new System.EventHandler(this.buttonSetApi_Click); - // - // labelRegister2 - // - this.labelRegister2.AutoSize = true; - this.labelRegister2.Location = new System.Drawing.Point(364, 40); - this.labelRegister2.Name = "labelRegister2"; - this.labelRegister2.Size = new System.Drawing.Size(58, 13); - this.labelRegister2.TabIndex = 21; - this.labelRegister2.Text = "to get one."; - // - // groupBoxMTSettings - // - this.groupBoxMTSettings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.groupBoxMTSettings.Controls.Add(this.labelApiKeyIsChanged); - this.groupBoxMTSettings.Controls.Add(this.groupBoxGlossary); - this.groupBoxMTSettings.Controls.Add(this.groupBoxModel); - this.groupBoxMTSettings.Controls.Add(this.groupBoxBillingAccount); - this.groupBoxMTSettings.Controls.Add(this.buttonMTSetting); - this.groupBoxMTSettings.Controls.Add(this.groupBox1); - this.groupBoxMTSettings.Location = new System.Drawing.Point(12, 112); - this.groupBoxMTSettings.Name = "groupBoxMTSettings"; - this.groupBoxMTSettings.Size = new System.Drawing.Size(623, 286); - this.groupBoxMTSettings.TabIndex = 1; - this.groupBoxMTSettings.TabStop = false; - this.groupBoxMTSettings.Text = "Machine Translation Settings"; - // - // labelApiKeyIsChanged - // - this.labelApiKeyIsChanged.AutoSize = true; - this.labelApiKeyIsChanged.ForeColor = System.Drawing.Color.Red; - this.labelApiKeyIsChanged.Location = new System.Drawing.Point(317, 13); - this.labelApiKeyIsChanged.Name = "labelApiKeyIsChanged"; - this.labelApiKeyIsChanged.Size = new System.Drawing.Size(299, 13); - this.labelApiKeyIsChanged.TabIndex = 29; - this.labelApiKeyIsChanged.Text = "You changed ApiKey. We recommend to test MT Settings."; - this.labelApiKeyIsChanged.Visible = false; - // - // groupBoxGlossary - // - this.groupBoxGlossary.Controls.Add(this.textBoxGlossary); - this.groupBoxGlossary.Location = new System.Drawing.Point(18, 211); - this.groupBoxGlossary.Name = "groupBoxGlossary"; - this.groupBoxGlossary.Size = new System.Drawing.Size(589, 46); - this.groupBoxGlossary.TabIndex = 4; - this.groupBoxGlossary.TabStop = false; - this.groupBoxGlossary.Text = "Glossary"; - // - // textBoxGlossary - // - this.textBoxGlossary.BackColor = System.Drawing.SystemColors.Info; - this.textBoxGlossary.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxGlossary.Enabled = false; - this.textBoxGlossary.Location = new System.Drawing.Point(13, 19); - this.textBoxGlossary.Name = "textBoxGlossary"; - this.textBoxGlossary.ReadOnly = true; - this.textBoxGlossary.Size = new System.Drawing.Size(564, 22); - this.textBoxGlossary.TabIndex = 0; - this.textBoxGlossary.Text = "N/A"; - // - // groupBoxModel - // - this.groupBoxModel.Controls.Add(this.textBoxModel); - this.groupBoxModel.Location = new System.Drawing.Point(18, 148); - this.groupBoxModel.Name = "groupBoxModel"; - this.groupBoxModel.Size = new System.Drawing.Size(589, 46); - this.groupBoxModel.TabIndex = 3; - this.groupBoxModel.TabStop = false; - this.groupBoxModel.Text = "Model"; - // - // textBoxModel - // - this.textBoxModel.BackColor = System.Drawing.SystemColors.Info; - this.textBoxModel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxModel.Enabled = false; - this.textBoxModel.Location = new System.Drawing.Point(13, 19); - this.textBoxModel.Name = "textBoxModel"; - this.textBoxModel.ReadOnly = true; - this.textBoxModel.Size = new System.Drawing.Size(564, 22); - this.textBoxModel.TabIndex = 0; - this.textBoxModel.Text = "N/A"; - // - // groupBoxBillingAccount - // - this.groupBoxBillingAccount.Controls.Add(this.textBoxAccount); - this.groupBoxBillingAccount.Location = new System.Drawing.Point(18, 87); - this.groupBoxBillingAccount.Name = "groupBoxBillingAccount"; - this.groupBoxBillingAccount.Size = new System.Drawing.Size(589, 46); - this.groupBoxBillingAccount.TabIndex = 2; - this.groupBoxBillingAccount.TabStop = false; - this.groupBoxBillingAccount.Text = "Billing Account"; - // - // textBoxAccount - // - this.textBoxAccount.BackColor = System.Drawing.SystemColors.Info; - this.textBoxAccount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxAccount.Enabled = false; - this.textBoxAccount.Location = new System.Drawing.Point(13, 19); - this.textBoxAccount.Name = "textBoxAccount"; - this.textBoxAccount.ReadOnly = true; - this.textBoxAccount.Size = new System.Drawing.Size(564, 22); - this.textBoxAccount.TabIndex = 0; - this.textBoxAccount.Text = "N/A"; - // - // buttonMTSetting - // - this.buttonMTSetting.Location = new System.Drawing.Point(445, 46); - this.buttonMTSetting.Name = "buttonMTSetting"; - this.buttonMTSetting.Size = new System.Drawing.Size(150, 22); - this.buttonMTSetting.TabIndex = 1; - this.buttonMTSetting.Text = "Change MT Settings"; - this.buttonMTSetting.UseVisualStyleBackColor = true; - this.buttonMTSetting.Click += new System.EventHandler(this.buttonMTSetting_Click); - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.textBoxProviderName); - this.groupBox1.Location = new System.Drawing.Point(18, 27); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(404, 46); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Provider"; - // - // textBoxProviderName - // - this.textBoxProviderName.BackColor = System.Drawing.SystemColors.Info; - this.textBoxProviderName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.textBoxProviderName.Enabled = false; - this.textBoxProviderName.Location = new System.Drawing.Point(13, 19); - this.textBoxProviderName.Name = "textBoxProviderName"; - this.textBoxProviderName.ReadOnly = true; - this.textBoxProviderName.Size = new System.Drawing.Size(379, 22); - this.textBoxProviderName.TabIndex = 0; - this.textBoxProviderName.Text = "N/A"; - // - // buttonContinue - // - this.buttonContinue.Enabled = false; - this.buttonContinue.Location = new System.Drawing.Point(485, 413); - this.buttonContinue.Name = "buttonContinue"; - this.buttonContinue.Size = new System.Drawing.Size(150, 22); - this.buttonContinue.TabIndex = 19; - this.buttonContinue.Text = "Close"; - this.buttonContinue.UseVisualStyleBackColor = true; - this.buttonContinue.Click += new System.EventHandler(this.buttonContinue_Click); - // - // groupBoxMTConnect2 - // - this.groupBoxMTConnect2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.groupBoxMTConnect2.Controls.Add(this.labelIAK); - this.groupBoxMTConnect2.Controls.Add(this.apiKey_tb); - this.groupBoxMTConnect2.Controls.Add(this.buttonCheck); - this.groupBoxMTConnect2.ForeColor = System.Drawing.SystemColors.ControlText; - this.groupBoxMTConnect2.Location = new System.Drawing.Point(412, 9); - this.groupBoxMTConnect2.Name = "groupBoxMTConnect2"; - this.groupBoxMTConnect2.Size = new System.Drawing.Size(623, 85); - this.groupBoxMTConnect2.TabIndex = 21; - this.groupBoxMTConnect2.TabStop = false; - this.groupBoxMTConnect2.Text = "Connect to Intento MT HUB"; - // - // labelIAK - // - this.labelIAK.AutoSize = true; - this.labelIAK.Location = new System.Drawing.Point(18, 40); - this.labelIAK.Name = "labelIAK"; - this.labelIAK.Size = new System.Drawing.Size(43, 13); - this.labelIAK.TabIndex = 28; - this.labelIAK.Text = "API Key"; - // - // apiKey_tb - // - this.apiKey_tb.BackColor = System.Drawing.SystemColors.Info; - this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.apiKey_tb.Location = new System.Drawing.Point(118, 37); - this.apiKey_tb.Name = "apiKey_tb"; - this.apiKey_tb.PasswordChar = '*'; - this.apiKey_tb.ReadOnly = true; - this.apiKey_tb.Size = new System.Drawing.Size(369, 22); - this.apiKey_tb.TabIndex = 26; - this.apiKey_tb.UseSystemPasswordChar = true; - this.apiKey_tb.WordWrap = false; - // - // buttonCheck - // - this.buttonCheck.Location = new System.Drawing.Point(515, 37); - this.buttonCheck.Name = "buttonCheck"; - this.buttonCheck.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.buttonCheck.Size = new System.Drawing.Size(81, 22); - this.buttonCheck.TabIndex = 27; - this.buttonCheck.Text = "Check"; - this.buttonCheck.UseVisualStyleBackColor = true; - this.buttonCheck.Click += new System.EventHandler(this.buttonSetApi_Click); - // - // buttonAdvanced - // - this.buttonAdvanced.Location = new System.Drawing.Point(29, 413); - this.buttonAdvanced.Name = "buttonAdvanced"; - this.buttonAdvanced.Size = new System.Drawing.Size(150, 22); - this.buttonAdvanced.TabIndex = 22; - this.buttonAdvanced.Text = "1Adnanced"; - this.buttonAdvanced.UseVisualStyleBackColor = true; - this.buttonAdvanced.Click += new System.EventHandler(this.buttonAdvanced_Click); - // - // buttonHelp - // - this.buttonHelp.Location = new System.Drawing.Point(198, 413); - this.buttonHelp.Name = "buttonHelp"; - this.buttonHelp.Size = new System.Drawing.Size(101, 22); - this.buttonHelp.TabIndex = 23; - this.buttonHelp.Text = "Help"; - this.buttonHelp.UseVisualStyleBackColor = true; - this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(12, 430); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(10, 13); - this.label1.TabIndex = 24; - this.label1.Text = "."; - // - // IntentoTranslationProviderOptionsForm - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(647, 449); - this.Controls.Add(this.label1); - this.Controls.Add(this.buttonHelp); - this.Controls.Add(this.buttonAdvanced); - this.Controls.Add(this.groupBoxMTConnect2); - this.Controls.Add(this.buttonContinue); - this.Controls.Add(this.groupBoxMTSettings); - this.Controls.Add(this.groupBoxMTConnect); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.Name = "IntentoTranslationProviderOptionsForm"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "MainForm"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.IntentoTranslationProviderOptionsForm_FormClosing); - this.groupBoxMTConnect.ResumeLayout(false); - this.groupBoxMTConnect.PerformLayout(); - this.groupBoxMTSettings.ResumeLayout(false); - this.groupBoxMTSettings.PerformLayout(); - this.groupBoxGlossary.ResumeLayout(false); - this.groupBoxGlossary.PerformLayout(); - this.groupBoxModel.ResumeLayout(false); - this.groupBoxModel.PerformLayout(); - this.groupBoxBillingAccount.ResumeLayout(false); - this.groupBoxBillingAccount.PerformLayout(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.groupBoxMTConnect2.ResumeLayout(false); - this.groupBoxMTConnect2.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - + this.groupBoxMTConnect = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.labelRegister1 = new System.Windows.Forms.Label(); + this.buttonSetApi = new System.Windows.Forms.Button(); + this.labelRegister2 = new System.Windows.Forms.Label(); + this.groupBoxMTSettings = new System.Windows.Forms.GroupBox(); + this.groupBoxGlossary = new System.Windows.Forms.GroupBox(); + this.textBoxGlossary = new System.Windows.Forms.TextBox(); + this.groupBoxModel = new System.Windows.Forms.GroupBox(); + this.textBoxModel = new System.Windows.Forms.TextBox(); + this.groupBoxBillingAccount = new System.Windows.Forms.GroupBox(); + this.textBoxAccount = new System.Windows.Forms.TextBox(); + this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.textBoxProviderName = new System.Windows.Forms.TextBox(); + this.buttonMTSetting = new System.Windows.Forms.Button(); + this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); + this.labelApiKeyIsChanged = new System.Windows.Forms.Label(); + this.buttonContinue = new System.Windows.Forms.Button(); + this.groupBoxMTConnect2 = new System.Windows.Forms.GroupBox(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.labelIAK = new System.Windows.Forms.Label(); + this.buttonCheck = new System.Windows.Forms.Button(); + this.apiKey_tb = new System.Windows.Forms.TextBox(); + this.buttonAdvanced = new System.Windows.Forms.Button(); + this.buttonHelp = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.groupBoxMTConnect.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.groupBoxMTSettings.SuspendLayout(); + this.groupBoxGlossary.SuspendLayout(); + this.groupBoxModel.SuspendLayout(); + this.groupBoxBillingAccount.SuspendLayout(); + this.tableLayoutPanel4.SuspendLayout(); + this.groupBox1.SuspendLayout(); + this.tableLayoutPanel5.SuspendLayout(); + this.groupBoxMTConnect2.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.SuspendLayout(); + // + // groupBoxMTConnect + // + this.groupBoxMTConnect.Controls.Add(this.tableLayoutPanel1); + this.groupBoxMTConnect.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxMTConnect.ForeColor = System.Drawing.SystemColors.ControlText; + this.groupBoxMTConnect.Location = new System.Drawing.Point(16, 16); + this.groupBoxMTConnect.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxMTConnect.Name = "groupBoxMTConnect"; + this.groupBoxMTConnect.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxMTConnect.Size = new System.Drawing.Size(1130, 125); + this.groupBoxMTConnect.TabIndex = 0; + this.groupBoxMTConnect.TabStop = false; + this.groupBoxMTConnect.Text = "Connect to Intento MT HUB"; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.ColumnCount = 3; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Controls.Add(this.linkLabel1, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.labelRegister1, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.buttonSetApi, 0, 0); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1098, 63); + this.tableLayoutPanel1.TabIndex = 22; + // + // linkLabel1 + // + this.linkLabel1.Cursor = System.Windows.Forms.Cursors.Hand; + this.linkLabel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.linkLabel1.LinkVisited = true; + this.linkLabel1.Location = new System.Drawing.Point(630, 0); + this.linkLabel1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(463, 63); + this.linkLabel1.TabIndex = 29; + this.linkLabel1.TabStop = true; + this.linkLabel1.Tag = "https://console.inten.to?utm_campaign=Localization&utm_source=appstore_trados"; + this.linkLabel1.Text = "https://console.inten.to"; + this.linkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue; + this.linkLabel1.Click += new System.EventHandler(this.linkLabel_LinkClicked); + // + // labelRegister1 + // + this.labelRegister1.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelRegister1.Location = new System.Drawing.Point(478, 0); + this.labelRegister1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelRegister1.Name = "labelRegister1"; + this.labelRegister1.Size = new System.Drawing.Size(141, 63); + this.labelRegister1.TabIndex = 19; + this.labelRegister1.Text = "or register at"; + this.labelRegister1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // buttonSetApi + // + this.buttonSetApi.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonSetApi.Location = new System.Drawing.Point(6, 6); + this.buttonSetApi.Margin = new System.Windows.Forms.Padding(6); + this.buttonSetApi.Name = "buttonSetApi"; + this.buttonSetApi.Size = new System.Drawing.Size(460, 51); + this.buttonSetApi.TabIndex = 0; + this.buttonSetApi.Text = "Enter your Intento API key"; + this.buttonSetApi.UseVisualStyleBackColor = true; + this.buttonSetApi.Click += new System.EventHandler(this.buttonSetApi_Click); + // + // labelRegister2 + // + this.labelRegister2.AutoSize = true; + this.labelRegister2.Location = new System.Drawing.Point(364, 40); + this.labelRegister2.Name = "labelRegister2"; + this.labelRegister2.Size = new System.Drawing.Size(58, 13); + this.labelRegister2.TabIndex = 21; + this.labelRegister2.Text = "to get one."; + // + // groupBoxMTSettings + // + this.groupBoxMTSettings.Controls.Add(this.groupBoxGlossary); + this.groupBoxMTSettings.Controls.Add(this.groupBoxModel); + this.groupBoxMTSettings.Controls.Add(this.groupBoxBillingAccount); + this.groupBoxMTSettings.Controls.Add(this.tableLayoutPanel4); + this.groupBoxMTSettings.Controls.Add(this.tableLayoutPanel5); + this.groupBoxMTSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBoxMTSettings.Location = new System.Drawing.Point(16, 259); + this.groupBoxMTSettings.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxMTSettings.Name = "groupBoxMTSettings"; + this.groupBoxMTSettings.Padding = new System.Windows.Forms.Padding(16, 6, 6, 6); + this.groupBoxMTSettings.Size = new System.Drawing.Size(1130, 668); + this.groupBoxMTSettings.TabIndex = 1; + this.groupBoxMTSettings.TabStop = false; + this.groupBoxMTSettings.Text = "Machine Translation Settings"; + // + // groupBoxGlossary + // + this.groupBoxGlossary.Controls.Add(this.textBoxGlossary); + this.groupBoxGlossary.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxGlossary.Location = new System.Drawing.Point(16, 419); + this.groupBoxGlossary.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxGlossary.Name = "groupBoxGlossary"; + this.groupBoxGlossary.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxGlossary.Size = new System.Drawing.Size(1108, 115); + this.groupBoxGlossary.TabIndex = 4; + this.groupBoxGlossary.TabStop = false; + this.groupBoxGlossary.Text = "Glossary"; + // + // textBoxGlossary + // + this.textBoxGlossary.BackColor = System.Drawing.SystemColors.Info; + this.textBoxGlossary.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxGlossary.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxGlossary.Enabled = false; + this.textBoxGlossary.Location = new System.Drawing.Point(16, 46); + this.textBoxGlossary.Margin = new System.Windows.Forms.Padding(6); + this.textBoxGlossary.Name = "textBoxGlossary"; + this.textBoxGlossary.ReadOnly = true; + this.textBoxGlossary.Size = new System.Drawing.Size(1076, 37); + this.textBoxGlossary.TabIndex = 0; + this.textBoxGlossary.Text = "N/A"; + // + // groupBoxModel + // + this.groupBoxModel.Controls.Add(this.textBoxModel); + this.groupBoxModel.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxModel.Location = new System.Drawing.Point(16, 304); + this.groupBoxModel.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxModel.Name = "groupBoxModel"; + this.groupBoxModel.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxModel.Size = new System.Drawing.Size(1108, 115); + this.groupBoxModel.TabIndex = 3; + this.groupBoxModel.TabStop = false; + this.groupBoxModel.Text = "Model"; + // + // textBoxModel + // + this.textBoxModel.BackColor = System.Drawing.SystemColors.Info; + this.textBoxModel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxModel.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxModel.Enabled = false; + this.textBoxModel.Location = new System.Drawing.Point(16, 46); + this.textBoxModel.Margin = new System.Windows.Forms.Padding(6); + this.textBoxModel.Name = "textBoxModel"; + this.textBoxModel.ReadOnly = true; + this.textBoxModel.Size = new System.Drawing.Size(1076, 37); + this.textBoxModel.TabIndex = 0; + this.textBoxModel.Text = "N/A"; + // + // groupBoxBillingAccount + // + this.groupBoxBillingAccount.Controls.Add(this.textBoxAccount); + this.groupBoxBillingAccount.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxBillingAccount.Location = new System.Drawing.Point(16, 189); + this.groupBoxBillingAccount.Margin = new System.Windows.Forms.Padding(6); + this.groupBoxBillingAccount.Name = "groupBoxBillingAccount"; + this.groupBoxBillingAccount.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxBillingAccount.Size = new System.Drawing.Size(1108, 115); + this.groupBoxBillingAccount.TabIndex = 2; + this.groupBoxBillingAccount.TabStop = false; + this.groupBoxBillingAccount.Text = "Billing Account"; + // + // textBoxAccount + // + this.textBoxAccount.BackColor = System.Drawing.SystemColors.Info; + this.textBoxAccount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxAccount.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxAccount.Enabled = false; + this.textBoxAccount.Location = new System.Drawing.Point(16, 46); + this.textBoxAccount.Margin = new System.Windows.Forms.Padding(6); + this.textBoxAccount.Name = "textBoxAccount"; + this.textBoxAccount.ReadOnly = true; + this.textBoxAccount.Size = new System.Drawing.Size(1076, 37); + this.textBoxAccount.TabIndex = 0; + this.textBoxAccount.Text = "N/A"; + // + // tableLayoutPanel4 + // + this.tableLayoutPanel4.ColumnCount = 2; + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F)); + this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); + this.tableLayoutPanel4.Controls.Add(this.groupBox1, 0, 0); + this.tableLayoutPanel4.Controls.Add(this.buttonMTSetting, 1, 0); + this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel4.Location = new System.Drawing.Point(16, 74); + this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel4.Name = "tableLayoutPanel4"; + this.tableLayoutPanel4.RowCount = 1; + this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel4.Size = new System.Drawing.Size(1108, 115); + this.tableLayoutPanel4.TabIndex = 32; + // + // groupBox1 + // + this.groupBox1.Controls.Add(this.textBoxProviderName); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Margin = new System.Windows.Forms.Padding(0); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Padding = new System.Windows.Forms.Padding(16); + this.groupBox1.Size = new System.Drawing.Size(775, 115); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "Provider"; + // + // textBoxProviderName + // + this.textBoxProviderName.BackColor = System.Drawing.SystemColors.Info; + this.textBoxProviderName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBoxProviderName.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxProviderName.Enabled = false; + this.textBoxProviderName.Location = new System.Drawing.Point(16, 46); + this.textBoxProviderName.Margin = new System.Windows.Forms.Padding(6); + this.textBoxProviderName.Name = "textBoxProviderName"; + this.textBoxProviderName.ReadOnly = true; + this.textBoxProviderName.Size = new System.Drawing.Size(743, 37); + this.textBoxProviderName.TabIndex = 0; + this.textBoxProviderName.Text = "N/A"; + // + // buttonMTSetting + // + this.buttonMTSetting.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonMTSetting.Location = new System.Drawing.Point(795, 40); + this.buttonMTSetting.Margin = new System.Windows.Forms.Padding(20, 40, 3, 25); + this.buttonMTSetting.Name = "buttonMTSetting"; + this.buttonMTSetting.Size = new System.Drawing.Size(310, 50); + this.buttonMTSetting.TabIndex = 1; + this.buttonMTSetting.Text = "Change MT Settings"; + this.buttonMTSetting.UseVisualStyleBackColor = true; + this.buttonMTSetting.Click += new System.EventHandler(this.buttonMTSetting_Click); + // + // tableLayoutPanel5 + // + this.tableLayoutPanel5.ColumnCount = 2; + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel5.Controls.Add(this.labelApiKeyIsChanged, 1, 0); + this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Top; + this.tableLayoutPanel5.Location = new System.Drawing.Point(16, 36); + this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel5.Name = "tableLayoutPanel5"; + this.tableLayoutPanel5.RowCount = 1; + this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel5.Size = new System.Drawing.Size(1108, 38); + this.tableLayoutPanel5.TabIndex = 31; + // + // labelApiKeyIsChanged + // + this.labelApiKeyIsChanged.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelApiKeyIsChanged.ForeColor = System.Drawing.Color.Red; + this.labelApiKeyIsChanged.Location = new System.Drawing.Point(524, 0); + this.labelApiKeyIsChanged.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.labelApiKeyIsChanged.Name = "labelApiKeyIsChanged"; + this.labelApiKeyIsChanged.Size = new System.Drawing.Size(578, 38); + this.labelApiKeyIsChanged.TabIndex = 29; + this.labelApiKeyIsChanged.Text = "You changed ApiKey. We recommend to test MT Settings."; + this.labelApiKeyIsChanged.Visible = false; + // + // buttonContinue + // + this.buttonContinue.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonContinue.Enabled = false; + this.buttonContinue.Location = new System.Drawing.Point(910, 6); + this.buttonContinue.Margin = new System.Windows.Forms.Padding(6); + this.buttonContinue.Name = "buttonContinue"; + this.buttonContinue.Size = new System.Drawing.Size(214, 50); + this.buttonContinue.TabIndex = 19; + this.buttonContinue.Text = "Close"; + this.buttonContinue.UseVisualStyleBackColor = true; + this.buttonContinue.Click += new System.EventHandler(this.buttonContinue_Click); + // + // groupBoxMTConnect2 + // + this.groupBoxMTConnect2.Controls.Add(this.tableLayoutPanel2); + this.groupBoxMTConnect2.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBoxMTConnect2.ForeColor = System.Drawing.SystemColors.ControlText; + this.groupBoxMTConnect2.Location = new System.Drawing.Point(16, 141); + this.groupBoxMTConnect2.Margin = new System.Windows.Forms.Padding(0); + this.groupBoxMTConnect2.Name = "groupBoxMTConnect2"; + this.groupBoxMTConnect2.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxMTConnect2.Size = new System.Drawing.Size(1130, 118); + this.groupBoxMTConnect2.TabIndex = 21; + this.groupBoxMTConnect2.TabStop = false; + this.groupBoxMTConnect2.Text = "Connect to Intento MT HUB"; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.ColumnCount = 3; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 208F)); + this.tableLayoutPanel2.Controls.Add(this.labelIAK, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.buttonCheck, 2, 0); + this.tableLayoutPanel2.Controls.Add(this.apiKey_tb, 1, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Location = new System.Drawing.Point(16, 46); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tableLayoutPanel2.Size = new System.Drawing.Size(1098, 56); + this.tableLayoutPanel2.TabIndex = 29; + // + // labelIAK + // + this.labelIAK.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelIAK.Location = new System.Drawing.Point(3, 3); + this.labelIAK.Margin = new System.Windows.Forms.Padding(3); + this.labelIAK.Name = "labelIAK"; + this.labelIAK.Size = new System.Drawing.Size(91, 50); + this.labelIAK.TabIndex = 28; + this.labelIAK.Text = "API Key"; + this.labelIAK.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // buttonCheck + // + this.buttonCheck.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonCheck.Location = new System.Drawing.Point(893, 3); + this.buttonCheck.Name = "buttonCheck"; + this.buttonCheck.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.buttonCheck.Size = new System.Drawing.Size(202, 50); + this.buttonCheck.TabIndex = 27; + this.buttonCheck.Text = "Check"; + this.buttonCheck.UseVisualStyleBackColor = true; + this.buttonCheck.Click += new System.EventHandler(this.buttonSetApi_Click); + // + // apiKey_tb + // + this.apiKey_tb.BackColor = System.Drawing.SystemColors.Info; + this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.apiKey_tb.Dock = System.Windows.Forms.DockStyle.Top; + this.apiKey_tb.Location = new System.Drawing.Point(103, 10); + this.apiKey_tb.Margin = new System.Windows.Forms.Padding(6, 10, 6, 6); + this.apiKey_tb.Name = "apiKey_tb"; + this.apiKey_tb.PasswordChar = '*'; + this.apiKey_tb.ReadOnly = true; + this.apiKey_tb.Size = new System.Drawing.Size(781, 37); + this.apiKey_tb.TabIndex = 26; + this.apiKey_tb.UseSystemPasswordChar = true; + this.apiKey_tb.WordWrap = false; + // + // buttonAdvanced + // + this.buttonAdvanced.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonAdvanced.Location = new System.Drawing.Point(6, 6); + this.buttonAdvanced.Margin = new System.Windows.Forms.Padding(6); + this.buttonAdvanced.Name = "buttonAdvanced"; + this.buttonAdvanced.Size = new System.Drawing.Size(214, 50); + this.buttonAdvanced.TabIndex = 22; + this.buttonAdvanced.Text = "Adnanced"; + this.buttonAdvanced.UseVisualStyleBackColor = true; + this.buttonAdvanced.Click += new System.EventHandler(this.buttonAdvanced_Click); + // + // buttonHelp + // + this.buttonHelp.Dock = System.Windows.Forms.DockStyle.Left; + this.buttonHelp.Location = new System.Drawing.Point(232, 6); + this.buttonHelp.Margin = new System.Windows.Forms.Padding(6); + this.buttonHelp.Name = "buttonHelp"; + this.buttonHelp.Size = new System.Drawing.Size(202, 50); + this.buttonHelp.TabIndex = 23; + this.buttonHelp.Text = "Help"; + this.buttonHelp.UseVisualStyleBackColor = true; + this.buttonHelp.Click += new System.EventHandler(this.buttonHelp_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(40, 877); + this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(18, 30); + this.label1.TabIndex = 24; + this.label1.Text = "."; + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.ColumnCount = 3; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel3.Controls.Add(this.buttonAdvanced, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.buttonHelp, 1, 0); + this.tableLayoutPanel3.Controls.Add(this.buttonContinue, 2, 0); + this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; + this.tableLayoutPanel3.Location = new System.Drawing.Point(16, 927); + this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(5); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(1130, 62); + this.tableLayoutPanel3.TabIndex = 25; + // + // IntentoTranslationProviderOptionsForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.ClientSize = new System.Drawing.Size(1162, 1021); + this.Controls.Add(this.groupBoxMTSettings); + this.Controls.Add(this.tableLayoutPanel3); + this.Controls.Add(this.label1); + this.Controls.Add(this.groupBoxMTConnect2); + this.Controls.Add(this.groupBoxMTConnect); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.Margin = new System.Windows.Forms.Padding(6); + this.MaximizeBox = false; + this.Name = "IntentoTranslationProviderOptionsForm"; + this.Padding = new System.Windows.Forms.Padding(16, 16, 16, 32); + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "MainForm"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.IntentoTranslationProviderOptionsForm_FormClosing); + this.groupBoxMTConnect.ResumeLayout(false); + this.tableLayoutPanel1.ResumeLayout(false); + this.groupBoxMTSettings.ResumeLayout(false); + this.groupBoxGlossary.ResumeLayout(false); + this.groupBoxGlossary.PerformLayout(); + this.groupBoxModel.ResumeLayout(false); + this.groupBoxModel.PerformLayout(); + this.groupBoxBillingAccount.ResumeLayout(false); + this.groupBoxBillingAccount.PerformLayout(); + this.tableLayoutPanel4.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); + this.tableLayoutPanel5.ResumeLayout(false); + this.groupBoxMTConnect2.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.tableLayoutPanel3.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion private System.Windows.Forms.GroupBox groupBoxMTSettings; private System.Windows.Forms.Button buttonSetApi; private System.Windows.Forms.Label labelRegister2; - private System.Windows.Forms.TextBox textBoxLabel1; private System.Windows.Forms.Label labelRegister1; private System.Windows.Forms.GroupBox groupBoxGlossary; private System.Windows.Forms.GroupBox groupBoxModel; @@ -396,5 +531,11 @@ private void InitializeComponent() public System.Windows.Forms.TextBox textBoxModel; public System.Windows.Forms.TextBox textBoxAccount; public System.Windows.Forms.TextBox textBoxProviderName; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4; } } \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.cs index d3acfa2..9cbc672 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.cs @@ -171,8 +171,7 @@ Func fabric DialogResult = DialogResult.None; var arr = originalOptions.Signature.Split('/'); - formAdvanced.toolStripStatusLabel1.Text = arr.Count() == 3 ? String.Format("{0}/{1}", arr[0], arr[2]) : originalOptions.Signature; - groupBoxMTConnect2.Location = groupBoxMTConnect.Location; + formAdvanced.toolStripStatusLabel1.Text = arr.Count() == 3 ? String.Format("{0}/{1}", arr[0], arr[2]) : originalOptions.Signature; if (!string.IsNullOrWhiteSpace(apiKeyState.apiKey)) { diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.resx index 1af7de1..29dcb1b 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.resx @@ -1,120 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.Designer.cs index ef84c07..48e04c5 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.Designer.cs @@ -28,108 +28,110 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.buttonOK = new System.Windows.Forms.Button(); - this.label1 = new System.Windows.Forms.Label(); - this.checkBoxShowHidden = new System.Windows.Forms.CheckBox(); - this.tlpMain = new System.Windows.Forms.TableLayoutPanel(); - this.tlpCustomCredentials = new System.Windows.Forms.TableLayoutPanel(); - this.tlpMain.SuspendLayout(); - this.SuspendLayout(); - // - // buttonOK - // - this.buttonOK.AutoSize = true; - this.buttonOK.Enabled = false; - this.buttonOK.Location = new System.Drawing.Point(322, 63); - this.buttonOK.Name = "buttonOK"; - this.buttonOK.Size = new System.Drawing.Size(75, 20); - this.buttonOK.TabIndex = 8; - this.buttonOK.Text = "OK"; - this.buttonOK.UseVisualStyleBackColor = true; - this.buttonOK.Click += new System.EventHandler(this.buttonContinue_Click); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(3, 10); - this.label1.Margin = new System.Windows.Forms.Padding(3, 10, 3, 10); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(158, 13); - this.label1.TabIndex = 9; - this.label1.Text = "Custom credentials (required)"; - this.label1.UseWaitCursor = true; - // - // checkBoxShowHidden - // - this.checkBoxShowHidden.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.checkBoxShowHidden.AutoSize = true; - this.checkBoxShowHidden.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.checkBoxShowHidden.Location = new System.Drawing.Point(3, 66); - this.checkBoxShowHidden.Name = "checkBoxShowHidden"; - this.checkBoxShowHidden.Size = new System.Drawing.Size(114, 17); - this.checkBoxShowHidden.TabIndex = 17; - this.checkBoxShowHidden.Text = "Show hidden text"; - this.checkBoxShowHidden.UseVisualStyleBackColor = true; - this.checkBoxShowHidden.CheckedChanged += new System.EventHandler(this.checkBoxShowHidden_CheckedChanged); - // - // tlpMain - // - this.tlpMain.AutoSize = true; - this.tlpMain.ColumnCount = 2; - this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tlpMain.Controls.Add(this.label1, 0, 0); - this.tlpMain.Controls.Add(this.checkBoxShowHidden, 0, 2); - this.tlpMain.Controls.Add(this.buttonOK, 1, 2); - this.tlpMain.Controls.Add(this.tlpCustomCredentials, 0, 1); - this.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill; - this.tlpMain.Location = new System.Drawing.Point(0, 0); - this.tlpMain.Name = "tlpMain"; - this.tlpMain.RowCount = 3; - this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); - this.tlpMain.Size = new System.Drawing.Size(400, 86); - this.tlpMain.TabIndex = 18; - // - // tlpCustomCredentials - // - this.tlpCustomCredentials.AutoSize = true; - this.tlpCustomCredentials.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.tlpCustomCredentials.ColumnCount = 2; - this.tlpMain.SetColumnSpan(this.tlpCustomCredentials, 2); - this.tlpCustomCredentials.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tlpCustomCredentials.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tlpCustomCredentials.Dock = System.Windows.Forms.DockStyle.Top; - this.tlpCustomCredentials.Location = new System.Drawing.Point(3, 36); - this.tlpCustomCredentials.Name = "tlpCustomCredentials"; - this.tlpCustomCredentials.RowCount = 1; - this.tlpCustomCredentials.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tlpCustomCredentials.Size = new System.Drawing.Size(394, 0); - this.tlpCustomCredentials.TabIndex = 18; - // - // IntentoFormProviderAuthWizard - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.AutoSize = true; - this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ClientSize = new System.Drawing.Size(400, 86); - this.Controls.Add(this.tlpMain); - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "IntentoFormProviderAuthWizard"; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Enter credentials"; - this.TopMost = true; - this.tlpMain.ResumeLayout(false); - this.tlpMain.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); - + this.buttonOK = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.checkBoxShowHidden = new System.Windows.Forms.CheckBox(); + this.tlpMain = new System.Windows.Forms.TableLayoutPanel(); + this.tlpCustomCredentials = new System.Windows.Forms.TableLayoutPanel(); + this.tlpMain.SuspendLayout(); + this.SuspendLayout(); + // + // buttonOK + // + this.buttonOK.Dock = System.Windows.Forms.DockStyle.Fill; + this.buttonOK.Enabled = false; + this.buttonOK.Location = new System.Drawing.Point(706, 129); + this.buttonOK.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.buttonOK.Name = "buttonOK"; + this.buttonOK.Size = new System.Drawing.Size(163, 52); + this.buttonOK.TabIndex = 8; + this.buttonOK.Text = "OK"; + this.buttonOK.UseVisualStyleBackColor = true; + this.buttonOK.Click += new System.EventHandler(this.buttonContinue_Click); + // + // label1 + // + this.label1.Dock = System.Windows.Forms.DockStyle.Fill; + this.label1.Location = new System.Drawing.Point(6, 19); + this.label1.Margin = new System.Windows.Forms.Padding(6, 19, 6, 19); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(688, 27); + this.label1.TabIndex = 9; + this.label1.Text = "Custom credentials (required)"; + this.label1.UseWaitCursor = true; + // + // checkBoxShowHidden + // + this.checkBoxShowHidden.Dock = System.Windows.Forms.DockStyle.Fill; + this.checkBoxShowHidden.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.checkBoxShowHidden.Location = new System.Drawing.Point(6, 129); + this.checkBoxShowHidden.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.checkBoxShowHidden.Name = "checkBoxShowHidden"; + this.checkBoxShowHidden.Size = new System.Drawing.Size(688, 52); + this.checkBoxShowHidden.TabIndex = 17; + this.checkBoxShowHidden.Text = "Show hidden text"; + this.checkBoxShowHidden.UseVisualStyleBackColor = true; + this.checkBoxShowHidden.CheckedChanged += new System.EventHandler(this.checkBoxShowHidden_CheckedChanged); + // + // tlpMain + // + this.tlpMain.AutoSize = true; + this.tlpMain.ColumnCount = 2; + this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F)); + this.tlpMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tlpMain.Controls.Add(this.label1, 0, 0); + this.tlpMain.Controls.Add(this.checkBoxShowHidden, 0, 2); + this.tlpMain.Controls.Add(this.buttonOK, 1, 2); + this.tlpMain.Controls.Add(this.tlpCustomCredentials, 0, 1); + this.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.tlpMain.Location = new System.Drawing.Point(16, 16); + this.tlpMain.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.tlpMain.Name = "tlpMain"; + this.tlpMain.RowCount = 3; + this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tlpMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 64F)); + this.tlpMain.Size = new System.Drawing.Size(875, 187); + this.tlpMain.TabIndex = 18; + // + // tlpCustomCredentials + // + this.tlpCustomCredentials.AutoSize = true; + this.tlpCustomCredentials.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.tlpCustomCredentials.ColumnCount = 2; + this.tlpMain.SetColumnSpan(this.tlpCustomCredentials, 2); + this.tlpCustomCredentials.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tlpCustomCredentials.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tlpCustomCredentials.Dock = System.Windows.Forms.DockStyle.Top; + this.tlpCustomCredentials.Location = new System.Drawing.Point(6, 71); + this.tlpCustomCredentials.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.tlpCustomCredentials.Name = "tlpCustomCredentials"; + this.tlpCustomCredentials.RowCount = 1; + this.tlpCustomCredentials.RowStyles.Add(new System.Windows.Forms.RowStyle()); + this.tlpCustomCredentials.Size = new System.Drawing.Size(863, 0); + this.tlpCustomCredentials.TabIndex = 18; + // + // IntentoFormProviderAuthWizard + // + this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.ClientSize = new System.Drawing.Size(907, 219); + this.Controls.Add(this.tlpMain); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "IntentoFormProviderAuthWizard"; + this.Padding = new System.Windows.Forms.Padding(16, 16, 16, 16); + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Enter credentials"; + this.TopMost = true; + this.tlpMain.ResumeLayout(false); + this.tlpMain.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.resx b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.resx index 1af7de1..29dcb1b 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.resx +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormProviderAuthWizard.resx @@ -1,120 +1,120 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file From 9fafd6937bcb7d986f0f69a4debd5df19a96649b Mon Sep 17 00:00:00 2001 From: Roman Akhmedyanov Date: Thu, 20 May 2021 21:59:27 +0400 Subject: [PATCH 2/5] CONTMS-97 Fix max size of window --- .../WinForms/IntentoFormOptionsMT.Designer.cs | 38 +++++++++---------- .../IntentoFormOptonsMain.Designer.cs | 16 ++++---- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs index 1ea2493..01f5fce 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs @@ -35,6 +35,7 @@ private void InitializeComponent() this.buttonCancel = new System.Windows.Forms.Button(); this.buttonSave = new System.Windows.Forms.Button(); this.toolTipHelp = new System.Windows.Forms.ToolTip(this.components); + this.buttonRefresh = new System.Windows.Forms.Button(); this.labelTMP = new System.Windows.Forms.Label(); this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); this.panel3 = new System.Windows.Forms.Panel(); @@ -66,7 +67,6 @@ private void InitializeComponent() this.panelConnectAccount = new System.Windows.Forms.Panel(); this.textBoxLabelConnectAccount = new System.Windows.Forms.TextBox(); this.comboBoxCredentialId = new System.Windows.Forms.ComboBox(); - this.buttonRefresh = new System.Windows.Forms.Button(); this.linkLabel3 = new System.Windows.Forms.LinkLabel(); this.groupBoxProvider = new System.Windows.Forms.GroupBox(); this.comboBoxProviders = new System.Windows.Forms.ComboBox(); @@ -122,6 +122,20 @@ private void InitializeComponent() // this.toolTipHelp.IsBalloon = true; // + // buttonRefresh + // + this.buttonRefresh.Dock = System.Windows.Forms.DockStyle.Top; + this.buttonRefresh.Image = ((System.Drawing.Image)(resources.GetObject("buttonRefresh.Image"))); + this.buttonRefresh.Location = new System.Drawing.Point(1053, 60); + this.buttonRefresh.Margin = new System.Windows.Forms.Padding(0); + this.buttonRefresh.Name = "buttonRefresh"; + this.buttonRefresh.Size = new System.Drawing.Size(59, 44); + this.buttonRefresh.TabIndex = 37; + this.buttonRefresh.Tag = "accountControl"; + this.toolTipHelp.SetToolTip(this.buttonRefresh, "refresh list your accounts for this provider"); + this.buttonRefresh.UseVisualStyleBackColor = true; + this.buttonRefresh.Visible = false; + // // labelTMP // this.labelTMP.Dock = System.Windows.Forms.DockStyle.Fill; @@ -156,7 +170,7 @@ private void InitializeComponent() // this.panel3.Controls.Add(this.tableLayoutPanel5); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel3.Location = new System.Drawing.Point(32, 1205); + this.panel3.Location = new System.Drawing.Point(32, 1219); this.panel3.Margin = new System.Windows.Forms.Padding(5); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1144, 69); @@ -174,8 +188,8 @@ private void InitializeComponent() this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(32, 32); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(1144, 1173); - this.panel4.TabIndex = 37; + this.panel4.Size = new System.Drawing.Size(1144, 1187); + this.panel4.TabIndex = 30; // // groupBoxOptional // @@ -566,20 +580,6 @@ private void InitializeComponent() this.comboBoxCredentialId.Tag = "accountControl"; this.comboBoxCredentialId.Visible = false; // - // buttonRefresh - // - this.buttonRefresh.Dock = System.Windows.Forms.DockStyle.Top; - this.buttonRefresh.Image = ((System.Drawing.Image)(resources.GetObject("buttonRefresh.Image"))); - this.buttonRefresh.Location = new System.Drawing.Point(1053, 60); - this.buttonRefresh.Margin = new System.Windows.Forms.Padding(0); - this.buttonRefresh.Name = "buttonRefresh"; - this.buttonRefresh.Size = new System.Drawing.Size(59, 44); - this.buttonRefresh.TabIndex = 37; - this.buttonRefresh.Tag = "accountControl"; - this.toolTipHelp.SetToolTip(this.buttonRefresh, "refresh list your accounts for this provider"); - this.buttonRefresh.UseVisualStyleBackColor = true; - this.buttonRefresh.Visible = false; - // // linkLabel3 // this.linkLabel3.AutoSize = true; @@ -702,7 +702,7 @@ private void InitializeComponent() this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.buttonCancel; - this.ClientSize = new System.Drawing.Size(1208, 1306); + this.ClientSize = new System.Drawing.Size(1208, 1320); this.Controls.Add(this.panel4); this.Controls.Add(this.panel3); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs index c6148d0..7c63258 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.Designer.cs @@ -164,7 +164,7 @@ private void InitializeComponent() this.groupBoxMTSettings.Margin = new System.Windows.Forms.Padding(6); this.groupBoxMTSettings.Name = "groupBoxMTSettings"; this.groupBoxMTSettings.Padding = new System.Windows.Forms.Padding(16, 6, 6, 6); - this.groupBoxMTSettings.Size = new System.Drawing.Size(1130, 668); + this.groupBoxMTSettings.Size = new System.Drawing.Size(1130, 700); this.groupBoxMTSettings.TabIndex = 1; this.groupBoxMTSettings.TabStop = false; this.groupBoxMTSettings.Text = "Machine Translation Settings"; @@ -379,11 +379,12 @@ private void InitializeComponent() // // labelIAK // - this.labelIAK.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelIAK.AutoSize = true; + this.labelIAK.Dock = System.Windows.Forms.DockStyle.Left; this.labelIAK.Location = new System.Drawing.Point(3, 3); this.labelIAK.Margin = new System.Windows.Forms.Padding(3); this.labelIAK.Name = "labelIAK"; - this.labelIAK.Size = new System.Drawing.Size(91, 50); + this.labelIAK.Size = new System.Drawing.Size(87, 50); this.labelIAK.TabIndex = 28; this.labelIAK.Text = "API Key"; this.labelIAK.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -405,12 +406,12 @@ private void InitializeComponent() this.apiKey_tb.BackColor = System.Drawing.SystemColors.Info; this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.apiKey_tb.Dock = System.Windows.Forms.DockStyle.Top; - this.apiKey_tb.Location = new System.Drawing.Point(103, 10); + this.apiKey_tb.Location = new System.Drawing.Point(99, 10); this.apiKey_tb.Margin = new System.Windows.Forms.Padding(6, 10, 6, 6); this.apiKey_tb.Name = "apiKey_tb"; this.apiKey_tb.PasswordChar = '*'; this.apiKey_tb.ReadOnly = true; - this.apiKey_tb.Size = new System.Drawing.Size(781, 37); + this.apiKey_tb.Size = new System.Drawing.Size(785, 37); this.apiKey_tb.TabIndex = 26; this.apiKey_tb.UseSystemPasswordChar = true; this.apiKey_tb.WordWrap = false; @@ -459,7 +460,7 @@ private void InitializeComponent() this.tableLayoutPanel3.Controls.Add(this.buttonHelp, 1, 0); this.tableLayoutPanel3.Controls.Add(this.buttonContinue, 2, 0); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Bottom; - this.tableLayoutPanel3.Location = new System.Drawing.Point(16, 927); + this.tableLayoutPanel3.Location = new System.Drawing.Point(16, 959); this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(5); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 1; @@ -471,7 +472,7 @@ private void InitializeComponent() // this.AutoScaleDimensions = new System.Drawing.SizeF(192F, 192F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.ClientSize = new System.Drawing.Size(1162, 1021); + this.ClientSize = new System.Drawing.Size(1162, 1053); this.Controls.Add(this.groupBoxMTSettings); this.Controls.Add(this.tableLayoutPanel3); this.Controls.Add(this.label1); @@ -480,6 +481,7 @@ private void InitializeComponent() this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Margin = new System.Windows.Forms.Padding(6); this.MaximizeBox = false; + this.MinimumSize = new System.Drawing.Size(800, 600); this.Name = "IntentoTranslationProviderOptionsForm"; this.Padding = new System.Windows.Forms.Padding(16, 16, 16, 32); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; From 417a75d0b32cd608db02fca24af274d136ad109d Mon Sep 17 00:00:00 2001 From: Roman Akhmedyanov Date: Thu, 20 May 2021 22:10:11 +0400 Subject: [PATCH 3/5] CONTMS-97 Fix max size of window --- .../IntentoFormOptionsAPI.Designer.cs | 28 +++++++++---------- .../WinForms/IntentoFormOptionsMT.Designer.cs | 1 + 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs index 82a7f63..d6df4c1 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsAPI.Designer.cs @@ -43,11 +43,11 @@ private void InitializeComponent() // labelAPI // this.labelAPI.AutoSize = true; - this.labelAPI.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelAPI.Dock = System.Windows.Forms.DockStyle.Left; this.labelAPI.Location = new System.Drawing.Point(6, 0); this.labelAPI.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.labelAPI.Name = "labelAPI"; - this.labelAPI.Size = new System.Drawing.Size(170, 56); + this.labelAPI.Size = new System.Drawing.Size(167, 56); this.labelAPI.TabIndex = 21; this.labelAPI.Text = "Intento API Key:"; this.labelAPI.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -57,10 +57,10 @@ private void InitializeComponent() this.apiKey_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.tableLayoutPanel1.SetColumnSpan(this.apiKey_tb, 3); this.apiKey_tb.Dock = System.Windows.Forms.DockStyle.Fill; - this.apiKey_tb.Location = new System.Drawing.Point(188, 6); + this.apiKey_tb.Location = new System.Drawing.Point(185, 6); this.apiKey_tb.Margin = new System.Windows.Forms.Padding(6); this.apiKey_tb.Name = "apiKey_tb"; - this.apiKey_tb.Size = new System.Drawing.Size(625, 37); + this.apiKey_tb.Size = new System.Drawing.Size(628, 37); this.apiKey_tb.TabIndex = 20; this.apiKey_tb.UseSystemPasswordChar = true; this.apiKey_tb.WordWrap = false; @@ -88,7 +88,7 @@ private void InitializeComponent() this.labelError.Location = new System.Drawing.Point(6, 100); this.labelError.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.labelError.Name = "labelError"; - this.labelError.Size = new System.Drawing.Size(306, 62); + this.labelError.Size = new System.Drawing.Size(304, 62); this.labelError.TabIndex = 23; this.labelError.Text = "EMPTY"; this.toolTip1.SetToolTip(this.labelError, "1Click to copy error to clipboard"); @@ -98,10 +98,10 @@ private void InitializeComponent() // buttonSave // this.buttonSave.Dock = System.Windows.Forms.DockStyle.Fill; - this.buttonSave.Location = new System.Drawing.Point(324, 106); + this.buttonSave.Location = new System.Drawing.Point(322, 106); this.buttonSave.Margin = new System.Windows.Forms.Padding(6); this.buttonSave.Name = "buttonSave"; - this.buttonSave.Size = new System.Drawing.Size(307, 50); + this.buttonSave.Size = new System.Drawing.Size(308, 50); this.buttonSave.TabIndex = 24; this.buttonSave.Text = "Test and save"; this.buttonSave.UseVisualStyleBackColor = true; @@ -112,10 +112,10 @@ private void InitializeComponent() this.tableLayoutPanel1.SetColumnSpan(this.buttonCancel, 2); this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.Dock = System.Windows.Forms.DockStyle.Fill; - this.buttonCancel.Location = new System.Drawing.Point(643, 106); + this.buttonCancel.Location = new System.Drawing.Point(642, 106); this.buttonCancel.Margin = new System.Windows.Forms.Padding(6); this.buttonCancel.Name = "buttonCancel"; - this.buttonCancel.Size = new System.Drawing.Size(309, 50); + this.buttonCancel.Size = new System.Drawing.Size(310, 50); this.buttonCancel.TabIndex = 25; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; @@ -124,11 +124,11 @@ private void InitializeComponent() // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 5; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.04762F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.04762F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 17.64706F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 41.17647F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 23.52942F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 17.64706F)); this.tableLayoutPanel1.Controls.Add(this.labelAPI, 0, 0); this.tableLayoutPanel1.Controls.Add(this.labelError, 0, 2); this.tableLayoutPanel1.Controls.Add(this.buttonCancel, 3, 2); diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs index 01f5fce..a2caaa2 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs @@ -710,6 +710,7 @@ private void InitializeComponent() this.Margin = new System.Windows.Forms.Padding(6); this.MaximizeBox = false; this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(800, 600); this.Name = "IntentoFormOptionsMT"; this.Padding = new System.Windows.Forms.Padding(32); this.ShowInTaskbar = false; From a9c84a8ac93da74e496a45a0ac31a7e36ad0a053 Mon Sep 17 00:00:00 2001 From: Roman Akhmedyanov Date: Thu, 20 May 2021 22:27:17 +0400 Subject: [PATCH 4/5] CONTMS-97 Fix max size of window --- .../WinForms/IntentoFormOptionsMT.Designer.cs | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs index a2caaa2..36cc2d5 100644 --- a/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs +++ b/Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptionsMT.Designer.cs @@ -129,12 +129,11 @@ private void InitializeComponent() this.buttonRefresh.Location = new System.Drawing.Point(1053, 60); this.buttonRefresh.Margin = new System.Windows.Forms.Padding(0); this.buttonRefresh.Name = "buttonRefresh"; - this.buttonRefresh.Size = new System.Drawing.Size(59, 44); + this.buttonRefresh.Size = new System.Drawing.Size(59, 52); this.buttonRefresh.TabIndex = 37; this.buttonRefresh.Tag = "accountControl"; this.toolTipHelp.SetToolTip(this.buttonRefresh, "refresh list your accounts for this provider"); this.buttonRefresh.UseVisualStyleBackColor = true; - this.buttonRefresh.Visible = false; // // labelTMP // @@ -245,10 +244,10 @@ private void InitializeComponent() this.comboBoxTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboBoxTo.FormattingEnabled = true; - this.comboBoxTo.Location = new System.Drawing.Point(314, 72); - this.comboBoxTo.Margin = new System.Windows.Forms.Padding(0, 12, 0, 0); + this.comboBoxTo.Location = new System.Drawing.Point(320, 72); + this.comboBoxTo.Margin = new System.Windows.Forms.Padding(6, 12, 0, 0); this.comboBoxTo.Name = "comboBoxTo"; - this.comboBoxTo.Size = new System.Drawing.Size(266, 38); + this.comboBoxTo.Size = new System.Drawing.Size(260, 38); this.comboBoxTo.TabIndex = 13; this.comboBoxTo.Tag = "fix_high_dpi"; // @@ -274,10 +273,10 @@ private void InitializeComponent() this.comboBoxFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxFrom.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboBoxFrom.FormattingEnabled = true; - this.comboBoxFrom.Location = new System.Drawing.Point(0, 72); - this.comboBoxFrom.Margin = new System.Windows.Forms.Padding(0, 12, 0, 0); + this.comboBoxFrom.Location = new System.Drawing.Point(6, 72); + this.comboBoxFrom.Margin = new System.Windows.Forms.Padding(6, 12, 0, 0); this.comboBoxFrom.Name = "comboBoxFrom"; - this.comboBoxFrom.Size = new System.Drawing.Size(266, 38); + this.comboBoxFrom.Size = new System.Drawing.Size(260, 38); this.comboBoxFrom.TabIndex = 10; this.comboBoxFrom.Tag = "fix_high_dpi"; // @@ -542,7 +541,7 @@ private void InitializeComponent() // this.panelConnectAccount.Controls.Add(this.textBoxLabelConnectAccount); this.panelConnectAccount.Dock = System.Windows.Forms.DockStyle.Top; - this.panelConnectAccount.Location = new System.Drawing.Point(6, 110); + this.panelConnectAccount.Location = new System.Drawing.Point(6, 118); this.panelConnectAccount.Margin = new System.Windows.Forms.Padding(6); this.panelConnectAccount.Name = "panelConnectAccount"; this.panelConnectAccount.Size = new System.Drawing.Size(1041, 34); @@ -572,10 +571,10 @@ private void InitializeComponent() this.comboBoxCredentialId.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxCredentialId.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboBoxCredentialId.FormattingEnabled = true; - this.comboBoxCredentialId.Location = new System.Drawing.Point(0, 60); - this.comboBoxCredentialId.Margin = new System.Windows.Forms.Padding(0); + this.comboBoxCredentialId.Location = new System.Drawing.Point(6, 66); + this.comboBoxCredentialId.Margin = new System.Windows.Forms.Padding(6); this.comboBoxCredentialId.Name = "comboBoxCredentialId"; - this.comboBoxCredentialId.Size = new System.Drawing.Size(1053, 38); + this.comboBoxCredentialId.Size = new System.Drawing.Size(1041, 38); this.comboBoxCredentialId.TabIndex = 10; this.comboBoxCredentialId.Tag = "accountControl"; this.comboBoxCredentialId.Visible = false; @@ -601,7 +600,7 @@ private void InitializeComponent() this.groupBoxProvider.Location = new System.Drawing.Point(0, 176); this.groupBoxProvider.Margin = new System.Windows.Forms.Padding(6); this.groupBoxProvider.Name = "groupBoxProvider"; - this.groupBoxProvider.Padding = new System.Windows.Forms.Padding(16); + this.groupBoxProvider.Padding = new System.Windows.Forms.Padding(20, 16, 20, 16); this.groupBoxProvider.Size = new System.Drawing.Size(1144, 118); this.groupBoxProvider.TabIndex = 35; this.groupBoxProvider.TabStop = false; @@ -613,10 +612,10 @@ private void InitializeComponent() this.comboBoxProviders.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxProviders.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.comboBoxProviders.FormattingEnabled = true; - this.comboBoxProviders.Location = new System.Drawing.Point(16, 46); + this.comboBoxProviders.Location = new System.Drawing.Point(20, 46); this.comboBoxProviders.Margin = new System.Windows.Forms.Padding(6); this.comboBoxProviders.Name = "comboBoxProviders"; - this.comboBoxProviders.Size = new System.Drawing.Size(1112, 38); + this.comboBoxProviders.Size = new System.Drawing.Size(1104, 38); this.comboBoxProviders.TabIndex = 6; // // groupBox1 From a7e9d3bd0edc82becba708e7db140171e62cf3ab Mon Sep 17 00:00:00 2001 From: Roman Akhmedyanov Date: Thu, 20 May 2021 22:49:07 +0400 Subject: [PATCH 5/5] Set versions --- Intento.MT.Plugin.PropertiesForm/Properties/AssemblyInfo.cs | 4 ++-- .../Properties/Intento.MT.Plugin.PropertiesForm.nuspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Intento.MT.Plugin.PropertiesForm/Properties/AssemblyInfo.cs b/Intento.MT.Plugin.PropertiesForm/Properties/AssemblyInfo.cs index a846456..80379e8 100644 --- a/Intento.MT.Plugin.PropertiesForm/Properties/AssemblyInfo.cs +++ b/Intento.MT.Plugin.PropertiesForm/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.2.23.0")] -[assembly: AssemblyFileVersion("2.2.23.0")] +[assembly: AssemblyVersion("2.2.25.0")] +[assembly: AssemblyFileVersion("2.2.25.0")] [assembly: IntentoSDK.AssemblyGitHash(Intento.MT.Plugin.PropertiesForm.GitHash.hash)] diff --git a/Intento.MT.Plugin.PropertiesForm/Properties/Intento.MT.Plugin.PropertiesForm.nuspec b/Intento.MT.Plugin.PropertiesForm/Properties/Intento.MT.Plugin.PropertiesForm.nuspec index d9c2218..a5673fd 100644 --- a/Intento.MT.Plugin.PropertiesForm/Properties/Intento.MT.Plugin.PropertiesForm.nuspec +++ b/Intento.MT.Plugin.PropertiesForm/Properties/Intento.MT.Plugin.PropertiesForm.nuspec @@ -2,7 +2,7 @@ Intento.MT.Plugin.PropertiesForm - 2.2.24.0 + 2.2.25.0 Intento Intento false