private void ImpulsNoise_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { b = true; name = "Импульсный шум"; Noises1 n = new Noises1(); this.Enabled = false; n.Show(); } else { message(); } }
private void ErlangNoise_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { b = true; name = "Шум Эрланга"; Noises1 n = new Noises1(); this.Enabled = false; n.Show(); } else { message(); } }