SVN-Revision: r892
This commit is contained in:
wyf
2025-07-28 07:43:25 +00:00
parent cf35995f85
commit 08d577f579
+3 -2
View File
@@ -245,6 +245,7 @@ namespace Lskj.PubProductSysMge
case 1: case 1:
case 4://左侧为树节点 case 4://左侧为树节点
this.InitlizeSpiltLocation();//设置分割条位置 this.InitlizeSpiltLocation();//设置分割条位置
this.treeLeftViewEx.TreeInhibitSort = this.MainModuleObj.TreeInhibitSort;
this.SetLeftTreeView();//设置左侧树数据 this.SetLeftTreeView();//设置左侧树数据
if (this.MainModuleObj.IsHideTreeViewBoxs) if (this.MainModuleObj.IsHideTreeViewBoxs)
{ {
@@ -498,7 +499,7 @@ namespace Lskj.PubProductSysMge
if (selectHandler) if (selectHandler)
{ {
this.gcMain.GridView.FocusedRowHandle = handler; this.gcMain.GridView.FocusedRowHandle = handler;
if(topRowIndex>0) gcMain.GridView.TopRowIndex = topRowIndex; if (topRowIndex > 0) gcMain.GridView.TopRowIndex = topRowIndex;
} }
} }
/// <summary> /// <summary>
@@ -1300,7 +1301,7 @@ namespace Lskj.PubProductSysMge
{ {
// 获取特定路径的节点名称 // 获取特定路径的节点名称
TreeNode[] nodes = treeLeftViewEx.TreeView.Nodes.Find(this.speciesNoEdit.Text, true); // 搜索所有层级 TreeNode[] nodes = treeLeftViewEx.TreeView.Nodes.Find(this.speciesNoEdit.Text, true); // 搜索所有层级
if (nodes.Length == 0|| nodes[0].Nodes.Count>0) if (nodes.Length == 0 || nodes[0].Nodes.Count > 0)
{ {
MessageUtil.Show("请选择根节点"); MessageUtil.Show("请选择根节点");
return; return;