Skip to content

Commit

Permalink
Keep About window always on top of the main window (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaki565 committed Feb 22, 2024
1 parent 57c8cbb commit af9a21b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EventLook/View/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ private void MenuItem_About_Click(object sender, RoutedEventArgs e)
vm.HyperlinkText = "https://github.com/kmaki565/EventLook";

vm.Window.Content = about;
vm.Window.Owner = this; // To make the child window always on top of this window.
vm.Window.ShowDialog();
}
}

0 comments on commit af9a21b

Please sign in to comment.