Commit 175c3b0a 张东亮

关闭OCR时识别按钮显示问题

1 个父辈 059311cf
......@@ -55,11 +55,11 @@ namespace SmartScan
this.panel6 = new System.Windows.Forms.Panel();
this.BtnOpenLight = new Asa.FaceControl.FaceButton();
this.BtnSaveImage = new Asa.FaceControl.FaceButton();
this.BtnOcrCode = new Asa.FaceControl.FaceButton();
this.BtnScanCode = new Asa.FaceControl.FaceButton();
this.BtnCloseLight = new Asa.FaceControl.FaceButton();
this.BtnCameraImage = new Asa.FaceControl.FaceButton();
this.BtnLocalImage = new Asa.FaceControl.FaceButton();
this.BtnOcrCode = new Asa.FaceControl.FaceButton();
this.ImgShow = new Asa.FaceControl.FacePictureBox();
this.facePanel1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
......@@ -445,11 +445,11 @@ namespace SmartScan
| System.Windows.Forms.AnchorStyles.Right)));
this.panel6.Controls.Add(this.BtnOpenLight);
this.panel6.Controls.Add(this.BtnSaveImage);
this.panel6.Controls.Add(this.BtnOcrCode);
this.panel6.Controls.Add(this.BtnScanCode);
this.panel6.Controls.Add(this.BtnCloseLight);
this.panel6.Controls.Add(this.BtnCameraImage);
this.panel6.Controls.Add(this.BtnLocalImage);
this.panel6.Controls.Add(this.BtnOcrCode);
this.panel6.Location = new System.Drawing.Point(6, 36);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(571, 236);
......@@ -491,25 +491,6 @@ namespace SmartScan
this.BtnSaveImage.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.BtnSaveImage.Click += new System.EventHandler(this.BtnSaveImage_Click);
//
// BtnOcrCode
//
this.BtnOcrCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.BtnOcrCode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnOcrCode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnOcrCode.BorderWidth = 2;
this.BtnOcrCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnOcrCode.HoldPress = false;
this.BtnOcrCode.Image = global::SmartScan.Properties.Resources.OCR;
this.BtnOcrCode.Location = new System.Drawing.Point(367, 125);
this.BtnOcrCode.Margin = new System.Windows.Forms.Padding(4);
this.BtnOcrCode.Name = "BtnOcrCode";
this.BtnOcrCode.Padding = new System.Windows.Forms.Padding(4);
this.BtnOcrCode.Size = new System.Drawing.Size(200, 105);
this.BtnOcrCode.TabIndex = 19;
this.BtnOcrCode.Text = "OCR";
this.BtnOcrCode.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.BtnOcrCode.Click += new System.EventHandler(this.BtnOcrCode_Click_1);
//
// BtnScanCode
//
this.BtnScanCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
......@@ -583,6 +564,25 @@ namespace SmartScan
this.BtnLocalImage.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.BtnLocalImage.Click += new System.EventHandler(this.BtnLocalImage_Click);
//
// BtnOcrCode
//
this.BtnOcrCode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.BtnOcrCode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnOcrCode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnOcrCode.BorderWidth = 2;
this.BtnOcrCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.BtnOcrCode.HoldPress = false;
this.BtnOcrCode.Image = global::SmartScan.Properties.Resources.OCR;
this.BtnOcrCode.Location = new System.Drawing.Point(367, 125);
this.BtnOcrCode.Margin = new System.Windows.Forms.Padding(4);
this.BtnOcrCode.Name = "BtnOcrCode";
this.BtnOcrCode.Padding = new System.Windows.Forms.Padding(4);
this.BtnOcrCode.Size = new System.Drawing.Size(200, 105);
this.BtnOcrCode.TabIndex = 19;
this.BtnOcrCode.Text = "OCR";
this.BtnOcrCode.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.BtnOcrCode.Click += new System.EventHandler(this.BtnOcrCode_Click_1);
//
// ImgShow
//
this.ImgShow.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
......
......@@ -24,8 +24,8 @@ namespace SmartScan
{
InitializeComponent();
BtnOcrCode.Visible = Config.Func_EnabledOCR;
if (!Config.Func_EnabledOCR)
BtnScanCode.Width = LstCode.Width;
//if (!Config.Func_EnabledOCR)
// BtnScanCode.Width = LstCode.Width;
if (!BtnTemplateValite.Visible)
BtnExtractCode.Width = LstCode.Width;
LstMate.Items.AddRange(BLLCommon.mateEdit.Name);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!