} /* RemoveImageFromTrainigLibray */ private void ThumbNail_MouseDoubleClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { PictureBox pb = (PictureBox)sender; String imageFileName = pb.Name; PicesRaster pr = new PicesRaster(imageFileName); ImageEditor ie = new ImageEditor(pr); ie.ShowDialog(this); } }
private void EditButton_Click(object sender, EventArgs e) { ImageEditor ie = new ImageEditor(raster); ie.ShowDialog(this); }