|
|
@@ -6,6 +6,7 @@ using System.Data;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Windows.Forms;
|
|
|
+using UAS_MES.Entity;
|
|
|
|
|
|
namespace UAS_MES.CustomControl.TextBoxWithIcon
|
|
|
{
|
|
|
@@ -15,5 +16,21 @@ namespace UAS_MES.CustomControl.TextBoxWithIcon
|
|
|
{
|
|
|
InitializeComponent();
|
|
|
}
|
|
|
+
|
|
|
+ public override string Text
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ if (SystemInf.UpperCollection)
|
|
|
+ return base.Text.ToUpper();
|
|
|
+ else
|
|
|
+ return base.Text;
|
|
|
+ }
|
|
|
+
|
|
|
+ set
|
|
|
+ {
|
|
|
+ base.Text = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|