private void dataGridView_MouseClick(object sender, MouseEventArgs e) { if (dataGridView.SelectedRows.Count > 0) { Image image = ((Image)dataGridView.SelectedRows[0].DataBoundItem); //pictureBox.Image = shootParameters.Preview; //histogramBox.Image = DrawHistogram(shootParameters.Histogram.Values, histogramBox.Size); } }
private void AddImage(Image anImage) { imageBindingSource.Add(anImage); }