feat: 更新业务、控件及单据功能
This commit is contained in:
@@ -266,12 +266,12 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
{
|
||||
try
|
||||
{
|
||||
string width = IniHelper.Read(string.Format("base_width_{0}", this.UnionModuleCodel));//通过Key获取Value值
|
||||
string width = IniHelper.Read(string.Format("FrmModelLookUp2_width_{0}", this.UnionModuleCodel));//通过Key获取Value值
|
||||
if (!string.IsNullOrEmpty(width))
|
||||
{
|
||||
this.splitMain.SplitterPosition = Convert.ToInt32(width);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -805,6 +805,7 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
private void PositionChange(object sender, EventArgs e)
|
||||
{
|
||||
PositionSplitter = this.splitMain_Right.SplitterPosition;
|
||||
IniHelper.Write(string.Format("FrmModelLookUp2_height_{0}", this.UnionModuleCodel), PositionSplitter + "");
|
||||
}
|
||||
#endregion
|
||||
#region 窗口大小改变
|
||||
@@ -1137,7 +1138,15 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
this.Width = this.SysModel.ModuleFrameWidth;
|
||||
}
|
||||
|
||||
|
||||
string height = IniHelper.Read(string.Format("FrmModelLookUp2_height_{0}", this.UnionModuleCodel));//通过Key获取Value值
|
||||
if (!string.IsNullOrEmpty(height))
|
||||
{
|
||||
this.splitMain_Right.SplitterPosition = Convert.ToInt32(height);
|
||||
}
|
||||
else if (this.SysModel.BottomHeight > 0)
|
||||
{
|
||||
this.splitMain_Right.SplitterPosition = Convert.ToInt32(this.splitMain_Right.Height - this.SysModel.BottomHeight);
|
||||
}
|
||||
|
||||
switch (this.SysModel.MenuType)
|
||||
{
|
||||
@@ -1162,7 +1171,7 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
this.splitMain.PanelVisibility = SplitPanelVisibility.Panel2;
|
||||
break;
|
||||
}
|
||||
|
||||
this.splitMain.SplitterPositionChanged += SplitMain_SplitterPositionChanged;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1172,6 +1181,11 @@ namespace Lskj.Control.MultiModelLookUp
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
private void SplitMain_SplitterPositionChanged(object sender, EventArgs e)
|
||||
{
|
||||
IniHelper.Write(string.Format("FrmModelLookUp2_width_{0}", this.UnionModuleCodel), this.splitMain.SplitterPosition + "");
|
||||
}
|
||||
#endregion
|
||||
|
||||
//设置选中框的值
|
||||
|
||||
Reference in New Issue
Block a user