AcceptButton was causing issue in few forms

This commit is contained in:
Jaex 2017-11-04 20:32:59 +03:00
parent 07a89f29c6
commit b85454bf7e
5 changed files with 0 additions and 7 deletions

View file

@ -139,7 +139,6 @@ private void InitializeComponent()
//
// GradientPickerForm
//
this.AcceptButton = this.btnOK;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window;

View file

@ -141,11 +141,9 @@ private void InitializeComponent()
//
// CanvasSizeForm
//
this.AcceptButton = this.btnOK;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window;
this.CancelButton = this.btnCancel;
this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOK);
this.Controls.Add(this.lblBottom);

View file

@ -107,11 +107,9 @@ private void InitializeComponent()
//
// ImageSizeForm
//
this.AcceptButton = this.btnOK;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window;
this.CancelButton = this.btnCancel;
this.Controls.Add(this.lblHeightPixels);
this.Controls.Add(this.lblWidthPixels);
this.Controls.Add(this.btnCancel);

View file

@ -64,7 +64,6 @@ private void InitializeComponent()
//
// TwitterTweetForm
//
this.AcceptButton = this.btnOK;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Window;

View file

@ -69,7 +69,6 @@ private void InitializeComponent()
//
// TextUploadForm
//
this.AcceptButton = this.btnUpload;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel;