private void BtnAbort_Click(object sender = null, EventArgs e = null) { iw.setBitmap(prevImg); prevImg.Dispose(); HistogramImage.Dispose(); Dispose(); Close(); }
private void BtnOK_Click(object sender, EventArgs e) { iw.setPrevBitmap(prevImg); iw.updateLUT(); prevImg.Dispose(); HistogramImage.Dispose(); Dispose(); Close(); }