private void PoryadStat_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { if (b == true) { pictureBox1.Image = pictureBox2.Image; b = false; } name = "Порядковые статистики"; Recovery r = new Recovery(); this.Enabled = false; r.Show(); } else { message(); } }
private void Smoothing_Click(object sender, EventArgs e) { if (pictureBox1.Image != null) { if (b == true) { pictureBox1.Image = pictureBox2.Image; b = false; } name = "Сглаживание"; Recovery r = new Recovery(); this.Enabled = false; r.Show(); } else { message(); } }