Sort the RO values / Groups alphabetically

Don't sort the Multiple return values
Added logic to set the name of the error log file
This commit is contained in:
Rich
2012-07-25 21:45:04 +00:00
parent fab1e8935e
commit 66f9ef6f23
2 changed files with 13 additions and 5 deletions

View File

@@ -317,7 +317,9 @@ namespace Volian.Controls.Library
{
tmp = new TreeNode(chld[i].title);
tmp.Tag = chld[i];
tn.Nodes.Add(tmp);
//tn.Nodes.Add(tmp);
int index = FindIndex(tn.Nodes, tmp.Text);
tn.Nodes.Insert(index, tmp);
TreeNode sub = new TreeNode("VLN_DUMMY_FOR_TREE");
tmp.Nodes.Add(sub);
}
@@ -336,8 +338,13 @@ namespace Volian.Controls.Library
{
tmp = new TreeNode(chld[i].title.Replace(@"\u160?"," "));
tmp.Tag = chld[i];
int index = FindIndex(tn.Nodes, tmp.Text);
tn.Nodes.Insert(index,tmp);
if (chld[i].roid.Length == 16)
tn.Nodes.Add(tmp.Text);
else
{
int index = FindIndex(tn.Nodes, tmp.Text);
tn.Nodes.Insert(index, tmp);
}
}
}
}