فهرست منبع

Merge branch 'master' of ssh://10.10.101.21/source/mes-client

Hcsy 8 سال پیش
والد
کامیت
6abf271a38
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      UAS-MES/CustomControl/TextBoxWithIcon/TextBoxGeneratePaCode.cs

+ 6 - 0
UAS-MES/CustomControl/TextBoxWithIcon/TextBoxGeneratePaCode.cs

@@ -12,6 +12,12 @@ namespace UAS_MES.CustomControl.TextBoxWithIcon
             toolTip1.SetToolTip(GeneratePaCode, "自动生成箱号");
         }
 
+        //选中全部文本
+        public void SelectAll()
+        {
+            enterTextBox1.SelectAll();
+        }
+
         private bool showClickIcon;
 
         //重写Text方法,用于接收或者传递值