From 5cd6afad748f9e35075c50ee33bff4ead58b448a Mon Sep 17 00:00:00 2001 From: RKrom Date: Fri, 18 Jul 2014 13:15:55 +0200 Subject: [PATCH] BUG-1653: Accessibility fixes for the tab-order on multiple forms. [ci-skip] --- .../Forms/DropShadowSettingsForm.Designer.cs | 8 +- Greenshot/Forms/LanguageDialog.Designer.cs | 7 +- .../Forms/PrintOptionsDialog.Designer.cs | 491 +++++++++--------- .../Forms/ResizeSettingsForm.Designer.cs | 2 +- .../Forms/TornEdgeSettingsForm.Designer.cs | 37 +- .../Forms/SettingsForm.Designer.cs | 13 +- .../SettingsForm.Designer.cs | 29 +- .../SettingsFormDetail.Designer.cs | 18 +- .../Forms/SettingsForm.Designer.cs | 27 +- .../Forms/ImgurHistory.Designer.cs | 18 +- .../Forms/SettingsForm.Designer.cs | 16 +- .../Forms/JiraForm.Designer.cs | 28 +- .../Forms/SettingsForm.Designer.cs | 6 +- GreenshotOCRPlugin/SettingsForm.Designer.cs | 30 +- .../Forms/SettingsForm.Designer.cs | 8 +- .../Forms/SettingsForm.Designer.cs | 11 +- 16 files changed, 369 insertions(+), 380 deletions(-) diff --git a/Greenshot/Forms/DropShadowSettingsForm.Designer.cs b/Greenshot/Forms/DropShadowSettingsForm.Designer.cs index 28da4e72d..88d73ab04 100644 --- a/Greenshot/Forms/DropShadowSettingsForm.Designer.cs +++ b/Greenshot/Forms/DropShadowSettingsForm.Designer.cs @@ -74,7 +74,7 @@ namespace Greenshot.Forms { 0}); this.thickness.Name = "thickness"; this.thickness.Size = new System.Drawing.Size(45, 20); - this.thickness.TabIndex = 0; + this.thickness.TabIndex = 1; this.thickness.Value = new decimal(new int[] { 9, 0, @@ -96,7 +96,7 @@ namespace Greenshot.Forms { -2147483648}); this.offsetX.Name = "offsetX"; this.offsetX.Size = new System.Drawing.Size(45, 20); - this.offsetX.TabIndex = 4; + this.offsetX.TabIndex = 2; this.offsetX.Value = new decimal(new int[] { 1, 0, @@ -127,7 +127,7 @@ namespace Greenshot.Forms { -2147483648}); this.offsetY.Name = "offsetY"; this.offsetY.Size = new System.Drawing.Size(45, 20); - this.offsetY.TabIndex = 6; + this.offsetY.TabIndex = 3; this.offsetY.Value = new decimal(new int[] { 1, 0, @@ -141,7 +141,7 @@ namespace Greenshot.Forms { this.trackBar1.Minimum = 1; this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(116, 45); - this.trackBar1.TabIndex = 7; + this.trackBar1.TabIndex = 4; this.trackBar1.Value = 40; // // buttonOK diff --git a/Greenshot/Forms/LanguageDialog.Designer.cs b/Greenshot/Forms/LanguageDialog.Designer.cs index 294706470..50faa8d2c 100644 --- a/Greenshot/Forms/LanguageDialog.Designer.cs +++ b/Greenshot/Forms/LanguageDialog.Designer.cs @@ -47,7 +47,6 @@ namespace Greenshot.Forms { private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LanguageDialog)); - this.lblSelectLanguage = new System.Windows.Forms.Label(); this.comboBoxLanguage = new System.Windows.Forms.ComboBox(); this.btnOK = new System.Windows.Forms.Button(); this.SuspendLayout(); @@ -59,14 +58,14 @@ namespace Greenshot.Forms { this.comboBoxLanguage.Location = new System.Drawing.Point(13, 15); this.comboBoxLanguage.Name = "comboBoxLanguage"; this.comboBoxLanguage.Size = new System.Drawing.Size(360, 21); - this.comboBoxLanguage.TabIndex = 3; + this.comboBoxLanguage.TabIndex = 2; // // btnOK // this.btnOK.Location = new System.Drawing.Point(126, 42); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); - this.btnOK.TabIndex = 2; + this.btnOK.TabIndex = 1; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new System.EventHandler(this.BtnOKClick); @@ -80,7 +79,6 @@ namespace Greenshot.Forms { this.ControlBox = true; this.Controls.Add(this.btnOK); this.Controls.Add(this.comboBoxLanguage); - this.Controls.Add(this.lblSelectLanguage); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; @@ -90,7 +88,6 @@ namespace Greenshot.Forms { this.TopMost = true; this.ResumeLayout(false); } - private System.Windows.Forms.Label lblSelectLanguage; private System.Windows.Forms.Button btnOK; private System.Windows.Forms.ComboBox comboBoxLanguage; } diff --git a/Greenshot/Forms/PrintOptionsDialog.Designer.cs b/Greenshot/Forms/PrintOptionsDialog.Designer.cs index 44ce3acf3..a32716dcc 100644 --- a/Greenshot/Forms/PrintOptionsDialog.Designer.cs +++ b/Greenshot/Forms/PrintOptionsDialog.Designer.cs @@ -48,252 +48,251 @@ namespace Greenshot.Forms /// private void InitializeComponent() { - this.checkbox_dontaskagain = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.checkboxAllowShrink = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.checkboxAllowEnlarge = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.checkboxAllowCenter = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.checkboxAllowRotate = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.button_ok = new GreenshotPlugin.Controls.GreenshotButton(); - this.checkboxDateTime = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.button_cancel = new GreenshotPlugin.Controls.GreenshotButton(); - this.checkboxPrintInverted = new GreenshotPlugin.Controls.GreenshotCheckBox(); - this.radioBtnGrayScale = new GreenshotPlugin.Controls.GreenshotRadioButton(); - this.radioBtnMonochrome = new GreenshotPlugin.Controls.GreenshotRadioButton(); - this.groupBoxPrintLayout = new GreenshotPlugin.Controls.GreenshotGroupBox(); - this.groupBoxColors = new GreenshotPlugin.Controls.GreenshotGroupBox(); - this.radioBtnColorPrint = new GreenshotPlugin.Controls.GreenshotRadioButton(); - this.groupBoxPrintLayout.SuspendLayout(); - this.groupBoxColors.SuspendLayout(); - this.SuspendLayout(); - // - // checkbox_dontaskagain - // - this.checkbox_dontaskagain.AutoSize = true; - this.checkbox_dontaskagain.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkbox_dontaskagain.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkbox_dontaskagain.LanguageKey = "printoptions_dontaskagain"; - this.checkbox_dontaskagain.Location = new System.Drawing.Point(25, 299); - this.checkbox_dontaskagain.Name = "checkbox_dontaskagain"; - this.checkbox_dontaskagain.Size = new System.Drawing.Size(240, 17); - this.checkbox_dontaskagain.TabIndex = 19; - this.checkbox_dontaskagain.Text = "Save options as default and do not ask again"; - this.checkbox_dontaskagain.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkbox_dontaskagain.UseVisualStyleBackColor = true; - // - // checkboxAllowShrink - // - this.checkboxAllowShrink.AutoSize = true; - this.checkboxAllowShrink.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.LanguageKey = "printoptions_allowshrink"; - this.checkboxAllowShrink.Location = new System.Drawing.Point(13, 23); - this.checkboxAllowShrink.Name = "checkboxAllowShrink"; - this.checkboxAllowShrink.PropertyName = "OutputPrintAllowShrink"; - this.checkboxAllowShrink.Size = new System.Drawing.Size(168, 17); - this.checkboxAllowShrink.TabIndex = 21; - this.checkboxAllowShrink.Text = "Shrink printout to fit paper size"; - this.checkboxAllowShrink.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowShrink.UseVisualStyleBackColor = true; - // - // checkboxAllowEnlarge - // - this.checkboxAllowEnlarge.AutoSize = true; - this.checkboxAllowEnlarge.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.LanguageKey = "printoptions_allowenlarge"; - this.checkboxAllowEnlarge.Location = new System.Drawing.Point(13, 46); - this.checkboxAllowEnlarge.Name = "checkboxAllowEnlarge"; - this.checkboxAllowEnlarge.PropertyName = "OutputPrintAllowEnlarge"; - this.checkboxAllowEnlarge.Size = new System.Drawing.Size(174, 17); - this.checkboxAllowEnlarge.TabIndex = 22; - this.checkboxAllowEnlarge.Text = "Enlarge printout to fit paper size"; - this.checkboxAllowEnlarge.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowEnlarge.UseVisualStyleBackColor = true; - // - // checkboxAllowCenter - // - this.checkboxAllowCenter.AutoSize = true; - this.checkboxAllowCenter.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.LanguageKey = "printoptions_allowcenter"; - this.checkboxAllowCenter.Location = new System.Drawing.Point(13, 92); - this.checkboxAllowCenter.Name = "checkboxAllowCenter"; - this.checkboxAllowCenter.PropertyName = "OutputPrintCenter"; - this.checkboxAllowCenter.Size = new System.Drawing.Size(137, 17); - this.checkboxAllowCenter.TabIndex = 24; - this.checkboxAllowCenter.Text = "Center printout on page"; - this.checkboxAllowCenter.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowCenter.UseVisualStyleBackColor = true; - // - // checkboxAllowRotate - // - this.checkboxAllowRotate.AutoSize = true; - this.checkboxAllowRotate.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.LanguageKey = "printoptions_allowrotate"; - this.checkboxAllowRotate.Location = new System.Drawing.Point(13, 69); - this.checkboxAllowRotate.Name = "checkboxAllowRotate"; - this.checkboxAllowRotate.PropertyName = "OutputPrintAllowRotate"; - this.checkboxAllowRotate.Size = new System.Drawing.Size(187, 17); - this.checkboxAllowRotate.TabIndex = 23; - this.checkboxAllowRotate.Text = "Rotate printout to page orientation"; - this.checkboxAllowRotate.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxAllowRotate.UseVisualStyleBackColor = true; - // - // button_ok - // - this.button_ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.button_ok.DialogResult = System.Windows.Forms.DialogResult.OK; - this.button_ok.LanguageKey = "OK"; - this.button_ok.Location = new System.Drawing.Point(187, 355); - this.button_ok.Name = "button_ok"; - this.button_ok.Size = new System.Drawing.Size(75, 23); - this.button_ok.TabIndex = 25; - this.button_ok.Text = "Ok"; - this.button_ok.UseVisualStyleBackColor = true; - this.button_ok.Click += new System.EventHandler(this.Button_okClick); - // - // checkboxDateTime - // - this.checkboxDateTime.AutoSize = true; - this.checkboxDateTime.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.LanguageKey = "printoptions_timestamp"; - this.checkboxDateTime.Location = new System.Drawing.Point(13, 115); - this.checkboxDateTime.Name = "checkboxDateTime"; - this.checkboxDateTime.PropertyName = "OutputPrintFooter"; - this.checkboxDateTime.Size = new System.Drawing.Size(187, 17); - this.checkboxDateTime.TabIndex = 26; - this.checkboxDateTime.Text = "Print date / time at bottom of page"; - this.checkboxDateTime.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxDateTime.UseVisualStyleBackColor = true; - // - // button_cancel - // - this.button_cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.button_cancel.LanguageKey = "CANCEL"; - this.button_cancel.Location = new System.Drawing.Point(268, 355); - this.button_cancel.Name = "button_cancel"; - this.button_cancel.Size = new System.Drawing.Size(75, 23); - this.button_cancel.TabIndex = 27; - this.button_cancel.Text = "Cancel"; - this.button_cancel.UseVisualStyleBackColor = true; - // - // checkboxPrintInverted - // - this.checkboxPrintInverted.AutoSize = true; - this.checkboxPrintInverted.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.LanguageKey = "printoptions_inverted"; - this.checkboxPrintInverted.Location = new System.Drawing.Point(13, 88); - this.checkboxPrintInverted.Name = "checkboxPrintInverted"; - this.checkboxPrintInverted.PropertyName = "OutputPrintInverted"; - this.checkboxPrintInverted.Size = new System.Drawing.Size(141, 17); - this.checkboxPrintInverted.TabIndex = 28; - this.checkboxPrintInverted.Text = "Print with inverted colors"; - this.checkboxPrintInverted.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.checkboxPrintInverted.UseVisualStyleBackColor = true; - // - // radioBtnGrayScale - // - this.radioBtnGrayScale.AutoSize = true; - this.radioBtnGrayScale.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.LanguageKey = "printoptions_printgrayscale"; - this.radioBtnGrayScale.Location = new System.Drawing.Point(13, 42); - this.radioBtnGrayScale.Name = "radioBtnGrayScale"; - this.radioBtnGrayScale.PropertyName = "OutputPrintGrayscale"; - this.radioBtnGrayScale.Size = new System.Drawing.Size(137, 17); - this.radioBtnGrayScale.TabIndex = 29; - this.radioBtnGrayScale.Text = "Force grayscale printing"; - this.radioBtnGrayScale.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnGrayScale.UseVisualStyleBackColor = true; - // - // radioBtnMonochrome - // - this.radioBtnMonochrome.AutoSize = true; - this.radioBtnMonochrome.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.LanguageKey = "printoptions_printmonochrome"; - this.radioBtnMonochrome.Location = new System.Drawing.Point(13, 65); - this.radioBtnMonochrome.Name = "radioBtnMonochrome"; - this.radioBtnMonochrome.PropertyName = "OutputPrintMonochrome"; - this.radioBtnMonochrome.Size = new System.Drawing.Size(148, 17); - this.radioBtnMonochrome.TabIndex = 30; - this.radioBtnMonochrome.Text = "Force black/white printing"; - this.radioBtnMonochrome.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnMonochrome.UseVisualStyleBackColor = true; - // - // groupBoxPrintLayout - // - this.groupBoxPrintLayout.AutoSize = true; - this.groupBoxPrintLayout.Controls.Add(this.checkboxDateTime); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowShrink); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowEnlarge); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowRotate); - this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowCenter); - this.groupBoxPrintLayout.LanguageKey = "printoptions_layout"; - this.groupBoxPrintLayout.Location = new System.Drawing.Point(12, 12); - this.groupBoxPrintLayout.Name = "groupBoxPrintLayout"; - this.groupBoxPrintLayout.Size = new System.Drawing.Size(331, 151); - this.groupBoxPrintLayout.TabIndex = 31; - this.groupBoxPrintLayout.TabStop = false; - this.groupBoxPrintLayout.Text = "Page layout settings"; - // - // groupBoxColors - // - this.groupBoxColors.AutoSize = true; - this.groupBoxColors.Controls.Add(this.checkboxPrintInverted); - this.groupBoxColors.Controls.Add(this.radioBtnColorPrint); - this.groupBoxColors.Controls.Add(this.radioBtnGrayScale); - this.groupBoxColors.Controls.Add(this.radioBtnMonochrome); - this.groupBoxColors.LanguageKey = "printoptions_colors"; - this.groupBoxColors.Location = new System.Drawing.Point(12, 169); - this.groupBoxColors.Name = "groupBoxColors"; - this.groupBoxColors.Size = new System.Drawing.Size(331, 127); - this.groupBoxColors.TabIndex = 32; - this.groupBoxColors.TabStop = false; - this.groupBoxColors.Text = "Color settings"; - // - // radioBtnColorPrint - // - this.radioBtnColorPrint.AutoSize = true; - this.radioBtnColorPrint.CheckAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.ImageAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.LanguageKey = "printoptions_printcolor"; - this.radioBtnColorPrint.Location = new System.Drawing.Point(13, 19); - this.radioBtnColorPrint.Name = "radioBtnColorPrint"; - this.radioBtnColorPrint.PropertyName = "OutputPrintColor"; - this.radioBtnColorPrint.Size = new System.Drawing.Size(72, 17); - this.radioBtnColorPrint.TabIndex = 29; - this.radioBtnColorPrint.Text = "Color print"; - this.radioBtnColorPrint.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.radioBtnColorPrint.UseVisualStyleBackColor = true; - // - // PrintOptionsDialog - // - this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.AutoSize = true; - this.ClientSize = new System.Drawing.Size(355, 390); - this.Controls.Add(this.groupBoxColors); - this.Controls.Add(this.groupBoxPrintLayout); - this.Controls.Add(this.button_cancel); - this.Controls.Add(this.button_ok); - this.Controls.Add(this.checkbox_dontaskagain); - this.LanguageKey = "printoptions_title"; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "PrintOptionsDialog"; - this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; - this.Text = "Greenshot print options"; - this.groupBoxPrintLayout.ResumeLayout(false); - this.groupBoxPrintLayout.PerformLayout(); - this.groupBoxColors.ResumeLayout(false); - this.groupBoxColors.PerformLayout(); - this.ResumeLayout(false); - this.PerformLayout(); + this.checkbox_dontaskagain = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.checkboxAllowShrink = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.checkboxAllowEnlarge = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.checkboxAllowCenter = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.checkboxAllowRotate = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.button_ok = new GreenshotPlugin.Controls.GreenshotButton(); + this.checkboxDateTime = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.button_cancel = new GreenshotPlugin.Controls.GreenshotButton(); + this.checkboxPrintInverted = new GreenshotPlugin.Controls.GreenshotCheckBox(); + this.radioBtnGrayScale = new GreenshotPlugin.Controls.GreenshotRadioButton(); + this.radioBtnMonochrome = new GreenshotPlugin.Controls.GreenshotRadioButton(); + this.groupBoxPrintLayout = new GreenshotPlugin.Controls.GreenshotGroupBox(); + this.groupBoxColors = new GreenshotPlugin.Controls.GreenshotGroupBox(); + this.radioBtnColorPrint = new GreenshotPlugin.Controls.GreenshotRadioButton(); + this.groupBoxPrintLayout.SuspendLayout(); + this.groupBoxColors.SuspendLayout(); + this.SuspendLayout(); + // + // checkbox_dontaskagain + // + this.checkbox_dontaskagain.AutoSize = true; + this.checkbox_dontaskagain.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkbox_dontaskagain.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkbox_dontaskagain.LanguageKey = "printoptions_dontaskagain"; + this.checkbox_dontaskagain.Location = new System.Drawing.Point(25, 299); + this.checkbox_dontaskagain.Name = "checkbox_dontaskagain"; + this.checkbox_dontaskagain.Size = new System.Drawing.Size(240, 17); + this.checkbox_dontaskagain.TabIndex = 15; + this.checkbox_dontaskagain.Text = "Save options as default and do not ask again"; + this.checkbox_dontaskagain.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkbox_dontaskagain.UseVisualStyleBackColor = true; + // + // checkboxAllowShrink + // + this.checkboxAllowShrink.AutoSize = true; + this.checkboxAllowShrink.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.LanguageKey = "printoptions_allowshrink"; + this.checkboxAllowShrink.Location = new System.Drawing.Point(13, 23); + this.checkboxAllowShrink.Name = "checkboxAllowShrink"; + this.checkboxAllowShrink.PropertyName = "OutputPrintAllowShrink"; + this.checkboxAllowShrink.Size = new System.Drawing.Size(168, 17); + this.checkboxAllowShrink.TabIndex = 2; + this.checkboxAllowShrink.Text = "Shrink printout to fit paper size"; + this.checkboxAllowShrink.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowShrink.UseVisualStyleBackColor = true; + // + // checkboxAllowEnlarge + // + this.checkboxAllowEnlarge.AutoSize = true; + this.checkboxAllowEnlarge.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.LanguageKey = "printoptions_allowenlarge"; + this.checkboxAllowEnlarge.Location = new System.Drawing.Point(13, 46); + this.checkboxAllowEnlarge.Name = "checkboxAllowEnlarge"; + this.checkboxAllowEnlarge.PropertyName = "OutputPrintAllowEnlarge"; + this.checkboxAllowEnlarge.Size = new System.Drawing.Size(174, 17); + this.checkboxAllowEnlarge.TabIndex = 3; + this.checkboxAllowEnlarge.Text = "Enlarge printout to fit paper size"; + this.checkboxAllowEnlarge.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowEnlarge.UseVisualStyleBackColor = true; + // + // checkboxAllowCenter + // + this.checkboxAllowCenter.AutoSize = true; + this.checkboxAllowCenter.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.LanguageKey = "printoptions_allowcenter"; + this.checkboxAllowCenter.Location = new System.Drawing.Point(13, 92); + this.checkboxAllowCenter.Name = "checkboxAllowCenter"; + this.checkboxAllowCenter.PropertyName = "OutputPrintCenter"; + this.checkboxAllowCenter.Size = new System.Drawing.Size(137, 17); + this.checkboxAllowCenter.TabIndex = 5; + this.checkboxAllowCenter.Text = "Center printout on page"; + this.checkboxAllowCenter.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowCenter.UseVisualStyleBackColor = true; + // + // checkboxAllowRotate + // + this.checkboxAllowRotate.AutoSize = true; + this.checkboxAllowRotate.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.LanguageKey = "printoptions_allowrotate"; + this.checkboxAllowRotate.Location = new System.Drawing.Point(13, 69); + this.checkboxAllowRotate.Name = "checkboxAllowRotate"; + this.checkboxAllowRotate.PropertyName = "OutputPrintAllowRotate"; + this.checkboxAllowRotate.Size = new System.Drawing.Size(187, 17); + this.checkboxAllowRotate.TabIndex = 4; + this.checkboxAllowRotate.Text = "Rotate printout to page orientation"; + this.checkboxAllowRotate.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxAllowRotate.UseVisualStyleBackColor = true; + // + // button_ok + // + this.button_ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button_ok.DialogResult = System.Windows.Forms.DialogResult.OK; + this.button_ok.LanguageKey = "OK"; + this.button_ok.Location = new System.Drawing.Point(187, 355); + this.button_ok.Name = "button_ok"; + this.button_ok.Size = new System.Drawing.Size(75, 23); + this.button_ok.TabIndex = 20; + this.button_ok.Text = "Ok"; + this.button_ok.UseVisualStyleBackColor = true; + this.button_ok.Click += new System.EventHandler(this.Button_okClick); + // + // checkboxDateTime + // + this.checkboxDateTime.AutoSize = true; + this.checkboxDateTime.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.LanguageKey = "printoptions_timestamp"; + this.checkboxDateTime.Location = new System.Drawing.Point(13, 115); + this.checkboxDateTime.Name = "checkboxDateTime"; + this.checkboxDateTime.PropertyName = "OutputPrintFooter"; + this.checkboxDateTime.Size = new System.Drawing.Size(187, 17); + this.checkboxDateTime.TabIndex = 6; + this.checkboxDateTime.Text = "Print date / time at bottom of page"; + this.checkboxDateTime.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxDateTime.UseVisualStyleBackColor = true; + // + // button_cancel + // + this.button_cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.button_cancel.LanguageKey = "CANCEL"; + this.button_cancel.Location = new System.Drawing.Point(268, 355); + this.button_cancel.Name = "button_cancel"; + this.button_cancel.Size = new System.Drawing.Size(75, 23); + this.button_cancel.TabIndex = 21; + this.button_cancel.Text = "Cancel"; + this.button_cancel.UseVisualStyleBackColor = true; + // + // checkboxPrintInverted + // + this.checkboxPrintInverted.AutoSize = true; + this.checkboxPrintInverted.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.LanguageKey = "printoptions_inverted"; + this.checkboxPrintInverted.Location = new System.Drawing.Point(13, 88); + this.checkboxPrintInverted.Name = "checkboxPrintInverted"; + this.checkboxPrintInverted.PropertyName = "OutputPrintInverted"; + this.checkboxPrintInverted.Size = new System.Drawing.Size(141, 17); + this.checkboxPrintInverted.TabIndex = 14; + this.checkboxPrintInverted.Text = "Print with inverted colors"; + this.checkboxPrintInverted.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.checkboxPrintInverted.UseVisualStyleBackColor = true; + // + // radioBtnGrayScale + // + this.radioBtnGrayScale.AutoSize = true; + this.radioBtnGrayScale.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.LanguageKey = "printoptions_printgrayscale"; + this.radioBtnGrayScale.Location = new System.Drawing.Point(13, 42); + this.radioBtnGrayScale.Name = "radioBtnGrayScale"; + this.radioBtnGrayScale.PropertyName = "OutputPrintGrayscale"; + this.radioBtnGrayScale.Size = new System.Drawing.Size(137, 17); + this.radioBtnGrayScale.TabIndex = 12; + this.radioBtnGrayScale.Text = "Force grayscale printing"; + this.radioBtnGrayScale.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnGrayScale.UseVisualStyleBackColor = true; + // + // radioBtnMonochrome + // + this.radioBtnMonochrome.AutoSize = true; + this.radioBtnMonochrome.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.LanguageKey = "printoptions_printmonochrome"; + this.radioBtnMonochrome.Location = new System.Drawing.Point(13, 65); + this.radioBtnMonochrome.Name = "radioBtnMonochrome"; + this.radioBtnMonochrome.PropertyName = "OutputPrintMonochrome"; + this.radioBtnMonochrome.Size = new System.Drawing.Size(148, 17); + this.radioBtnMonochrome.TabIndex = 13; + this.radioBtnMonochrome.Text = "Force black/white printing"; + this.radioBtnMonochrome.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnMonochrome.UseVisualStyleBackColor = true; + // + // groupBoxPrintLayout + // + this.groupBoxPrintLayout.AutoSize = true; + this.groupBoxPrintLayout.Controls.Add(this.checkboxDateTime); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowShrink); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowEnlarge); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowRotate); + this.groupBoxPrintLayout.Controls.Add(this.checkboxAllowCenter); + this.groupBoxPrintLayout.LanguageKey = "printoptions_layout"; + this.groupBoxPrintLayout.Location = new System.Drawing.Point(12, 12); + this.groupBoxPrintLayout.Name = "groupBoxPrintLayout"; + this.groupBoxPrintLayout.Size = new System.Drawing.Size(331, 151); + this.groupBoxPrintLayout.TabIndex = 31; + this.groupBoxPrintLayout.TabStop = false; + this.groupBoxPrintLayout.Text = "Page layout settings"; + // + // groupBoxColors + // + this.groupBoxColors.AutoSize = true; + this.groupBoxColors.Controls.Add(this.checkboxPrintInverted); + this.groupBoxColors.Controls.Add(this.radioBtnColorPrint); + this.groupBoxColors.Controls.Add(this.radioBtnGrayScale); + this.groupBoxColors.Controls.Add(this.radioBtnMonochrome); + this.groupBoxColors.LanguageKey = "printoptions_colors"; + this.groupBoxColors.Location = new System.Drawing.Point(12, 169); + this.groupBoxColors.Name = "groupBoxColors"; + this.groupBoxColors.Size = new System.Drawing.Size(331, 127); + this.groupBoxColors.TabIndex = 32; + this.groupBoxColors.TabStop = false; + this.groupBoxColors.Text = "Color settings"; + // + // radioBtnColorPrint + // + this.radioBtnColorPrint.AutoSize = true; + this.radioBtnColorPrint.CheckAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.ImageAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.LanguageKey = "printoptions_printcolor"; + this.radioBtnColorPrint.Location = new System.Drawing.Point(13, 19); + this.radioBtnColorPrint.Name = "radioBtnColorPrint"; + this.radioBtnColorPrint.PropertyName = "OutputPrintColor"; + this.radioBtnColorPrint.Size = new System.Drawing.Size(90, 17); + this.radioBtnColorPrint.TabIndex = 11; + this.radioBtnColorPrint.TextAlign = System.Drawing.ContentAlignment.TopLeft; + this.radioBtnColorPrint.UseVisualStyleBackColor = true; + // + // PrintOptionsDialog + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoSize = true; + this.ClientSize = new System.Drawing.Size(355, 390); + this.Controls.Add(this.groupBoxColors); + this.Controls.Add(this.groupBoxPrintLayout); + this.Controls.Add(this.button_cancel); + this.Controls.Add(this.button_ok); + this.Controls.Add(this.checkbox_dontaskagain); + this.LanguageKey = "printoptions_title"; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "PrintOptionsDialog"; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.Text = "Greenshot print options"; + this.groupBoxPrintLayout.ResumeLayout(false); + this.groupBoxPrintLayout.PerformLayout(); + this.groupBoxColors.ResumeLayout(false); + this.groupBoxColors.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); } private GreenshotPlugin.Controls.GreenshotRadioButton radioBtnGrayScale; diff --git a/Greenshot/Forms/ResizeSettingsForm.Designer.cs b/Greenshot/Forms/ResizeSettingsForm.Designer.cs index 68d475bff..b3149ae3f 100644 --- a/Greenshot/Forms/ResizeSettingsForm.Designer.cs +++ b/Greenshot/Forms/ResizeSettingsForm.Designer.cs @@ -135,7 +135,7 @@ namespace Greenshot.Forms { this.combobox_height.Location = new System.Drawing.Point(165, 38); this.combobox_height.Name = "combobox_height"; this.combobox_height.Size = new System.Drawing.Size(65, 21); - this.combobox_height.TabIndex = 19; + this.combobox_height.TabIndex = 4; // // ResizeSettingsForm // diff --git a/Greenshot/Forms/TornEdgeSettingsForm.Designer.cs b/Greenshot/Forms/TornEdgeSettingsForm.Designer.cs index 4ccf2e67c..50a6035f5 100644 --- a/Greenshot/Forms/TornEdgeSettingsForm.Designer.cs +++ b/Greenshot/Forms/TornEdgeSettingsForm.Designer.cs @@ -88,7 +88,7 @@ namespace Greenshot.Forms { 0}); this.thickness.Name = "thickness"; this.thickness.Size = new System.Drawing.Size(45, 20); - this.thickness.TabIndex = 0; + this.thickness.TabIndex = 2; this.thickness.Value = new decimal(new int[] { 9, 0, @@ -110,7 +110,7 @@ namespace Greenshot.Forms { -2147483648}); this.offsetX.Name = "offsetX"; this.offsetX.Size = new System.Drawing.Size(45, 20); - this.offsetX.TabIndex = 4; + this.offsetX.TabIndex = 3; this.offsetX.Value = new decimal(new int[] { 1, 0, @@ -141,7 +141,7 @@ namespace Greenshot.Forms { -2147483648}); this.offsetY.Name = "offsetY"; this.offsetY.Size = new System.Drawing.Size(45, 20); - this.offsetY.TabIndex = 6; + this.offsetY.TabIndex = 4; this.offsetY.Value = new decimal(new int[] { 1, 0, @@ -155,7 +155,7 @@ namespace Greenshot.Forms { this.shadowDarkness.Minimum = 1; this.shadowDarkness.Name = "shadowDarkness"; this.shadowDarkness.Size = new System.Drawing.Size(116, 45); - this.shadowDarkness.TabIndex = 7; + this.shadowDarkness.TabIndex = 5; this.shadowDarkness.Value = 40; // // buttonOK @@ -164,7 +164,7 @@ namespace Greenshot.Forms { this.buttonOK.Location = new System.Drawing.Point(62, 320); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 11; + this.buttonOK.TabIndex = 20; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // @@ -175,7 +175,7 @@ namespace Greenshot.Forms { this.buttonCancel.Location = new System.Drawing.Point(143, 320); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 12; + this.buttonCancel.TabIndex = 21; this.buttonCancel.UseVisualStyleBackColor = true; // // labelDarkness @@ -220,7 +220,7 @@ namespace Greenshot.Forms { 0}); this.toothsize.Name = "toothsize"; this.toothsize.Size = new System.Drawing.Size(45, 20); - this.toothsize.TabIndex = 16; + this.toothsize.TabIndex = 6; this.toothsize.Value = new decimal(new int[] { 12, 0, @@ -260,7 +260,7 @@ namespace Greenshot.Forms { 0}); this.horizontaltoothrange.Name = "horizontaltoothrange"; this.horizontaltoothrange.Size = new System.Drawing.Size(45, 20); - this.horizontaltoothrange.TabIndex = 18; + this.horizontaltoothrange.TabIndex = 7; this.horizontaltoothrange.Value = new decimal(new int[] { 20, 0, @@ -291,7 +291,7 @@ namespace Greenshot.Forms { 0}); this.verticaltoothrange.Name = "verticaltoothrange"; this.verticaltoothrange.Size = new System.Drawing.Size(45, 20); - this.verticaltoothrange.TabIndex = 20; + this.verticaltoothrange.TabIndex = 8; this.verticaltoothrange.Value = new decimal(new int[] { 20, 0, @@ -301,51 +301,52 @@ namespace Greenshot.Forms { // top // this.top.AutoSize = true; + this.top.LanguageKey = "editor_tornedge_top"; this.top.Location = new System.Drawing.Point(15, 222); this.top.Name = "top"; this.top.Size = new System.Drawing.Size(88, 17); - this.top.TabIndex = 22; - this.top.LanguageKey = "editor_tornedge_top"; + this.top.TabIndex = 9; this.top.UseVisualStyleBackColor = true; // // right // this.right.AutoSize = true; + this.right.LanguageKey = "editor_tornedge_right"; this.right.Location = new System.Drawing.Point(15, 245); this.right.Name = "right"; this.right.Size = new System.Drawing.Size(93, 17); - this.right.TabIndex = 23; + this.right.TabIndex = 10; this.right.LanguageKey = "editor_tornedge_right"; this.right.UseVisualStyleBackColor = true; // // bottom // this.bottom.AutoSize = true; + this.bottom.LanguageKey = "editor_tornedge_bottom"; this.bottom.Location = new System.Drawing.Point(15, 268); this.bottom.Name = "bottom"; this.bottom.Size = new System.Drawing.Size(105, 17); - this.bottom.TabIndex = 24; - this.bottom.LanguageKey = "editor_tornedge_bottom"; + this.bottom.TabIndex = 11; this.bottom.UseVisualStyleBackColor = true; // // left // this.left.AutoSize = true; + this.left.LanguageKey = "editor_tornedge_left"; this.left.Location = new System.Drawing.Point(15, 291); this.left.Name = "left"; this.left.Size = new System.Drawing.Size(87, 17); - this.left.TabIndex = 25; - this.left.LanguageKey = "editor_tornedge_left"; + this.left.TabIndex = 12; this.left.UseVisualStyleBackColor = true; // // shadowCheckbox // this.shadowCheckbox.AutoSize = true; + this.shadowCheckbox.LanguageKey = "editor_tornedge_shadow"; this.shadowCheckbox.Location = new System.Drawing.Point(12, 12); this.shadowCheckbox.Name = "shadowCheckbox"; this.shadowCheckbox.Size = new System.Drawing.Size(110, 17); - this.shadowCheckbox.TabIndex = 26; - this.shadowCheckbox.LanguageKey = "editor_tornedge_shadow"; + this.shadowCheckbox.TabIndex = 1; this.shadowCheckbox.UseVisualStyleBackColor = true; this.shadowCheckbox.CheckedChanged += new System.EventHandler(this.shadowCheckbox_CheckedChanged); // diff --git a/GreenshotDropboxPlugin/Forms/SettingsForm.Designer.cs b/GreenshotDropboxPlugin/Forms/SettingsForm.Designer.cs index 89d0711d2..01c7f26f0 100644 --- a/GreenshotDropboxPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotDropboxPlugin/Forms/SettingsForm.Designer.cs @@ -60,8 +60,7 @@ namespace GreenshotDropboxPlugin { this.buttonOK.Location = new System.Drawing.Point(267, 64); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 2; - this.buttonOK.Text = "OK"; + this.buttonOK.TabIndex = 10; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -72,15 +71,15 @@ namespace GreenshotDropboxPlugin { this.buttonCancel.Location = new System.Drawing.Point(348, 64); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 3; + this.buttonCancel.TabIndex = 11; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // // combobox_uploadimageformat // - this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.combobox_uploadimageformat.FormattingEnabled = true; this.combobox_uploadimageformat.Location = new System.Drawing.Point(116, 9); @@ -88,7 +87,7 @@ namespace GreenshotDropboxPlugin { this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.SectionName = "Dropbox"; this.combobox_uploadimageformat.Size = new System.Drawing.Size(309, 21); - this.combobox_uploadimageformat.TabIndex = 8; + this.combobox_uploadimageformat.TabIndex = 1; // // label_upload_format // @@ -117,7 +116,7 @@ namespace GreenshotDropboxPlugin { this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.SectionName = "Dropbox"; this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17); - this.checkboxAfterUploadLinkToClipBoard.TabIndex = 24; + this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2; this.checkboxAfterUploadLinkToClipBoard.Text = "Link to clipboard"; this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true; // diff --git a/GreenshotExternalCommandPlugin/SettingsForm.Designer.cs b/GreenshotExternalCommandPlugin/SettingsForm.Designer.cs index 3ceebd2f0..1a463068d 100644 --- a/GreenshotExternalCommandPlugin/SettingsForm.Designer.cs +++ b/GreenshotExternalCommandPlugin/SettingsForm.Designer.cs @@ -45,11 +45,10 @@ namespace ExternalCommand { /// not be able to load this method if it was changed manually. /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SettingsForm)); this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton(); this.buttonOk = new GreenshotPlugin.Controls.GreenshotButton(); this.listView1 = new System.Windows.Forms.ListView(); - this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); + this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.button_new = new GreenshotPlugin.Controls.GreenshotButton(); this.button_delete = new GreenshotPlugin.Controls.GreenshotButton(); this.button_edit = new GreenshotPlugin.Controls.GreenshotButton(); @@ -58,35 +57,35 @@ namespace ExternalCommand { // buttonCancel // this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.LanguageKey = "CANCEL"; this.buttonCancel.Location = new System.Drawing.Point(275, 144); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 7; - this.buttonCancel.LanguageKey = "CANCEL"; + this.buttonCancel.TabIndex = 11; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // // buttonOk // + this.buttonOk.LanguageKey = "OK"; this.buttonOk.Location = new System.Drawing.Point(275, 173); this.buttonOk.Name = "buttonOk"; this.buttonOk.Size = new System.Drawing.Size(75, 23); - this.buttonOk.TabIndex = 6; - this.buttonOk.LanguageKey = "OK"; + this.buttonOk.TabIndex = 10; this.buttonOk.UseVisualStyleBackColor = true; this.buttonOk.Click += new System.EventHandler(this.ButtonOkClick); // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.columnHeader1}); + this.columnHeader1}); this.listView1.FullRowSelect = true; this.listView1.Location = new System.Drawing.Point(13, 13); this.listView1.MultiSelect = false; this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(255, 183); this.listView1.Sorting = System.Windows.Forms.SortOrder.Ascending; - this.listView1.TabIndex = 0; + this.listView1.TabIndex = 5; this.listView1.UseCompatibleStateImageBehavior = false; this.listView1.View = System.Windows.Forms.View.Details; this.listView1.SelectedIndexChanged += new System.EventHandler(this.ListView1ItemSelectionChanged); @@ -99,32 +98,32 @@ namespace ExternalCommand { // // button_new // + this.button_new.LanguageKey = "externalcommand.settings_new"; this.button_new.Location = new System.Drawing.Point(275, 13); this.button_new.Name = "button_new"; this.button_new.Size = new System.Drawing.Size(75, 23); - this.button_new.TabIndex = 4; - this.button_new.LanguageKey = "externalcommand.settings_new"; + this.button_new.TabIndex = 1; this.button_new.UseVisualStyleBackColor = true; this.button_new.Click += new System.EventHandler(this.ButtonAddClick); // - // button2 + // button_delete // + this.button_delete.LanguageKey = "externalcommand.settings_delete"; this.button_delete.Location = new System.Drawing.Point(274, 71); this.button_delete.Name = "button_delete"; this.button_delete.Size = new System.Drawing.Size(75, 23); - this.button_delete.TabIndex = 5; - this.button_delete.LanguageKey = "externalcommand.settings_delete"; + this.button_delete.TabIndex = 3; this.button_delete.UseVisualStyleBackColor = true; this.button_delete.Click += new System.EventHandler(this.ButtonDeleteClick); // // button_edit // this.button_edit.Enabled = false; + this.button_edit.LanguageKey = "externalcommand.settings_edit"; this.button_edit.Location = new System.Drawing.Point(275, 42); this.button_edit.Name = "button_edit"; this.button_edit.Size = new System.Drawing.Size(75, 23); - this.button_edit.TabIndex = 13; - this.button_edit.LanguageKey = "externalcommand.settings_edit"; + this.button_edit.TabIndex = 2; this.button_edit.UseVisualStyleBackColor = true; this.button_edit.Click += new System.EventHandler(this.ButtonEditClick); // diff --git a/GreenshotExternalCommandPlugin/SettingsFormDetail.Designer.cs b/GreenshotExternalCommandPlugin/SettingsFormDetail.Designer.cs index 6e4915424..abc55c8e8 100644 --- a/GreenshotExternalCommandPlugin/SettingsFormDetail.Designer.cs +++ b/GreenshotExternalCommandPlugin/SettingsFormDetail.Designer.cs @@ -63,22 +63,22 @@ namespace ExternalCommand { // buttonOk // this.buttonOk.Enabled = false; + this.buttonOk.LanguageKey = "OK"; this.buttonOk.Location = new System.Drawing.Point(273, 140); this.buttonOk.Name = "buttonOk"; this.buttonOk.Size = new System.Drawing.Size(75, 23); - this.buttonOk.TabIndex = 26; - this.buttonOk.LanguageKey = "OK"; + this.buttonOk.TabIndex = 10; this.buttonOk.UseVisualStyleBackColor = true; this.buttonOk.Click += new System.EventHandler(this.ButtonOkClick); // // buttonCancel // this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.LanguageKey = "CANCEL"; this.buttonCancel.Location = new System.Drawing.Point(9, 140); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 27; - this.buttonCancel.LanguageKey = "CANCEL"; + this.buttonCancel.TabIndex = 11; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // @@ -92,12 +92,12 @@ namespace ExternalCommand { this.groupBox1.Controls.Add(this.textBox_arguments); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.textBox_commandline); + this.groupBox1.LanguageKey = "settings_title"; this.groupBox1.Location = new System.Drawing.Point(10, 12); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(339, 122); this.groupBox1.TabIndex = 28; this.groupBox1.TabStop = false; - this.groupBox1.LanguageKey = "settings_title"; // // label4 // @@ -112,7 +112,7 @@ namespace ExternalCommand { this.buttonPathSelect.Location = new System.Drawing.Point(298, 47); this.buttonPathSelect.Name = "buttonPathSelect"; this.buttonPathSelect.Size = new System.Drawing.Size(33, 23); - this.buttonPathSelect.TabIndex = 18; + this.buttonPathSelect.TabIndex = 3; this.buttonPathSelect.Text = "..."; this.buttonPathSelect.UseVisualStyleBackColor = true; this.buttonPathSelect.Click += new System.EventHandler(this.Button3Click); @@ -130,7 +130,7 @@ namespace ExternalCommand { this.textBox_name.Location = new System.Drawing.Point(68, 23); this.textBox_name.Name = "textBox_name"; this.textBox_name.Size = new System.Drawing.Size(225, 20); - this.textBox_name.TabIndex = 12; + this.textBox_name.TabIndex = 1; this.textBox_name.TextChanged += new System.EventHandler(this.textBox_name_TextChanged); // // label2 @@ -146,7 +146,7 @@ namespace ExternalCommand { this.textBox_arguments.Location = new System.Drawing.Point(68, 75); this.textBox_arguments.Name = "textBox_arguments"; this.textBox_arguments.Size = new System.Drawing.Size(225, 20); - this.textBox_arguments.TabIndex = 14; + this.textBox_arguments.TabIndex = 4; // // label1 // @@ -161,7 +161,7 @@ namespace ExternalCommand { this.textBox_commandline.Location = new System.Drawing.Point(68, 49); this.textBox_commandline.Name = "textBox_commandline"; this.textBox_commandline.Size = new System.Drawing.Size(225, 20); - this.textBox_commandline.TabIndex = 13; + this.textBox_commandline.TabIndex = 2; this.textBox_commandline.TextChanged += new System.EventHandler(this.textBox_commandline_TextChanged); // // SettingsFormDetail diff --git a/GreenshotFlickrPlugin/Forms/SettingsForm.Designer.cs b/GreenshotFlickrPlugin/Forms/SettingsForm.Designer.cs index 9a95acf35..2bd40eb51 100644 --- a/GreenshotFlickrPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotFlickrPlugin/Forms/SettingsForm.Designer.cs @@ -67,8 +67,7 @@ namespace GreenshotFlickrPlugin { this.buttonOK.Location = new System.Drawing.Point(270, 151); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 18; - this.buttonOK.Text = "OK"; + this.buttonOK.TabIndex = 10; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -79,7 +78,7 @@ namespace GreenshotFlickrPlugin { this.buttonCancel.Location = new System.Drawing.Point(351, 151); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 19; + this.buttonCancel.TabIndex = 11; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); @@ -87,7 +86,7 @@ namespace GreenshotFlickrPlugin { // combobox_uploadimageformat // this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.combobox_uploadimageformat.FormattingEnabled = true; this.combobox_uploadimageformat.Location = new System.Drawing.Point(174, 6); @@ -95,7 +94,7 @@ namespace GreenshotFlickrPlugin { this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.SectionName = "Flickr"; this.combobox_uploadimageformat.Size = new System.Drawing.Size(251, 21); - this.combobox_uploadimageformat.TabIndex = 4; + this.combobox_uploadimageformat.TabIndex = 1; // // label_upload_format // @@ -115,7 +114,7 @@ namespace GreenshotFlickrPlugin { this.checkBoxPublic.PropertyName = "flickrIsPublic"; this.checkBoxPublic.SectionName = "Flickr"; this.checkBoxPublic.Size = new System.Drawing.Size(55, 17); - this.checkBoxPublic.TabIndex = 11; + this.checkBoxPublic.TabIndex = 4; this.checkBoxPublic.Text = "Public"; this.checkBoxPublic.UseVisualStyleBackColor = true; // @@ -128,7 +127,7 @@ namespace GreenshotFlickrPlugin { this.checkBoxFamily.PropertyName = "flickrIsFamily"; this.checkBoxFamily.SectionName = "Flickr"; this.checkBoxFamily.Size = new System.Drawing.Size(55, 17); - this.checkBoxFamily.TabIndex = 12; + this.checkBoxFamily.TabIndex = 5; this.checkBoxFamily.Text = "Family"; this.checkBoxFamily.UseVisualStyleBackColor = true; // @@ -140,9 +139,8 @@ namespace GreenshotFlickrPlugin { this.checkBoxFriend.Name = "checkBoxFriend"; this.checkBoxFriend.PropertyName = "flickrIsFriend"; this.checkBoxFriend.SectionName = "Flickr"; - this.checkBoxFriend.Size = new System.Drawing.Size(52, 17); - this.checkBoxFriend.TabIndex = 13; - this.checkBoxFriend.Text = "Fiend"; + this.checkBoxFriend.Size = new System.Drawing.Size(55, 17); + this.checkBoxFriend.TabIndex = 6; this.checkBoxFriend.UseVisualStyleBackColor = true; // // label_SafetyLevel @@ -157,7 +155,7 @@ namespace GreenshotFlickrPlugin { // combobox_safetyLevel // this.combobox_safetyLevel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.combobox_safetyLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.combobox_safetyLevel.FormattingEnabled = true; this.combobox_safetyLevel.Location = new System.Drawing.Point(174, 33); @@ -165,7 +163,7 @@ namespace GreenshotFlickrPlugin { this.combobox_safetyLevel.PropertyName = "SafetyLevel"; this.combobox_safetyLevel.SectionName = "Flickr"; this.combobox_safetyLevel.Size = new System.Drawing.Size(251, 21); - this.combobox_safetyLevel.TabIndex = 8; + this.combobox_safetyLevel.TabIndex = 2; // // label_AfterUpload // @@ -185,7 +183,7 @@ namespace GreenshotFlickrPlugin { this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.SectionName = "Flickr"; this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17); - this.checkboxAfterUploadLinkToClipBoard.TabIndex = 16; + this.checkboxAfterUploadLinkToClipBoard.TabIndex = 7; this.checkboxAfterUploadLinkToClipBoard.Text = "Link to clipboard"; this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true; // @@ -198,8 +196,7 @@ namespace GreenshotFlickrPlugin { this.checkBox_hiddenfromsearch.PropertyName = "HiddenFromSearch"; this.checkBox_hiddenfromsearch.SectionName = "Flickr"; this.checkBox_hiddenfromsearch.Size = new System.Drawing.Size(118, 17); - this.checkBox_hiddenfromsearch.TabIndex = 20; - this.checkBox_hiddenfromsearch.Text = "Hidden from search"; + this.checkBox_hiddenfromsearch.TabIndex = 3; this.checkBox_hiddenfromsearch.UseVisualStyleBackColor = true; // // SettingsForm diff --git a/GreenshotImgurPlugin/Forms/ImgurHistory.Designer.cs b/GreenshotImgurPlugin/Forms/ImgurHistory.Designer.cs index 3f562d5a2..4a30d5f70 100644 --- a/GreenshotImgurPlugin/Forms/ImgurHistory.Designer.cs +++ b/GreenshotImgurPlugin/Forms/ImgurHistory.Designer.cs @@ -61,17 +61,17 @@ namespace GreenshotImgurPlugin // listview_imgur_uploads // this.listview_imgur_uploads.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.listview_imgur_uploads.FullRowSelect = true; this.listview_imgur_uploads.Location = new System.Drawing.Point(12, 12); this.listview_imgur_uploads.Name = "listview_imgur_uploads"; this.listview_imgur_uploads.Size = new System.Drawing.Size(510, 249); - this.listview_imgur_uploads.TabIndex = 0; + this.listview_imgur_uploads.TabIndex = 1; this.listview_imgur_uploads.UseCompatibleStateImageBehavior = false; this.listview_imgur_uploads.View = System.Windows.Forms.View.Details; - this.listview_imgur_uploads.SelectedIndexChanged += new System.EventHandler(this.Listview_imgur_uploadsSelectedIndexChanged); this.listview_imgur_uploads.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listview_imgur_uploads_ColumnClick); + this.listview_imgur_uploads.SelectedIndexChanged += new System.EventHandler(this.Listview_imgur_uploadsSelectedIndexChanged); // // pictureBox1 // @@ -80,9 +80,9 @@ namespace GreenshotImgurPlugin this.pictureBox1.Location = new System.Drawing.Point(13, 272); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(90, 90); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 1; this.pictureBox1.TabStop = false; - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; // // deleteButton // @@ -114,7 +114,7 @@ namespace GreenshotImgurPlugin this.finishedButton.Location = new System.Drawing.Point(447, 338); this.finishedButton.Name = "finishedButton"; this.finishedButton.Size = new System.Drawing.Size(75, 23); - this.finishedButton.TabIndex = 4; + this.finishedButton.TabIndex = 11; this.finishedButton.Text = "Finished"; this.finishedButton.UseVisualStyleBackColor = true; this.finishedButton.Click += new System.EventHandler(this.FinishedButtonClick); @@ -126,7 +126,7 @@ namespace GreenshotImgurPlugin this.clipboardButton.Location = new System.Drawing.Point(109, 338); this.clipboardButton.Name = "clipboardButton"; this.clipboardButton.Size = new System.Drawing.Size(129, 23); - this.clipboardButton.TabIndex = 5; + this.clipboardButton.TabIndex = 4; this.clipboardButton.Text = "Copy link(s) to clipboard"; this.clipboardButton.UseVisualStyleBackColor = true; this.clipboardButton.Click += new System.EventHandler(this.ClipboardButtonClick); @@ -137,7 +137,7 @@ namespace GreenshotImgurPlugin this.clearHistoryButton.Location = new System.Drawing.Point(447, 272); this.clearHistoryButton.Name = "clearHistoryButton"; this.clearHistoryButton.Size = new System.Drawing.Size(75, 23); - this.clearHistoryButton.TabIndex = 6; + this.clearHistoryButton.TabIndex = 10; this.clearHistoryButton.Text = "Clear history"; this.clearHistoryButton.UseVisualStyleBackColor = true; this.clearHistoryButton.Click += new System.EventHandler(this.ClearHistoryButtonClick); @@ -154,8 +154,8 @@ namespace GreenshotImgurPlugin this.Controls.Add(this.deleteButton); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.listview_imgur_uploads); - this.Name = "ImgurHistory"; this.LanguageKey = "imgur.history"; + this.Name = "ImgurHistory"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImgurHistoryFormClosing); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); diff --git a/GreenshotImgurPlugin/Forms/SettingsForm.Designer.cs b/GreenshotImgurPlugin/Forms/SettingsForm.Designer.cs index 2b1ee9f7d..f795fb97d 100644 --- a/GreenshotImgurPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotImgurPlugin/Forms/SettingsForm.Designer.cs @@ -62,7 +62,7 @@ namespace GreenshotImgurPlugin { this.buttonOK.Location = new System.Drawing.Point(222, 88); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 2; + this.buttonOK.TabIndex = 10; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -73,7 +73,7 @@ namespace GreenshotImgurPlugin { this.buttonCancel.Location = new System.Drawing.Point(303, 88); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 3; + this.buttonCancel.TabIndex = 11; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // @@ -86,7 +86,7 @@ namespace GreenshotImgurPlugin { this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.SectionName = "Imgur"; this.combobox_uploadimageformat.Size = new System.Drawing.Size(210, 21); - this.combobox_uploadimageformat.TabIndex = 8; + this.combobox_uploadimageformat.TabIndex = 1; // // label_upload_format // @@ -103,7 +103,7 @@ namespace GreenshotImgurPlugin { this.historyButton.Location = new System.Drawing.Point(13, 88); this.historyButton.Name = "historyButton"; this.historyButton.Size = new System.Drawing.Size(75, 23); - this.historyButton.TabIndex = 11; + this.historyButton.TabIndex = 20; this.historyButton.UseVisualStyleBackColor = true; this.historyButton.Click += new System.EventHandler(this.ButtonHistoryClick); // @@ -115,8 +115,8 @@ namespace GreenshotImgurPlugin { this.checkbox_anonymous_access.Name = "checkbox_anonymous_access"; this.checkbox_anonymous_access.PropertyName = "AnonymousAccess"; this.checkbox_anonymous_access.SectionName = "Imgur"; - this.checkbox_anonymous_access.Size = new System.Drawing.Size(15, 14); - this.checkbox_anonymous_access.TabIndex = 13; + this.checkbox_anonymous_access.Size = new System.Drawing.Size(139, 17); + this.checkbox_anonymous_access.TabIndex = 2; this.checkbox_anonymous_access.UseVisualStyleBackColor = true; // // checkbox_usepagelink @@ -127,8 +127,8 @@ namespace GreenshotImgurPlugin { this.checkbox_usepagelink.Name = "checkbox_usepagelink"; this.checkbox_usepagelink.PropertyName = "UsePageLink"; this.checkbox_usepagelink.SectionName = "Imgur"; - this.checkbox_usepagelink.Size = new System.Drawing.Size(15, 14); - this.checkbox_usepagelink.TabIndex = 13; + this.checkbox_usepagelink.Size = new System.Drawing.Size(251, 17); + this.checkbox_usepagelink.TabIndex = 3; this.checkbox_usepagelink.UseVisualStyleBackColor = true; // // SettingsForm diff --git a/GreenshotJiraPlugin/Forms/JiraForm.Designer.cs b/GreenshotJiraPlugin/Forms/JiraForm.Designer.cs index 5775279ca..f84bcf45a 100644 --- a/GreenshotJiraPlugin/Forms/JiraForm.Designer.cs +++ b/GreenshotJiraPlugin/Forms/JiraForm.Designer.cs @@ -60,13 +60,13 @@ namespace GreenshotJiraPlugin { // jiraFilterBox // this.jiraFilterBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.jiraFilterBox.DisplayMember = "name"; this.jiraFilterBox.FormattingEnabled = true; this.jiraFilterBox.Location = new System.Drawing.Point(102, 11); this.jiraFilterBox.Name = "jiraFilterBox"; this.jiraFilterBox.Size = new System.Drawing.Size(604, 21); - this.jiraFilterBox.TabIndex = 23; + this.jiraFilterBox.TabIndex = 5; this.jiraFilterBox.SelectedIndexChanged += new System.EventHandler(this.jiraFilterBox_SelectedIndexChanged); // // label_jirafilter @@ -94,7 +94,7 @@ namespace GreenshotJiraPlugin { this.uploadButton.Location = new System.Drawing.Point(550, 281); this.uploadButton.Name = "uploadButton"; this.uploadButton.Size = new System.Drawing.Size(75, 23); - this.uploadButton.TabIndex = 32; + this.uploadButton.TabIndex = 10; this.uploadButton.Text = "Upload"; this.uploadButton.UseVisualStyleBackColor = true; this.uploadButton.Click += new System.EventHandler(this.uploadButton_Click); @@ -102,27 +102,27 @@ namespace GreenshotJiraPlugin { // jiraListView // this.jiraListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.jiraListView.FullRowSelect = true; this.jiraListView.Location = new System.Drawing.Point(102, 41); this.jiraListView.MultiSelect = false; this.jiraListView.Name = "jiraListView"; this.jiraListView.Size = new System.Drawing.Size(604, 172); - this.jiraListView.TabIndex = 33; + this.jiraListView.TabIndex = 4; this.jiraListView.UseCompatibleStateImageBehavior = false; this.jiraListView.View = System.Windows.Forms.View.Details; - this.jiraListView.SelectedIndexChanged += new System.EventHandler(this.jiraListView_SelectedIndexChanged); this.jiraListView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.jiraListView_ColumnClick); + this.jiraListView.SelectedIndexChanged += new System.EventHandler(this.jiraListView_SelectedIndexChanged); // // jiraFilenameBox // this.jiraFilenameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.jiraFilenameBox.Location = new System.Drawing.Point(102, 219); this.jiraFilenameBox.Name = "jiraFilenameBox"; this.jiraFilenameBox.Size = new System.Drawing.Size(604, 20); - this.jiraFilenameBox.TabIndex = 34; + this.jiraFilenameBox.TabIndex = 3; // // label_filename // @@ -147,11 +147,11 @@ namespace GreenshotJiraPlugin { // jiraCommentBox // this.jiraCommentBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.jiraCommentBox.Location = new System.Drawing.Point(102, 245); this.jiraCommentBox.Name = "jiraCommentBox"; this.jiraCommentBox.Size = new System.Drawing.Size(604, 20); - this.jiraCommentBox.TabIndex = 37; + this.jiraCommentBox.TabIndex = 2; // // cancelButton // @@ -159,7 +159,7 @@ namespace GreenshotJiraPlugin { this.cancelButton.Location = new System.Drawing.Point(631, 281); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); - this.cancelButton.TabIndex = 38; + this.cancelButton.TabIndex = 11; this.cancelButton.Text = "Cancel"; this.cancelButton.UseVisualStyleBackColor = true; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); @@ -177,11 +177,11 @@ namespace GreenshotJiraPlugin { // jiraKey // this.jiraKey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.jiraKey.Location = new System.Drawing.Point(102, 271); this.jiraKey.Name = "jiraKey"; this.jiraKey.Size = new System.Drawing.Size(158, 20); - this.jiraKey.TabIndex = 40; + this.jiraKey.TabIndex = 1; this.jiraKey.TextChanged += new System.EventHandler(this.JiraKeyTextChanged); // // JiraForm diff --git a/GreenshotJiraPlugin/Forms/SettingsForm.Designer.cs b/GreenshotJiraPlugin/Forms/SettingsForm.Designer.cs index 68a04c364..81fb6cdce 100644 --- a/GreenshotJiraPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotJiraPlugin/Forms/SettingsForm.Designer.cs @@ -61,8 +61,7 @@ namespace GreenshotJiraPlugin { this.buttonOK.Location = new System.Drawing.Point(222, 84); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 2; - this.buttonOK.Text = "OK"; + this.buttonOK.TabIndex = 10; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -73,7 +72,7 @@ namespace GreenshotJiraPlugin { this.buttonCancel.Location = new System.Drawing.Point(303, 84); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 3; + this.buttonCancel.TabIndex = 11; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); @@ -133,7 +132,6 @@ namespace GreenshotJiraPlugin { this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SettingsForm"; - this.Text = "Please enter your Jira data"; this.ResumeLayout(false); this.PerformLayout(); } diff --git a/GreenshotOCRPlugin/SettingsForm.Designer.cs b/GreenshotOCRPlugin/SettingsForm.Designer.cs index 835b1f375..feaf6a9d1 100644 --- a/GreenshotOCRPlugin/SettingsForm.Designer.cs +++ b/GreenshotOCRPlugin/SettingsForm.Designer.cs @@ -60,62 +60,62 @@ namespace GreenshotOCR // this.comboBox_languages.FormattingEnabled = true; this.comboBox_languages.Items.AddRange(new object[] { - "English", - "Deutsch"}); + "English", + "Deutsch"}); this.comboBox_languages.Location = new System.Drawing.Point(74, 12); this.comboBox_languages.Name = "comboBox_languages"; this.comboBox_languages.Size = new System.Drawing.Size(153, 21); - this.comboBox_languages.TabIndex = 0; + this.comboBox_languages.TabIndex = 1; // // checkBox_orientImage // + this.checkBox_orientImage.LanguageKey = "ocr.orient_image"; this.checkBox_orientImage.Location = new System.Drawing.Point(13, 68); this.checkBox_orientImage.Name = "checkBox_orientImage"; - this.checkBox_orientImage.Size = new System.Drawing.Size(104, 24); - this.checkBox_orientImage.TabIndex = 1; - this.checkBox_orientImage.LanguageKey = "ocr.orient_image"; - this.checkBox_orientImage.UseVisualStyleBackColor = true; - this.checkBox_orientImage.SectionName = "OCR"; this.checkBox_orientImage.PropertyName = "orientimage"; + this.checkBox_orientImage.SectionName = "OCR"; + this.checkBox_orientImage.Size = new System.Drawing.Size(104, 24); + this.checkBox_orientImage.TabIndex = 3; + this.checkBox_orientImage.UseVisualStyleBackColor = true; // // checkBox_straightenImage // + this.checkBox_straightenImage.LanguageKey = "ocr.straighten_image"; this.checkBox_straightenImage.Location = new System.Drawing.Point(13, 41); this.checkBox_straightenImage.Name = "checkBox_straightenImage"; + this.checkBox_straightenImage.PropertyName = "straightenImage"; + this.checkBox_straightenImage.SectionName = "OCR"; this.checkBox_straightenImage.Size = new System.Drawing.Size(109, 24); this.checkBox_straightenImage.TabIndex = 2; - this.checkBox_straightenImage.LanguageKey = "ocr.straighten_image"; this.checkBox_straightenImage.UseVisualStyleBackColor = true; - this.checkBox_straightenImage.SectionName = "OCR"; - this.checkBox_straightenImage.PropertyName = "straightenImage"; // // label_language // + this.label_language.LanguageKey = "ocr.language"; this.label_language.Location = new System.Drawing.Point(13, 15); this.label_language.Name = "label_language"; this.label_language.Size = new System.Drawing.Size(55, 23); this.label_language.TabIndex = 3; - this.label_language.LanguageKey = "ocr.language"; // // buttonOK // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.buttonOK.LanguageKey = "OK"; this.buttonOK.Location = new System.Drawing.Point(12, 98); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(104, 23); this.buttonOK.TabIndex = 4; - this.buttonOK.LanguageKey = "OK"; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // // buttonCancel // this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.LanguageKey = "CANCEL"; this.buttonCancel.Location = new System.Drawing.Point(128, 98); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(104, 23); this.buttonCancel.TabIndex = 5; - this.buttonCancel.LanguageKey = "CANCEL"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // @@ -130,8 +130,8 @@ namespace GreenshotOCR this.Controls.Add(this.checkBox_straightenImage); this.Controls.Add(this.checkBox_orientImage); this.Controls.Add(this.comboBox_languages); - this.Name = "SettingsForm"; this.LanguageKey = "settings_title"; + this.Name = "SettingsForm"; this.ResumeLayout(false); } private GreenshotPlugin.Controls.GreenshotLabel label_language; diff --git a/GreenshotPhotobucketPlugin/Forms/SettingsForm.Designer.cs b/GreenshotPhotobucketPlugin/Forms/SettingsForm.Designer.cs index 0094448bc..affdbad82 100644 --- a/GreenshotPhotobucketPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotPhotobucketPlugin/Forms/SettingsForm.Designer.cs @@ -60,7 +60,7 @@ namespace GreenshotPhotobucketPlugin { this.buttonOK.Location = new System.Drawing.Point(222, 70); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 2; + this.buttonOK.TabIndex = 3; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -71,7 +71,7 @@ namespace GreenshotPhotobucketPlugin { this.buttonCancel.Location = new System.Drawing.Point(303, 70); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 3; + this.buttonCancel.TabIndex = 4; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); // @@ -84,7 +84,7 @@ namespace GreenshotPhotobucketPlugin { this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.SectionName = "Photobucket"; this.combobox_uploadimageformat.Size = new System.Drawing.Size(276, 21); - this.combobox_uploadimageformat.TabIndex = 8; + this.combobox_uploadimageformat.TabIndex = 1; // // label_upload_format // @@ -103,7 +103,7 @@ namespace GreenshotPhotobucketPlugin { this.checkbox_usepagelink.PropertyName = "UsePageLink"; this.checkbox_usepagelink.SectionName = "Photobucket"; this.checkbox_usepagelink.Size = new System.Drawing.Size(251, 17); - this.checkbox_usepagelink.TabIndex = 13; + this.checkbox_usepagelink.TabIndex = 2; this.checkbox_usepagelink.UseVisualStyleBackColor = true; // // SettingsForm diff --git a/GreenshotPicasaPlugin/Forms/SettingsForm.Designer.cs b/GreenshotPicasaPlugin/Forms/SettingsForm.Designer.cs index 7e77681c7..60eb2699b 100644 --- a/GreenshotPicasaPlugin/Forms/SettingsForm.Designer.cs +++ b/GreenshotPicasaPlugin/Forms/SettingsForm.Designer.cs @@ -60,8 +60,7 @@ namespace GreenshotPicasaPlugin { this.buttonOK.Location = new System.Drawing.Point(267, 78); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); - this.buttonOK.TabIndex = 12; - this.buttonOK.Text = "OK"; + this.buttonOK.TabIndex = 10; this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.Click += new System.EventHandler(this.ButtonOKClick); // @@ -72,7 +71,7 @@ namespace GreenshotPicasaPlugin { this.buttonCancel.Location = new System.Drawing.Point(348, 78); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); - this.buttonCancel.TabIndex = 13; + this.buttonCancel.TabIndex = 11; this.buttonCancel.Text = "Cancel"; this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick); @@ -80,7 +79,7 @@ namespace GreenshotPicasaPlugin { // combobox_uploadimageformat // this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); + | System.Windows.Forms.AnchorStyles.Right))); this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.combobox_uploadimageformat.FormattingEnabled = true; this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12); @@ -88,7 +87,7 @@ namespace GreenshotPicasaPlugin { this.combobox_uploadimageformat.PropertyName = "UploadFormat"; this.combobox_uploadimageformat.SectionName = "Picasa"; this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21); - this.combobox_uploadimageformat.TabIndex = 5; + this.combobox_uploadimageformat.TabIndex = 1; // // label_upload_format // @@ -119,7 +118,7 @@ namespace GreenshotPicasaPlugin { this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard"; this.checkboxAfterUploadLinkToClipBoard.SectionName = "Picasa"; this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17); - this.checkboxAfterUploadLinkToClipBoard.TabIndex = 10; + this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2; this.checkboxAfterUploadLinkToClipBoard.Text = "Link to clipboard"; this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true; //