private void PhotoButton_Click(object sender, RoutedEventArgs e)
        {
            var win = new PhotoWindow();

            if (win.ShowDialog() == true)
            {
            }
        }
Exemplo n.º 2
0
        private void PhotoButton_Click(object sender, RoutedEventArgs e)
        {
            if (existPhotoWindow)
            {
                return;
            }

            existPhotoWindow = true;
            var win = new PhotoWindow();

            win.Owner = this;
            if (win.ShowDialog() == true)
            {
            }
            existPhotoWindow = false;
        }