diff --git a/插件库/Lskj.PubSpec2/FrmMain.cs b/插件库/Lskj.PubSpec2/FrmMain.cs
index e8d4a7a..a00aad8 100644
--- a/插件库/Lskj.PubSpec2/FrmMain.cs
+++ b/插件库/Lskj.PubSpec2/FrmMain.cs
@@ -113,6 +113,9 @@ namespace Lskj.PubSpec2
this.btnShowAll.Location = new Point(this.btnShowAll.Location.X + simpleButton1.Width, this.btnShowAll.Location.Y);
}
+
+ this.InitlizeSpiltLocation();
+ this.scc_container.SplitterMoved += new System.EventHandler(this.OnSplitterMoved);
}
catch (Exception ex)
{
@@ -1058,5 +1061,34 @@ namespace Lskj.PubSpec2
MessageUtil.Show(Message,ex.Message);
}
}
- }
-}
+
+ ///
+ /// 说明:设置分割条位置
+ /// 创建人:龚宇超
+ /// 创建日期:2018-02-01
+ /// 修改人:
+ /// 修改日期:
+ /// 修改备注:
+ /// 版本:1.0
+ ///
+ protected void InitlizeSpiltLocation()
+ {
+ try
+ {
+ string htight = IniHelper.Read(string.Format("PubSpec2_Wide_{0}", this.Model.ModuleCode));
+ if (!string.IsNullOrEmpty(htight))
+ {
+
+ this.scc_container.SplitterPosition = Convert.ToInt32(htight);
+ }
+ }
+ catch (Exception ex)
+ {
+ LogHelper.Instance.WriteError(ex);
+ string Message = ErrorMessage.PromptErrorMessage(ex);
+ MessageUtil.Show(Message, ex.Message);
+ }
+ }
+
+ ///
+ /// 说明:设置分割条位置
\ No newline at end of file