|
|
@@ -1,6 +1,7 @@
|
|
|
using System;
|
|
|
using System.Drawing;
|
|
|
using System.Windows.Forms;
|
|
|
+using UAS_MES.Entity;
|
|
|
|
|
|
namespace UAS_MES.CustomControl.TextBoxWithIcon
|
|
|
{
|
|
|
@@ -21,12 +22,14 @@ namespace UAS_MES.CustomControl.TextBoxWithIcon
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
- return base.Text.Trim();
|
|
|
- }
|
|
|
-
|
|
|
- set
|
|
|
- {
|
|
|
- base.Text = value;
|
|
|
+ if (SystemInf.SplitStr)
|
|
|
+ {
|
|
|
+ return base.Text.Split(';')[0];
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return base.Text;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|