SVN r364
SVN-Revision: r364
This commit is contained in:
@@ -485,11 +485,16 @@ namespace Lskj.PubBomAlter
|
|||||||
this.TopControlObj.InitControl(mainControlTable, this.scrollableControl, null, true);
|
this.TopControlObj.InitControl(mainControlTable, this.scrollableControl, null, true);
|
||||||
this.scrollableControl.AutoScroll = true;
|
this.scrollableControl.AutoScroll = true;
|
||||||
this.scrollableControl.HorizontalScroll.Visible = false;//设置禁止水平滚动条
|
this.scrollableControl.HorizontalScroll.Visible = false;//设置禁止水平滚动条
|
||||||
|
|
||||||
|
this.TopControlObj.OnDataSourceBindCallBack += TopControlObj_OnDataSourceBindCallBack;
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 添加事件
|
/// 添加事件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -1332,10 +1337,10 @@ namespace Lskj.PubBomAlter
|
|||||||
//{
|
//{
|
||||||
// TopControlObj.SetAllControlValue(dataRow);
|
// TopControlObj.SetAllControlValue(dataRow);
|
||||||
//}
|
//}
|
||||||
if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null)
|
//if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null)
|
||||||
{
|
//{
|
||||||
TopControlObj.SetAllControlValue(BomAlterModel.MaintabFocusedRow);
|
// TopControlObj.SetAllControlValue(BomAlterModel.MaintabFocusedRow);
|
||||||
}
|
//}
|
||||||
List<BaseUserControl> modelControls = this.MainControlPanel.Controls.Cast<BaseUserControl>().Where(n => !string.IsNullOrEmpty((n.Tag as SysSetModel).DbName)).OrderBy(n => (n.Tag as SysSetModel).OrderId).ToList();
|
List<BaseUserControl> modelControls = this.MainControlPanel.Controls.Cast<BaseUserControl>().Where(n => !string.IsNullOrEmpty((n.Tag as SysSetModel).DbName)).OrderBy(n => (n.Tag as SysSetModel).OrderId).ToList();
|
||||||
if (selectSource == null)
|
if (selectSource == null)
|
||||||
{
|
{
|
||||||
@@ -1978,4 +1983,14 @@ namespace Lskj.PubBomAlter
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查询后事件
|
/// 查询后事件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
private void OnSearchObjSearchAfterCallBack(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
this.OnAfterDataSourceCallback -= OnAfterDataSource;
|
||||||
|
TreeListNode focusedNode = TreeGridObj.TreeListObj.FocusedNode;
|
||||||
|
if (focusedNode != null)
|
||||||
|
{
|
||||||
|
DataRow dataRow = (TreeGridObj.TreeListObj.GetDataR
|
||||||
Reference in New Issue
Block a user