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.scrollableControl.AutoScroll = true;
|
||||
this.scrollableControl.HorizontalScroll.Visible = false;//设置禁止水平滚动条
|
||||
|
||||
this.TopControlObj.OnDataSourceBindCallBack += TopControlObj_OnDataSourceBindCallBack;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 添加事件
|
||||
/// </summary>
|
||||
@@ -1332,10 +1337,10 @@ namespace Lskj.PubBomAlter
|
||||
//{
|
||||
// TopControlObj.SetAllControlValue(dataRow);
|
||||
//}
|
||||
if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null)
|
||||
{
|
||||
TopControlObj.SetAllControlValue(BomAlterModel.MaintabFocusedRow);
|
||||
}
|
||||
//if (BomAlterModel != null && BomAlterModel.MaintabFocusedRow != null)
|
||||
//{
|
||||
// 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();
|
||||
if (selectSource == null)
|
||||
{
|
||||
@@ -1978,4 +1983,14 @@ namespace Lskj.PubBomAlter
|
||||
/// <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