private void blurToolStripMenuItem_Click(object sender, EventArgs e) { Gaussian gaussianForm = new Gaussian(); if (gaussianForm.ShowDialog() == DialogResult.OK) { UCAdd(ImageBoxInApp.Image); System.Drawing.Bitmap image = (Bitmap)ImageBoxInApp.Image; ImageBoxInApp.Image = image.gaussianBlur(gaussianForm.blur); RChanges.Clear(); } }