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