添加了标识更新
但是只有界面没有功能
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user