be4f973a9f
Added ClearImage for barcode reading
100 lines
3.2 KiB
C#
100 lines
3.2 KiB
C#
namespace WinFormsApp3
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
button1 = new Button();
|
|
richTextBox1 = new RichTextBox();
|
|
button2 = new Button();
|
|
button3 = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(549, 15);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(208, 59);
|
|
button1.TabIndex = 0;
|
|
button1.Text = "Tesseract";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// richTextBox1
|
|
//
|
|
richTextBox1.DetectUrls = false;
|
|
richTextBox1.HideSelection = false;
|
|
richTextBox1.Location = new Point(9, 15);
|
|
richTextBox1.Name = "richTextBox1";
|
|
richTextBox1.Size = new Size(511, 402);
|
|
richTextBox1.TabIndex = 1;
|
|
richTextBox1.Text = "";
|
|
richTextBox1.WordWrap = false;
|
|
//
|
|
// button2
|
|
//
|
|
button2.Location = new Point(549, 122);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(208, 59);
|
|
button2.TabIndex = 0;
|
|
button2.Text = "ClearImage";
|
|
button2.UseVisualStyleBackColor = true;
|
|
button2.Click += button2_Click;
|
|
//
|
|
// button3
|
|
//
|
|
button3.Location = new Point(549, 249);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(208, 59);
|
|
button3.TabIndex = 2;
|
|
button3.Text = "button1";
|
|
button3.UseVisualStyleBackColor = true;
|
|
button3.Click += button3_Click;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(button3);
|
|
Controls.Add(richTextBox1);
|
|
Controls.Add(button2);
|
|
Controls.Add(button1);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button button1;
|
|
private RichTextBox richTextBox1;
|
|
private Button button2;
|
|
private Button button3;
|
|
}
|
|
}
|