diff --git a/SunnyUI/Controls/UIColorPicker.cs b/SunnyUI/Controls/UIColorPicker.cs
index 19db1e8d..4f4bc880 100644
--- a/SunnyUI/Controls/UIColorPicker.cs
+++ b/SunnyUI/Controls/UIColorPicker.cs
@@ -76,6 +76,9 @@ namespace Sunny.UI
base.Dispose(disposing);
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
///
/// 颜色改变事件
///
diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs
index 9ac09dc0..1f997564 100644
--- a/SunnyUI/Controls/UIComboBox.cs
+++ b/SunnyUI/Controls/UIComboBox.cs
@@ -82,6 +82,9 @@ namespace Sunny.UI
CreateInstance();
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
[DefaultValue(0), Category("SunnyUI"), Description("垂直滚动条宽度,最小为原生滚动条宽度")]
public int ScrollBarWidth
{
diff --git a/SunnyUI/Controls/UIComboDataGridView.cs b/SunnyUI/Controls/UIComboDataGridView.cs
index 562c5b8b..8e9c97d1 100644
--- a/SunnyUI/Controls/UIComboDataGridView.cs
+++ b/SunnyUI/Controls/UIComboDataGridView.cs
@@ -78,6 +78,9 @@ namespace Sunny.UI
base.Dispose(disposing);
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
[DefaultValue(true), Description("过滤框输入逐一过滤"), Category("SunnyUI")]
public bool Filter1by1 { get; set; } = true;
diff --git a/SunnyUI/Controls/UIComboTreeView.cs b/SunnyUI/Controls/UIComboTreeView.cs
index fb39cdc1..22a6a49c 100644
--- a/SunnyUI/Controls/UIComboTreeView.cs
+++ b/SunnyUI/Controls/UIComboTreeView.cs
@@ -85,6 +85,9 @@ namespace Sunny.UI
base.Dispose(disposing);
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
[DefaultValue(false)]
[Description("显示清除按钮"), Category("SunnyUI")]
public bool ShowClearButton
diff --git a/SunnyUI/Controls/UIDatePicker.cs b/SunnyUI/Controls/UIDatePicker.cs
index 29265535..761b4448 100644
--- a/SunnyUI/Controls/UIDatePicker.cs
+++ b/SunnyUI/Controls/UIDatePicker.cs
@@ -57,6 +57,9 @@ namespace Sunny.UI
private DateTime max = DateTime.MaxValue;
private DateTime min = DateTime.MinValue;
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
static internal DateTime EffectiveMaxDate(DateTime maxDate)
{
DateTime maxSupportedDate = DateTimePicker.MaximumDateTime;
diff --git a/SunnyUI/Controls/UIDateTimePicker.cs b/SunnyUI/Controls/UIDateTimePicker.cs
index 8f80db9f..ed5a4a8c 100644
--- a/SunnyUI/Controls/UIDateTimePicker.cs
+++ b/SunnyUI/Controls/UIDateTimePicker.cs
@@ -55,6 +55,9 @@ namespace Sunny.UI
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
///
/// 必需的设计器变量。
///
diff --git a/SunnyUI/Controls/UINumPadTextBox.cs b/SunnyUI/Controls/UINumPadTextBox.cs
index e206099e..e7c252b7 100644
--- a/SunnyUI/Controls/UINumPadTextBox.cs
+++ b/SunnyUI/Controls/UINumPadTextBox.cs
@@ -43,6 +43,9 @@ namespace Sunny.UI
fullControlSelect = true;
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
public delegate void OnValueChanged(object sender, string value);
public event OnValueChanged ValueChanged;
private NumPadType numPadType = NumPadType.Text;
diff --git a/SunnyUI/Controls/UITimePicker.cs b/SunnyUI/Controls/UITimePicker.cs
index 37b1c33d..091b0481 100644
--- a/SunnyUI/Controls/UITimePicker.cs
+++ b/SunnyUI/Controls/UITimePicker.cs
@@ -49,6 +49,9 @@ namespace Sunny.UI
this.PerformLayout();
}
+ [Browsable(false)]
+ public override string[] FormTranslatorProperties { get; }
+
///
/// 必需的设计器变量。
///