SVN r1155
SVN-Revision: r1155
This commit is contained in:
@@ -997,4 +997,36 @@ namespace Lskj.PubApiSetModule
|
|||||||
splitControlSend.SplitterPosition = Convert.ToInt32(splitControlSendWidth);
|
splitControlSend.SplitterPosition = Convert.ToInt32(splitControlSendWidth);
|
||||||
}
|
}
|
||||||
string splitControlGetWidth = IniHelper.Read("PubApiSetModule_SplitControlGetWidth");//通过Key获取Value值
|
string splitControlGetWidth = IniHelper.Read("PubApiSetModule_SplitControlGetWidth");//通过Key获取Value值
|
||||||
if (!string.IsNullOrEmpty(splitControlGe
|
if (!string.IsNullOrEmpty(splitControlGetWidth))
|
||||||
|
{
|
||||||
|
splitControlGet.SplitterPosition = Convert.ToInt32(splitControlGetWidth);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 分隔位置改变时
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void OnSplitContainerPositionChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (sender == splitControlSend)
|
||||||
|
{
|
||||||
|
IniHelper.Write("PubApiSetModule_SplitControlSendWidth", splitControlSend.SplitterPosition + "");
|
||||||
|
}
|
||||||
|
if (sender == splitControlGet)
|
||||||
|
{
|
||||||
|
IniHelper.Write("PubApiSetModule_SplitControlGetWidth", splitControlGet.SplitterPosition + "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user