Ejemplo n.º 1
0
        private void ButtonMadal_Click(object sender, RoutedEventArgs e)
        {
            var window = new ModalWin("Modal Win")
            {
                Owner = this
            };

            window.ShowDialog();
        }
Ejemplo n.º 2
0
        private void ButtonNoModal_Click(object sender, RoutedEventArgs e)
        {
            var window = new ModalWin("Modal Win");

            window.Show();
        }