Exemple #1
0
        void Load(string filename)
        {
            ConvertButton.Visibility    = Visibility.Visible;
            ClosePanelButton.Visibility = Visibility.Collapsed;

            // Reset zoom etc
            SaveImageViewBox.Reset();
            LoadedImageViewBox.Reset();

            vm.LoadImage(filename);
        }
Exemple #2
0
 private void ImageCloseButton_Click(object sender, RoutedEventArgs e)
 {
     // Reset scaling and position
     LoadedImageViewBox.Reset();
     SaveImageViewBox.Reset();
 }