mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 11:10:23 +12:00
Also added OCR help button to task settings window
This commit is contained in:
parent
0e68e9006a
commit
68099c4494
11
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
11
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
|
@ -217,6 +217,7 @@ private void InitializeComponent()
|
|||
this.nudGIFFPS = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblGIFFPS = new System.Windows.Forms.Label();
|
||||
this.tpOCR = new System.Windows.Forms.TabPage();
|
||||
this.btnCaptureOCRHelp = new System.Windows.Forms.Button();
|
||||
this.cbCaptureOCRAutoCopy = new System.Windows.Forms.CheckBox();
|
||||
this.cbCaptureOCRSilent = new System.Windows.Forms.CheckBox();
|
||||
this.lblOCRDefaultLanguage = new System.Windows.Forms.Label();
|
||||
|
@ -1985,6 +1986,7 @@ private void InitializeComponent()
|
|||
//
|
||||
// tpOCR
|
||||
//
|
||||
this.tpOCR.Controls.Add(this.btnCaptureOCRHelp);
|
||||
this.tpOCR.Controls.Add(this.cbCaptureOCRAutoCopy);
|
||||
this.tpOCR.Controls.Add(this.cbCaptureOCRSilent);
|
||||
this.tpOCR.Controls.Add(this.lblOCRDefaultLanguage);
|
||||
|
@ -1993,6 +1995,14 @@ private void InitializeComponent()
|
|||
this.tpOCR.Name = "tpOCR";
|
||||
this.tpOCR.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnCaptureOCRHelp
|
||||
//
|
||||
this.btnCaptureOCRHelp.Image = global::ShareX.Properties.Resources.question;
|
||||
resources.ApplyResources(this.btnCaptureOCRHelp, "btnCaptureOCRHelp");
|
||||
this.btnCaptureOCRHelp.Name = "btnCaptureOCRHelp";
|
||||
this.btnCaptureOCRHelp.UseVisualStyleBackColor = true;
|
||||
this.btnCaptureOCRHelp.Click += new System.EventHandler(this.btnCaptureOCRHelp_Click);
|
||||
//
|
||||
// cbCaptureOCRAutoCopy
|
||||
//
|
||||
resources.ApplyResources(this.cbCaptureOCRAutoCopy, "cbCaptureOCRAutoCopy");
|
||||
|
@ -2952,5 +2962,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.NumericUpDown nudRegionCaptureFPSLimit;
|
||||
private System.Windows.Forms.Label lblRegionCaptureFPSLimit;
|
||||
private System.Windows.Forms.CheckBox cbRegionCaptureActiveMonitorMode;
|
||||
private System.Windows.Forms.Button btnCaptureOCRHelp;
|
||||
}
|
||||
}
|
|
@ -1339,6 +1339,11 @@ private void cbCaptureOCRDefaultLanguage_SelectedIndexChanged(object sender, Eve
|
|||
}
|
||||
}
|
||||
|
||||
private void btnCaptureOCRHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
URLHelpers.OpenURL(Links.DocsOCR);
|
||||
}
|
||||
|
||||
private void cbCaptureOCRSilent_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
TaskSettings.CaptureSettings.OCROptions.Silent = cbCaptureOCRSilent.Checked;
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue