mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Use Accept and Cancellation buttons where appropriate
This commit is contained in:
parent
e35b7c299d
commit
81f5868232
20 changed files with 29 additions and 0 deletions
|
@ -139,9 +139,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// GradientPickerForm
|
// GradientPickerForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.pbPreview);
|
this.Controls.Add(this.pbPreview);
|
||||||
this.Controls.Add(this.lblPreview);
|
this.Controls.Add(this.lblPreview);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
|
|
2
ShareX.HelpersLib/DNS/DNSChangerForm.Designer.cs
generated
2
ShareX.HelpersLib/DNS/DNSChangerForm.Designer.cs
generated
|
@ -129,9 +129,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// DNSChangerForm
|
// DNSChangerForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnSave;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnPingSecondary);
|
this.Controls.Add(this.btnPingSecondary);
|
||||||
this.Controls.Add(this.btnPingPrimary);
|
this.Controls.Add(this.btnPingPrimary);
|
||||||
this.Controls.Add(this.cbAutomatic);
|
this.Controls.Add(this.cbAutomatic);
|
||||||
|
|
|
@ -94,6 +94,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.pbClipboard);
|
this.Controls.Add(this.pbClipboard);
|
||||||
this.Controls.Add(this.cbDontShowThisWindow);
|
this.Controls.Add(this.cbDontShowThisWindow);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
|
|
2
ShareX.HelpersLib/Forms/ErrorForm.Designer.cs
generated
2
ShareX.HelpersLib/Forms/ErrorForm.Designer.cs
generated
|
@ -103,9 +103,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ErrorForm
|
// ErrorForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnContinue;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnClose;
|
||||||
this.Controls.Add(this.lblErrorMessage);
|
this.Controls.Add(this.lblErrorMessage);
|
||||||
this.Controls.Add(this.flpMenu);
|
this.Controls.Add(this.flpMenu);
|
||||||
this.Controls.Add(this.txtException);
|
this.Controls.Add(this.txtException);
|
||||||
|
|
2
ShareX.HelpersLib/Printer/PrintForm.Designer.cs
generated
2
ShareX.HelpersLib/Printer/PrintForm.Designer.cs
generated
|
@ -100,9 +100,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// PrintForm
|
// PrintForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnPrint;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnPrint);
|
this.Controls.Add(this.btnPrint);
|
||||||
this.Controls.Add(this.btnShowPreview);
|
this.Controls.Add(this.btnShowPreview);
|
||||||
|
|
|
@ -231,6 +231,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnClose;
|
||||||
this.Controls.Add(this.btnClose);
|
this.Controls.Add(this.btnClose);
|
||||||
this.Controls.Add(this.txtPresetName);
|
this.Controls.Add(this.txtPresetName);
|
||||||
this.Controls.Add(this.lblPresetName);
|
this.Controls.Add(this.lblPresetName);
|
||||||
|
|
|
@ -135,6 +135,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ImageCombinerForm
|
// ImageCombinerForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnCombine;
|
||||||
this.AllowDrop = true;
|
this.AllowDrop = true;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
|
|
@ -157,6 +157,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ImageThumbnailerForm
|
// ImageThumbnailerForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnGenerate;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.btnOutputFolder);
|
this.Controls.Add(this.btnOutputFolder);
|
||||||
|
|
|
@ -141,9 +141,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// CanvasSizeForm
|
// CanvasSizeForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
this.Controls.Add(this.btnOK);
|
||||||
this.Controls.Add(this.lblBottom);
|
this.Controls.Add(this.lblBottom);
|
||||||
|
|
|
@ -107,9 +107,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ImageSizeForm
|
// ImageSizeForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.lblHeightPixels);
|
this.Controls.Add(this.lblHeightPixels);
|
||||||
this.Controls.Add(this.lblWidthPixels);
|
this.Controls.Add(this.lblWidthPixels);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
|
|
|
@ -531,6 +531,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ScrollingCaptureForm
|
// ScrollingCaptureForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnCapture;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
|
|
@ -107,6 +107,7 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// PuushLoginForm
|
// PuushLoginForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnLogin;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
|
|
@ -64,9 +64,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// TwitterTweetForm
|
// TwitterTweetForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.txtTweet);
|
this.Controls.Add(this.txtTweet);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
this.Controls.Add(this.btnOK);
|
||||||
|
|
1
ShareX/Forms/ActionsForm.Designer.cs
generated
1
ShareX/Forms/ActionsForm.Designer.cs
generated
|
@ -128,6 +128,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.cbHiddenWindow);
|
this.Controls.Add(this.cbHiddenWindow);
|
||||||
this.Controls.Add(this.lblOutputExtension);
|
this.Controls.Add(this.lblOutputExtension);
|
||||||
this.Controls.Add(this.txtOutputExtension);
|
this.Controls.Add(this.txtOutputExtension);
|
||||||
|
|
1
ShareX/Forms/AfterUploadForm.designer.cs
generated
1
ShareX/Forms/AfterUploadForm.designer.cs
generated
|
@ -129,6 +129,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnClose;
|
||||||
this.Controls.Add(this.lvClipboardFormats);
|
this.Controls.Add(this.lvClipboardFormats);
|
||||||
this.Controls.Add(this.btnClose);
|
this.Controls.Add(this.btnClose);
|
||||||
this.Controls.Add(this.btnOpenLink);
|
this.Controls.Add(this.btnOpenLink);
|
||||||
|
|
2
ShareX/Forms/ClipboardFormatForm.Designer.cs
generated
2
ShareX/Forms/ClipboardFormatForm.Designer.cs
generated
|
@ -79,9 +79,11 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// ClipboardFormatForm
|
// ClipboardFormatForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnOK;
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
this.Controls.Add(this.btnOK);
|
||||||
this.Controls.Add(this.lblExample);
|
this.Controls.Add(this.lblExample);
|
||||||
|
|
1
ShareX/Forms/EncoderProgramForm.Designer.cs
generated
1
ShareX/Forms/EncoderProgramForm.Designer.cs
generated
|
@ -109,6 +109,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
this.Controls.Add(this.btnOK);
|
||||||
this.Controls.Add(this.btnPathBrowse);
|
this.Controls.Add(this.btnPathBrowse);
|
||||||
|
|
1
ShareX/Forms/QuickTaskMenuEditorForm.Designer.cs
generated
1
ShareX/Forms/QuickTaskMenuEditorForm.Designer.cs
generated
|
@ -105,6 +105,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnClose;
|
||||||
this.Controls.Add(this.lblTip);
|
this.Controls.Add(this.lblTip);
|
||||||
this.Controls.Add(this.btnClose);
|
this.Controls.Add(this.btnClose);
|
||||||
this.Controls.Add(this.btnReset);
|
this.Controls.Add(this.btnReset);
|
||||||
|
|
2
ShareX/Forms/TextUploadForm.Designer.cs
generated
2
ShareX/Forms/TextUploadForm.Designer.cs
generated
|
@ -69,8 +69,10 @@ private void InitializeComponent()
|
||||||
//
|
//
|
||||||
// TextUploadForm
|
// TextUploadForm
|
||||||
//
|
//
|
||||||
|
this.AcceptButton = this.btnUpload;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.ClientSize = new System.Drawing.Size(632, 520);
|
this.ClientSize = new System.Drawing.Size(632, 520);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnUpload);
|
this.Controls.Add(this.btnUpload);
|
||||||
|
|
1
ShareX/Forms/WatchFolderForm.Designer.cs
generated
1
ShareX/Forms/WatchFolderForm.Designer.cs
generated
|
@ -98,6 +98,7 @@ private void InitializeComponent()
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.CancelButton = this.btnCancel;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOK);
|
this.Controls.Add(this.btnOK);
|
||||||
this.Controls.Add(this.cbIncludeSubdirectories);
|
this.Controls.Add(this.cbIncludeSubdirectories);
|
||||||
|
|
Loading…
Reference in a new issue