/// <summary> /// Inverts the current composite image. /// </summary> private void mnuInvert_Click(object sender, EventArgs e) { addBackgroundOperation( GraphicOperations.ApplyInvertFilter((Bitmap)pbxDisplay.Image), "Applying invert filter", (ps, pe) => { pbxDisplay.Image = (Bitmap)pe.Result; } ); }