private void updateEffect()
        {
            bool  invert = checkBox1.Checked;
            float value  = (trackBar1.Value / 100F) * 2F;

            workspaceManager.PreviewGreyscaleAdjustSelection(value, trackBar2.Value, invert, checkBox2.Checked);
        }