// Apply the Grey Effect private void greyEffectButton_Click(object sender, EventArgs e) { isGrayScaleEffect = true; Grey temp = new Grey(); bitmapImage = temp.GreyEffect(bitmapImage); image1.Source = bitmapImage; }