ソースを参照

添加SelectAll方法

章政 7 年 前
コミット
4668aa2e80

+ 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方法,用于接收或者传递值