Ejemplo n.º 1
0
        private void ViewPictures_Click(object sender, RoutedEventArgs e)
        {
            this.Visibility = Visibility.Hidden;
            int       batchNr = int.Parse(cbb_BatchNumber.SelectedItem.ToString());
            int       dayNr   = int.Parse(cbb_DayNumber.SelectedItem.ToString());
            BatchRepo chosen  = GetChosenBatch(batchNr, dayNr);

            chosen.AddPictureDataFromDayId(batchNr, dayNr);
            NewPictures newPictures = new NewPictures(this, chosen, batchNr, dayNr);

            newPictures.Show();
        }