Beispiel #1
0
 public MainWindow()
 {
     InitializeComponent();
     GistogramColor.mainWindow = this;
     ActionImage.mainWindow    = this;
     image = showImage();    //Отображаем картинку
     ActionImage.bmpImg   = ActionImage.BitmapImage2Bitmap(image);
     ActionImage.Standard = image;
     ActionImage.loadPanel("Стандарт");
 }
Beispiel #2
0
 private void listAction_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (flagInit == true)
     {
         ActionImage.loadPanel((listAction.SelectedItem as TextBlock).Text);
     }
     else
     {
         flagInit = true;
     }
 }