Exemplo n.º 1
0
        private void Contrast_Click(object sender, EventArgs e)
        {
            IPLab.ContrastForm frm = new IPLab.ContrastForm();
            frm.Image = (Bitmap)this.Image.Image;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.ApplyFilter(frm.Filter);
            }

            frm.Dispose();
        }
        private void Contrast_Click(object sender, EventArgs e)
        {
            IPLab.ContrastForm frm = new IPLab.ContrastForm();
            frm.Image = (Bitmap)this.pictureEdit1.Image;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.ApplyFilter(frm.Filter);
            }

            frm.Dispose();
        }