private void button3_Click(object sender, EventArgs e) { Noize n = new Noize((Bitmap)pictureBox1.Image, ColorModel.SelectedIndex, pictureBox1); n.ShowDialog(); }
private void button1_Click(object sender, EventArgs e) { Noize n = new Noize(new Bitmap(pictureBox1.Image), ((radioButton1.Checked) ? 0 : 2), pictureBox1); n.ShowDialog(); }
private void button3_Click(object sender, EventArgs e) { Noize n = new Noize(orig, idx, pictureBox1); n.ShowDialog(); }