* 重构多语翻译类
This commit is contained in:
parent
1ccaaad57c
commit
2c24db60d9
@ -76,6 +76,9 @@ namespace Sunny.UI
|
|||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 颜色改变事件
|
/// 颜色改变事件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -82,6 +82,9 @@ namespace Sunny.UI
|
|||||||
CreateInstance();
|
CreateInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
[DefaultValue(0), Category("SunnyUI"), Description("垂直滚动条宽度,最小为原生滚动条宽度")]
|
[DefaultValue(0), Category("SunnyUI"), Description("垂直滚动条宽度,最小为原生滚动条宽度")]
|
||||||
public int ScrollBarWidth
|
public int ScrollBarWidth
|
||||||
{
|
{
|
||||||
|
@ -78,6 +78,9 @@ namespace Sunny.UI
|
|||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
[DefaultValue(true), Description("过滤框输入逐一过滤"), Category("SunnyUI")]
|
[DefaultValue(true), Description("过滤框输入逐一过滤"), Category("SunnyUI")]
|
||||||
public bool Filter1by1 { get; set; } = true;
|
public bool Filter1by1 { get; set; } = true;
|
||||||
|
|
||||||
|
@ -85,6 +85,9 @@ namespace Sunny.UI
|
|||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
[DefaultValue(false)]
|
[DefaultValue(false)]
|
||||||
[Description("显示清除按钮"), Category("SunnyUI")]
|
[Description("显示清除按钮"), Category("SunnyUI")]
|
||||||
public bool ShowClearButton
|
public bool ShowClearButton
|
||||||
|
@ -57,6 +57,9 @@ namespace Sunny.UI
|
|||||||
private DateTime max = DateTime.MaxValue;
|
private DateTime max = DateTime.MaxValue;
|
||||||
private DateTime min = DateTime.MinValue;
|
private DateTime min = DateTime.MinValue;
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
static internal DateTime EffectiveMaxDate(DateTime maxDate)
|
static internal DateTime EffectiveMaxDate(DateTime maxDate)
|
||||||
{
|
{
|
||||||
DateTime maxSupportedDate = DateTimePicker.MaximumDateTime;
|
DateTime maxSupportedDate = DateTimePicker.MaximumDateTime;
|
||||||
|
@ -55,6 +55,9 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 必需的设计器变量。
|
/// 必需的设计器变量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -43,6 +43,9 @@ namespace Sunny.UI
|
|||||||
fullControlSelect = true;
|
fullControlSelect = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
public delegate void OnValueChanged(object sender, string value);
|
public delegate void OnValueChanged(object sender, string value);
|
||||||
public event OnValueChanged ValueChanged;
|
public event OnValueChanged ValueChanged;
|
||||||
private NumPadType numPadType = NumPadType.Text;
|
private NumPadType numPadType = NumPadType.Text;
|
||||||
|
@ -49,6 +49,9 @@ namespace Sunny.UI
|
|||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Browsable(false)]
|
||||||
|
public override string[] FormTranslatorProperties { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 必需的设计器变量。
|
/// 必需的设计器变量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user