Beispiel #1
0
 /// <summary>
 /// 对显示控件设置State
 /// </summary>
 public void SetState(StateType state)
 {
     //IStateControl control = m_control as IStateControl;
     //if (control != null)
     //{
     //    control.SetState(state);
     //}
     StateControlHelper.SetState(this, state);
 }
Beispiel #2
0
 /// <summary>
 /// 对显示控件设置State
 /// </summary>
 public void SetState(StateType state)
 {
     StateControlHelper.SetState(this, state);
 }
 /// <summary>
 /// 对显示控件设置State
 /// </summary>
 public override void SetState(StateType state)
 {
     StateControlHelper.SetState(this, state, m_readOnlyWhenView);
 }