private void GoToHistogram_Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         HistogramWindow histogramWindow = new HistogramWindow(this);
         histogramWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
         histogramWindow.Show();
     }
     catch (NullReferenceException) {}
 }
Example #2
0
        private void DisplayHistogram()
        {
            HistogramWindow histogramWindow = new HistogramWindow(SelectedImage.Bitmap);

            histogramWindow.Show();
        }