private void ZipVal_ValueChanged(object sender, EventArgs e) { int val = ZipVal.Value - 100; dontHandle = false; Value.Text = val.ToString(); iw.setBitmap(prevImg); iw.Contrast(val); }
public Contrast(ImageWindow iw) { InitializeComponent(); this.iw = iw; MdiParent = iw.MdiParent; Text = Text + " " + iw.Text; prevImg = iw.getBitmap(); iw.Contrast(ZipVal.Value); Show(); }