Small correction for the tab-order of the TornEdgeSettingsForm.cs, also remove the translations from the code (these are not needed).

This commit is contained in:
RKrom 2014-11-26 20:28:09 +01:00
commit 0e2d9cda61

View file

@ -169,7 +169,6 @@ namespace Greenshot.Forms {
this.buttonOK.Name = "buttonOK"; this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.Size = new System.Drawing.Size(75, 23);
this.buttonOK.TabIndex = 20; this.buttonOK.TabIndex = 20;
this.buttonOK.Text = "Ok";
this.buttonOK.UseVisualStyleBackColor = true; this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click); this.buttonOK.Click += new System.EventHandler(this.ButtonOK_Click);
// //
@ -181,7 +180,6 @@ namespace Greenshot.Forms {
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.Size = new System.Drawing.Size(75, 23);
this.buttonCancel.TabIndex = 21; this.buttonCancel.TabIndex = 21;
this.buttonCancel.Text = "Cancel";
this.buttonCancel.UseVisualStyleBackColor = true; this.buttonCancel.UseVisualStyleBackColor = true;
// //
// labelDarkness // labelDarkness
@ -202,7 +200,6 @@ namespace Greenshot.Forms {
this.labelOffset.Name = "labelOffset"; this.labelOffset.Name = "labelOffset";
this.labelOffset.Size = new System.Drawing.Size(75, 13); this.labelOffset.Size = new System.Drawing.Size(75, 13);
this.labelOffset.TabIndex = 14; this.labelOffset.TabIndex = 14;
this.labelOffset.Text = "Shadow offset";
// //
// labelThickness // labelThickness
// //
@ -212,7 +209,6 @@ namespace Greenshot.Forms {
this.labelThickness.Name = "labelThickness"; this.labelThickness.Name = "labelThickness";
this.labelThickness.Size = new System.Drawing.Size(94, 13); this.labelThickness.Size = new System.Drawing.Size(94, 13);
this.labelThickness.TabIndex = 15; this.labelThickness.TabIndex = 15;
this.labelThickness.Text = "Shadow thickness";
// //
// toothsize // toothsize
// //
@ -244,7 +240,6 @@ namespace Greenshot.Forms {
this.label_toothsize.Name = "label_toothsize"; this.label_toothsize.Name = "label_toothsize";
this.label_toothsize.Size = new System.Drawing.Size(56, 13); this.label_toothsize.Size = new System.Drawing.Size(56, 13);
this.label_toothsize.TabIndex = 17; this.label_toothsize.TabIndex = 17;
this.label_toothsize.Text = "Tooth size";
// //
// label_horizontaltoothrange // label_horizontaltoothrange
// //
@ -253,9 +248,7 @@ namespace Greenshot.Forms {
this.label_horizontaltoothrange.Location = new System.Drawing.Point(12, 166); this.label_horizontaltoothrange.Location = new System.Drawing.Point(12, 166);
this.label_horizontaltoothrange.Name = "label_horizontaltoothrange"; this.label_horizontaltoothrange.Name = "label_horizontaltoothrange";
this.label_horizontaltoothrange.Size = new System.Drawing.Size(111, 13); this.label_horizontaltoothrange.Size = new System.Drawing.Size(111, 13);
this.label_horizontaltoothrange.TabIndex = 19; this.label_horizontaltoothrange.TabIndex = 19; //
this.label_horizontaltoothrange.Text = "Horizontal tooth range";
//
// horizontaltoothrange // horizontaltoothrange
// //
this.horizontaltoothrange.Location = new System.Drawing.Point(173, 164); this.horizontaltoothrange.Location = new System.Drawing.Point(173, 164);
@ -286,7 +279,6 @@ namespace Greenshot.Forms {
this.labelVerticaltoothrange.Name = "labelVerticaltoothrange"; this.labelVerticaltoothrange.Name = "labelVerticaltoothrange";
this.labelVerticaltoothrange.Size = new System.Drawing.Size(99, 13); this.labelVerticaltoothrange.Size = new System.Drawing.Size(99, 13);
this.labelVerticaltoothrange.TabIndex = 21; this.labelVerticaltoothrange.TabIndex = 21;
this.labelVerticaltoothrange.Text = "Vertical tooth range";
// //
// verticaltoothrange // verticaltoothrange
// //
@ -317,8 +309,7 @@ namespace Greenshot.Forms {
this.top.Location = new System.Drawing.Point(263, 35); this.top.Location = new System.Drawing.Point(263, 35);
this.top.Name = "top"; this.top.Name = "top";
this.top.Size = new System.Drawing.Size(228, 33); this.top.Size = new System.Drawing.Size(228, 33);
this.top.TabIndex = 9; this.top.TabIndex = 10;
this.top.Text = "Top side";
this.top.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.top.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.top.UseVisualStyleBackColor = true; this.top.UseVisualStyleBackColor = true;
this.top.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged); this.top.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
@ -330,8 +321,7 @@ namespace Greenshot.Forms {
this.right.Location = new System.Drawing.Point(393, 60); this.right.Location = new System.Drawing.Point(393, 60);
this.right.Name = "right"; this.right.Name = "right";
this.right.Size = new System.Drawing.Size(98, 49); this.right.Size = new System.Drawing.Size(98, 49);
this.right.TabIndex = 10; this.right.TabIndex = 11;
this.right.Text = "Right side";
this.right.UseVisualStyleBackColor = true; this.right.UseVisualStyleBackColor = true;
this.right.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged); this.right.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
// //
@ -342,8 +332,7 @@ namespace Greenshot.Forms {
this.bottom.Location = new System.Drawing.Point(263, 98); this.bottom.Location = new System.Drawing.Point(263, 98);
this.bottom.Name = "bottom"; this.bottom.Name = "bottom";
this.bottom.Size = new System.Drawing.Size(228, 31); this.bottom.Size = new System.Drawing.Size(228, 31);
this.bottom.TabIndex = 11; this.bottom.TabIndex = 12;
this.bottom.Text = "Bottom side";
this.bottom.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.bottom.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.bottom.UseVisualStyleBackColor = true; this.bottom.UseVisualStyleBackColor = true;
this.bottom.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged); this.bottom.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
@ -355,8 +344,7 @@ namespace Greenshot.Forms {
this.left.Location = new System.Drawing.Point(243, 60); this.left.Location = new System.Drawing.Point(243, 60);
this.left.Name = "left"; this.left.Name = "left";
this.left.Size = new System.Drawing.Size(118, 49); this.left.Size = new System.Drawing.Size(118, 49);
this.left.TabIndex = 12; this.left.TabIndex = 13;
this.left.Text = "Left side";
this.left.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.left.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.left.UseVisualStyleBackColor = true; this.left.UseVisualStyleBackColor = true;
this.left.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged); this.left.CheckedChanged += new System.EventHandler(this.AnySideCheckedChanged);
@ -369,7 +357,6 @@ namespace Greenshot.Forms {
this.shadowCheckbox.Name = "shadowCheckbox"; this.shadowCheckbox.Name = "shadowCheckbox";
this.shadowCheckbox.Size = new System.Drawing.Size(110, 17); this.shadowCheckbox.Size = new System.Drawing.Size(110, 17);
this.shadowCheckbox.TabIndex = 1; this.shadowCheckbox.TabIndex = 1;
this.shadowCheckbox.Text = "Generate shadow";
this.shadowCheckbox.UseVisualStyleBackColor = true; this.shadowCheckbox.UseVisualStyleBackColor = true;
this.shadowCheckbox.CheckedChanged += new System.EventHandler(this.ShadowCheckbox_CheckedChanged); this.shadowCheckbox.CheckedChanged += new System.EventHandler(this.ShadowCheckbox_CheckedChanged);
// //
@ -380,8 +367,7 @@ namespace Greenshot.Forms {
this.all.Location = new System.Drawing.Point(251, 12); this.all.Location = new System.Drawing.Point(251, 12);
this.all.Name = "all"; this.all.Name = "all";
this.all.Size = new System.Drawing.Size(88, 17); this.all.Size = new System.Drawing.Size(88, 17);
this.all.TabIndex = 22; this.all.TabIndex = 9;
this.all.Text = "Tear all sides";
this.all.UseVisualStyleBackColor = true; this.all.UseVisualStyleBackColor = true;
this.all.CheckedChanged += new System.EventHandler(this.all_CheckedChanged); this.all.CheckedChanged += new System.EventHandler(this.all_CheckedChanged);
// //
@ -421,7 +407,6 @@ namespace Greenshot.Forms {
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "TornEdgeSettingsForm"; this.Name = "TornEdgeSettingsForm";
this.ShowIcon = false; this.ShowIcon = false;
this.Text = "Torn edges settings";
this.Load += new System.EventHandler(this.TornEdgeSettingsForm_Load); this.Load += new System.EventHandler(this.TornEdgeSettingsForm_Load);
((System.ComponentModel.ISupportInitialize)(this.thickness)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.thickness)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.offsetX)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.offsetX)).EndInit();