### 2021-04-03更新

------
#### ryControls    V2.1.2104.0201
- *.[修复]修复在win7上Gdu.WinformUI会报错的BUG。
This commit is contained in:
鑫Intel 2021-04-03 08:12:03 +08:00
parent f2d673f7e8
commit 2ab2e5b638
47 changed files with 1694 additions and 1709 deletions

View File

@ -1,2 +1,2 @@
[Money_Op] [Money_Op]
hwnd=397838 hwnd=1191986

View File

@ -1,4 +1,4 @@
<root> <root>
<list id="LastUpdateTime" Value="2021/2/24 19:46:53" /> <list id="LastUpdateTime" Value="2021/4/2 16:41:09" />
<list id="UpdateAfterTime" Value="0" /> <list id="UpdateAfterTime" Value="0" />
</root> </root>

View File

@ -7902,11 +7902,6 @@
</summary> </summary>
<param name="e"></param> <param name="e"></param>
</member> </member>
<member name="M:MGdu.WinFormUI.GMForm.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified)">
<summary>
重写该方法解决窗体每次还原都会变大的问题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)"> <member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)">
<summary> <summary>
重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题

View File

@ -7902,11 +7902,6 @@
</summary> </summary>
<param name="e"></param> <param name="e"></param>
</member> </member>
<member name="M:MGdu.WinFormUI.GMForm.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified)">
<summary>
重写该方法解决窗体每次还原都会变大的问题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)"> <member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)">
<summary> <summary>
重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题

View File

@ -7902,11 +7902,6 @@
</summary> </summary>
<param name="e"></param> <param name="e"></param>
</member> </member>
<member name="M:MGdu.WinFormUI.GMForm.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified)">
<summary>
重写该方法解决窗体每次还原都会变大的问题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)"> <member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)">
<summary> <summary>
重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题

View File

@ -7902,11 +7902,6 @@
</summary> </summary>
<param name="e"></param> <param name="e"></param>
</member> </member>
<member name="M:MGdu.WinFormUI.GMForm.SetBoundsCore(System.Int32,System.Int32,System.Int32,System.Int32,System.Windows.Forms.BoundsSpecified)">
<summary>
重写该方法解决窗体每次还原都会变大的问题
</summary>
</member>
<member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)"> <member name="M:MGdu.WinFormUI.GMForm.SetClientSizeCore(System.Int32,System.Int32)">
<summary> <summary>
重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题

View File

@ -1,7 +1,12 @@
### 2021-03-13更新 ### 2021-04-03更新
------ ------
#### ryControlsV4 V2.1.2103.1301 #### ryControls V2.1.2104.0201
*.[改进]改进Gdu.WinformUI在窗体FormBorderStyle为None时最大化会覆盖状态栏的问题。 - *.[修复]修复在win7上Gdu.WinformUI会报错的BUG。
### 2021-03-13更新
------
#### ryControls V2.1.2103.1301
- *.[改进]改进Gdu.WinformUI在窗体FormBorderStyle为None时最大化会覆盖状态栏的问题。
### 2021-02-28更新 ### 2021-02-28更新
------ ------

Binary file not shown.

Binary file not shown.

View File

@ -1409,26 +1409,26 @@ namespace MGdu.WinFormUI
{ {
//base.OnPaintBackground(e); //base.OnPaintBackground(e);
} }
/// <summary> ///// <summary>
/// 重写该方法解决窗体每次还原都会变大的问题 ///// 重写该方法解决窗体每次还原都会变大的问题
/// </summary> ///// </summary>
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified) //protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
{ //{
if (base.WindowState == FormWindowState.Normal) // if (base.WindowState == FormWindowState.Normal)
{ // {
if (this.Size == this.ClientSize) // if (this.Size == this.ClientSize)
{ // {
//if (width == (this.Size.Width + SystemInformation.FrameBorderSize.Width * 2)) // //if (width == (this.Size.Width + SystemInformation.FrameBorderSize.Width * 2))
if (width == (this.Size.Width + 16)) // if (width == (this.Size.Width + 16))
{ // {
width = this.Size.Width; // width = this.Size.Width;
height = this.Size.Height; // height = this.Size.Height;
} // }
} // }
} // }
base.SetBoundsCore(x, y, width, height, specified); // base.SetBoundsCore(x, y, width, height, specified);
} //}
/// <summary> /// <summary>
/// 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题 /// 重写该方法解决在VS设计器中每次保存一个新的尺寸再打开尺寸会变大的问题
@ -1490,7 +1490,7 @@ namespace MGdu.WinFormUI
base.OnSizeChanged(e); base.OnSizeChanged(e);
SetFormRegion(); SetFormRegion();
if (ControlBox) if (ControlBox && controlBoxManager!=null)
controlBoxManager.FormResize(); controlBoxManager.FormResize();
if (XTheme.ShowShadow && _shawdowForm != null if (XTheme.ShowShadow && _shawdowForm != null

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: : // 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.2103.1301")] [assembly: AssemblyVersion("2.1.2104.0201")]
[assembly: AssemblyFileVersion("2.1.2103.1301")] [assembly: AssemblyFileVersion("2.1.2104.0201")]