private void SendEvent(bool exitGUI)
{
if (this.m_DelegateView != null)
{
Event e = EditorGUIUtility.CommandEvent("GradientPickerChanged");
base.Repaint();
this.m_DelegateView.SendEvent(e);
if (exitGUI)
{
GUIUtility.ExitGUI();
}
}
}