Updated dependencies

This commit is contained in:
Ray committed 2022-01-27 15:28:33 +00:00
1 parent c6344e0281
commit 47671138f1
12 files changed
+150 -443

No files matched your search

+14 -14
View File
@@ -259,7 +259,7 @@ namespace RyzStudio.Windows.Forms
return;
}
if (ThreadControl.IsChild(draggingNode, node))
if (UIControl.IsChild(draggingNode, node))
{
return;
}
@@ -602,7 +602,7 @@ namespace RyzStudio.Windows.Forms
TreeNode tn2 = AddFolderPath(item.TreeviewPath);
ThreadControl.Add(tn2, tn);
UIControl.Add(tn2, tn);
this.HasChanged = true;
@@ -621,7 +621,7 @@ namespace RyzStudio.Windows.Forms
tn.ToolTipText = item.ToString();
//treeNode.Nodes.Add(tn);
ThreadControl.Add(treeNode, tn);
UIControl.Add(treeNode, tn);
this.HasChanged = true;
@@ -632,7 +632,7 @@ namespace RyzStudio.Windows.Forms
{
ResetImageList();
ThreadControl.Clear(this);
UIControl.Clear(this);
this.HasChanged = false;
}
@@ -644,8 +644,8 @@ namespace RyzStudio.Windows.Forms
var tt1 = this.ImageList;
ThreadControl.Clear(this);
ThreadControl.Add(this, this.Nodes, "", name?.Trim(), (int)IconSet.Root, (int)IconSet.Root);
UIControl.Clear(this);
UIControl.Add(this, this.Nodes, "", name?.Trim(), (int)IconSet.Root, (int)IconSet.Root);
this.HasChanged = true;
}
@@ -828,7 +828,7 @@ namespace RyzStudio.Windows.Forms
return (int)IconSet.Default;
}
ThreadControl.Add(this, this.ImageList, iconID, image);
UIControl.Add(this, this.ImageList, iconID, image);
return this.ImageList.Images.IndexOfKey(iconID);
}
@@ -866,7 +866,7 @@ namespace RyzStudio.Windows.Forms
{
if (!this.Nodes.ContainsKey(item))
{
ThreadControl.Add(this, item, DecodePath(item), (int)IconSet.Root, (int)IconSet.Root);
UIControl.Add(this, item, DecodePath(item), (int)IconSet.Root, (int)IconSet.Root);
}
tn = this.Nodes[item];
@@ -875,7 +875,7 @@ namespace RyzStudio.Windows.Forms
{
if (!tn.Nodes.ContainsKey(item))
{
ThreadControl.Add(tn, item, DecodePath(item), (int)IconSet.Folder1, (int)IconSet.Folder2);
UIControl.Add(tn, item, DecodePath(item), (int)IconSet.Folder1, (int)IconSet.Folder2);
}
tn = tn.Nodes[item];
@@ -887,11 +887,11 @@ namespace RyzStudio.Windows.Forms
protected void ResetImageList()
{
ThreadControl.Clear(this, this.ImageList);
ThreadControl.Add(this, this.ImageList, Resources.hexagon);
ThreadControl.Add(this, this.ImageList, Resources.folder);
ThreadControl.Add(this, this.ImageList, Resources.folder_explore);
ThreadControl.Add(this, this.ImageList, Resources.file_text);
UIControl.Clear(this, this.ImageList);
UIControl.Add(this, this.ImageList, Resources.hexagon);
UIControl.Add(this, this.ImageList, Resources.folder);
UIControl.Add(this, this.ImageList, Resources.folder_explore);
UIControl.Add(this, this.ImageList, Resources.file_text);
}
protected void TraverseBookmarkList(List<BookmarkItem> rs, TreeNode node)