Pinta.CurvesDialog.HandleCheckToggled C# (CSharp) Method