Flood.GUI.Controls.LabeledCheckBox.OnCheckChanged C# (CSharp) Method

OnCheckChanged() protected method

Handler for CheckChanged event.
protected OnCheckChanged ( Control control ) : void
control Control
return void
        protected virtual void OnCheckChanged(Control control)
        {
            if (m_CheckBox.IsChecked)
            {
                if (Checked != null)
                    Checked.Invoke(this);
            }
            else
            {
                if (UnChecked != null)
                    UnChecked.Invoke(this);
            }

            if (CheckChanged != null)
                CheckChanged.Invoke(this);
        }