添加了标识更新

但是只有界面没有功能
This commit is contained in:
CortexCore
2023-07-11 00:14:36 +08:00
parent d8d34766c0
commit ca824c3b32
21 changed files with 742 additions and 126 deletions

View File

@@ -22,6 +22,10 @@ public partial class UXWindowService : Control
ShowWindow(window);
};
}
if(tabs.Count>0)
{
ShowWindow(windows[0]);
}
}
private void ShowWindow(CanvasItem window)
{
@@ -30,6 +34,12 @@ public partial class UXWindowService : Control
//if(window.Visible is true && window != x)
x.Hide();
}
var index = windows.IndexOf(window as Control);
if (index is not -1)
{
tabs[index].ButtonPressed = true;
}
window.Show();
}
}