Commit 02ab8eb9 authored by 潘栩锋's avatar 潘栩锋 🚴

修改 Project.FLY.Thick.Base/FLY.Thick.Base.UI

parent 7493d309
......@@ -76,6 +76,7 @@ namespace ThickTcpUiInWindow
/// </summary>
/// <param name="tabControl"></param>
/// <param name="stackpanel_dynarea"></param>
/// <param name="stackpanel_menu"></param>
/// <param name="layout"></param>
public void Init(TabControl tabControl, StackPanel stackpanel_dynarea, StackPanel stackpanel_menu,
UIModule.FLYLayout layout)
......
......@@ -26,7 +26,7 @@ namespace ThickTcpUiInWindow.UIModule
public List<GraphTabItem> Items { get; } = new List<GraphTabItem>();
private int dynareawidth = 400;
private int dynareawidth = 250;
/// <summary>
/// 动态区宽度
/// </summary>
......@@ -52,7 +52,12 @@ namespace ThickTcpUiInWindow.UIModule
/// <summary>
/// 动态区显示
/// </summary>
public bool IsDynAreaVisible { get; set; }
public bool IsDynAreaVisible { get; set; } = true;
/// <summary>
/// 当前选了menu, 这个不需要保存
/// </summary>
public bool IsInMenuSelect { get; set; }
/// <summary>
/// 测厚仪的状态不同状态,显示的页面
/// </summary>
......@@ -64,7 +69,7 @@ namespace ThickTcpUiInWindow.UIModule
public int Top { get; set; }
public int Width { get; set; } = 1024;
public int Height { get; set; } = 768;
public WindowState WindowState { get; set; }
public WindowState WindowState { get; set; } = WindowState.Maximized;
#endregion
/// <summary>
/// 文件路径
......@@ -92,7 +97,6 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary>
public FLYLayout()
{
Load();
}
/// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment