Beispiel #1
0
        private void MenuItem_DGM_PreView(object sender, RoutedEventArgs e)
        {
            var image = Preview(DataGridMain.SelectedIndex);

            Views.PreView pre = new Views.PreView(image)
            {
                WindowState = WindowState.Maximized
            };
            pre.ShowDialog();
        }
Beispiel #2
0
        private void MenuItem_PreView_Click(object sender, RoutedEventArgs e)
        {
            var image = Preview();

            Views.PreView pre = new Views.PreView(image)
            {
                WindowState = WindowState.Maximized
            };
            pre.ShowDialog();
        }