private void OnShowOverlayWindowOverThisWindow(object sender, RoutedEventArgs e) { OverlayWindowExample window = new OverlayWindowExample(); window.Owner = Window.GetWindow(this); window.Show(); }
private void OnShowDarkOverlayWindowOverThisWindow(object sender, RoutedEventArgs e) { OverlayWindowExample window = new OverlayWindowExample() { Style = (Style)this.FindResource("DarkOverlayWindowStyle") }; window.Owner = Window.GetWindow(this); window.Show(); }
private void OnShowOverlayWindow(object sender, RoutedEventArgs e) { OverlayWindowExample window = new OverlayWindowExample(); window.Show(); }