| | |
| | | this.BackgroundColor = UserCenterColor.Current.ClickButtonDefultColor; |
| | | this.TextAlignment = TextAlignment.Center;
|
| | |
|
| | | this.MouseDownEventHandler += this.Button_MouseDownEvent;
|
| | | this.ButtonDownClickEvent += this.Button_MouseDownEvent;
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | if (this.UseClickStatu == false)
|
| | | {
|
| | | //永久移除
|
| | | this.MouseDownEventHandler -= this.Button_MouseDownEvent;
|
| | | this.ButtonDownClickEvent -= Button_MouseDownEvent;
|
| | | return;
|
| | | }
|
| | | if (base.CanClick == false || isSelcetStatu == true)
|
| | |
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | System.Threading.Thread.Sleep(ControlCommonResourse.StatuChangedWaitTime);
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | if (base.CanClick == false || isSelcetStatu == false)
|
| | | {
|