Exemplo n.º 1
0
        private void Button_Click_11(object sender, RoutedEventArgs e)
        {
            Window win = new WinExpanderDemo();

            win.Owner = this;
            win.Show();
        }
Exemplo n.º 2
0
        private void Button_Click_11(object sender, RoutedEventArgs e)
        {
            Window win = new WinExpanderDemo();

            win.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            win.Owner = this;
            win.Show();
        }