Exemple #1
0
 /// <summary>
 /// 按钮选择触发
 /// </summary>
 public void RadioButtonSelected()
 {
     ChangeStates();
     if (mRBCallBack != null)
     {
         mRBCallBack.RadioButtonSelected(this, status);
     }
 }
 /// <summary>
 /// 设置状态 有回调
 /// </summary>
 /// <param name="isSelect"></param>
 public void SetStates(bool isSelect)
 {
     ChangeStates(isSelect);
     callBackForSelect?.RadioButtonSelected(this, isSelect);
     actionForSelect?.Invoke(this, isSelect);
 }