示例#1
0
        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();
 }
示例#3
0
        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 OnShowOverlayWindowOverThisWindow(object sender, RoutedEventArgs e)
 {
     OverlayWindowExample window = new OverlayWindowExample();
     window.Owner = Window.GetWindow(this);
     window.Show();
 }
 private void OnShowOverlayWindow(object sender, RoutedEventArgs e)
 {
     OverlayWindowExample window = new OverlayWindowExample();
     window.Show();
 }
示例#6
0
        private void OnShowOverlayWindow(object sender, RoutedEventArgs e)
        {
            OverlayWindowExample window = new OverlayWindowExample();

            window.Show();
        }