/// <summary> /// Loads the state of the control. /// </summary> /// <param name="_state">The _state.</param> protected override void LoadControlState(object _state) { if (_state != null) { m_ControlState = (MyControlState)_state; } }
protected override void LoadViewState(object state) { if ((state != null) && state is MyControlState) { this.state = state; } }