* 重构多语翻译类
This commit is contained in:
parent
1ccaaad57c
commit
2c24db60d9
@ -76,6 +76,9 @@ namespace Sunny.UI
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public override string[] FormTranslatorProperties { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 颜色改变事件
|
||||
/// </summary>
|
||||
|
@ -82,6 +82,9 @@ namespace Sunny.UI
|
||||
CreateInstance();
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public override string[] FormTranslatorProperties { get; }
|
||||
|
||||
[DefaultValue(0), Category("SunnyUI"), Description("垂直滚动条宽度,最小为原生滚动条宽度")]
|
||||
public int ScrollBarWidth
|
||||
{
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -55,6 +55,9 @@ namespace Sunny.UI
|
||||
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public override string[] FormTranslatorProperties { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
|
@ -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;
|
||||
|
@ -49,6 +49,9 @@ namespace Sunny.UI
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
[Browsable(false)]
|
||||
public override string[] FormTranslatorProperties { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user