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

            histogramWindow.Show();
        }