SVN r1203
SVN-Revision: r1203
This commit is contained in:
@@ -113,6 +113,9 @@ namespace Lskj.PubSpec2
|
|||||||
this.btnShowAll.Location = new Point(this.btnShowAll.Location.X + simpleButton1.Width, this.btnShowAll.Location.Y);
|
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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -1058,5 +1061,34 @@ namespace Lskj.PubSpec2
|
|||||||
MessageUtil.Show(Message,ex.Message);
|
MessageUtil.Show(Message,ex.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
/// <summary>
|
||||||
|
/// <para>说明:设置分割条位置</para>
|
||||||
|
/// <para>创建人:龚宇超</para>
|
||||||
|
/// <para>创建日期:2018-02-01 </para>
|
||||||
|
/// <para>修改人:</para>
|
||||||
|
/// <para>修改日期:</para>
|
||||||
|
/// <para>修改备注:</para>
|
||||||
|
/// <para>版本:1.0</para>
|
||||||
|
/// </summary>
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// <para>说明:设置分割条位置
|
||||||
Reference in New Issue
Block a user