暂时更改一部分Skill
This commit is contained in:
1 parent
84b28f9672
commit
6d4629e4ac
53 files changed
+5293
-10
No files matched your search
@@ -36,7 +36,10 @@ public partial class DialogWindow : WindowBase, IDialogWindow
|
||||
public DialogWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
Owner = Application.Current.MainWindow;
|
||||
if (Application.Current.MainWindow is Window owner && !ReferenceEquals(owner, this))
|
||||
{
|
||||
Owner = owner;
|
||||
}
|
||||
isConstructorSuccessful = true;
|
||||
dialogWindowStyle = (Style)TryFindResource("DialogWindowStyle");
|
||||
|
||||
|
||||
Reference in new issue
Block a user