* UIPage: 默认设置AutoScaleMode为None
This commit is contained in:
parent
f635e11ab3
commit
c9b6653ad1
Binary file not shown.
@ -17,6 +17,7 @@
|
|||||||
* 创建日期: 2020-01-01
|
* 创建日期: 2020-01-01
|
||||||
*
|
*
|
||||||
* 2022-04-02: V3.1.1 增加用户控件基类
|
* 2022-04-02: V3.1.1 增加用户控件基类
|
||||||
|
* 2022-04-02: V3.1.2 默认设置AutoScaleMode为None
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
* 2022-02-09: V3.1.0 增加页面间传值方法SetParamToPage
|
* 2022-02-09: V3.1.0 增加页面间传值方法SetParamToPage
|
||||||
* 2022-03-19: V3.1.1 重构主题配色
|
* 2022-03-19: V3.1.1 重构主题配色
|
||||||
* 2022-03-28: V3.1.1 增加了查找页面的方法
|
* 2022-03-28: V3.1.1 增加了查找页面的方法
|
||||||
|
* 2022-04-02: V3.1.2 默认设置AutoScaleMode为None
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
* 2021-08-24: V3.0.6 修复OnLoad在加载时重复加载两次的问题
|
* 2021-08-24: V3.0.6 修复OnLoad在加载时重复加载两次的问题
|
||||||
* 2021-12-01: V3.0.9 增加FeedBack和SetParam函数,用于多页面传值
|
* 2021-12-01: V3.0.9 增加FeedBack和SetParam函数,用于多页面传值
|
||||||
* 2021-12-30: V3.0.9 增加NeedReload,页面切换是否需要重载Load
|
* 2021-12-30: V3.0.9 增加NeedReload,页面切换是否需要重载Load
|
||||||
|
* 2022-04-02: V3.1.2 默认设置AutoScaleMode为None
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
@ -305,6 +306,7 @@ namespace Sunny.UI
|
|||||||
protected override void OnShown(EventArgs e)
|
protected override void OnShown(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnShown(e);
|
base.OnShown(e);
|
||||||
|
if (AutoScaleMode == AutoScaleMode.Font) AutoScaleMode = AutoScaleMode.None;
|
||||||
IsShown = true;
|
IsShown = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user