* UIForm、UIUserControl: 默认设置AutoScaleMode为None

This commit is contained in:
Sunny 2022-04-02 23:39:10 +08:00
parent 7a9aad616c
commit fc59df03fe
2 changed files with 7 additions and 5 deletions

View File

@ -19,7 +19,6 @@
* 2021-07-23: V3.0.5 * 2021-07-23: V3.0.5
******************************************************************************/ ******************************************************************************/
namespace Sunny.UI namespace Sunny.UI
{ {
public interface ITranslate public interface ITranslate

View File

@ -113,16 +113,19 @@ namespace Sunny.UI
/// <summary> /// <summary>
/// LayuiGreen /// LayuiGreen
/// </summary> /// </summary>
[DisplayText("LayuiGreen")]
LayuiGreen = 7, LayuiGreen = 7,
/// <summary> /// <summary>
/// LayuiRed /// LayuiRed
/// </summary> /// </summary>
[DisplayText("LayuiRed")]
LayuiRed = 8, LayuiRed = 8,
/// <summary> /// <summary>
/// LayuiOrange /// LayuiOrange
/// </summary> /// </summary>
[DisplayText("LayuiOrange")]
LayuiOrange = 9, LayuiOrange = 9,
/// <summary> /// <summary>
@ -183,7 +186,7 @@ namespace Sunny.UI
/// <summary> /// <summary>
/// 灰 /// 灰
/// </summary> /// </summary>
private static readonly UIBaseStyle Gray = new UIGrayStyle(); public static readonly UIBaseStyle Gray = new UIGrayStyle();
/// <summary> /// <summary>
/// 绿 /// 绿
@ -198,17 +201,17 @@ namespace Sunny.UI
/// <summary> /// <summary>
/// 深蓝 /// 深蓝
/// </summary> /// </summary>
private static readonly UIBaseStyle DarkBlue = new UIDarkBlueStyle(); public static readonly UIBaseStyle DarkBlue = new UIDarkBlueStyle();
/// <summary> /// <summary>
/// 黑 /// 黑
/// </summary> /// </summary>
private static readonly UIBaseStyle Black = new UIBlackStyle(); public static readonly UIBaseStyle Black = new UIBlackStyle();
/// <summary> /// <summary>
/// 紫 /// 紫
/// </summary> /// </summary>
private static readonly UIBaseStyle Purple = new UIPurpleStyle(); public static readonly UIBaseStyle Purple = new UIPurpleStyle();
/// <summary> /// <summary>
/// 多彩 /// 多彩