| | |
| | | return; |
| | | } |
| | | |
| | | //ok事件 |
| | | Action okAction = () => { |
| | | HDLLinkUtlis.Current.OneclickUpload (); |
| | | }; |
| | | |
| | | CommonUtlis.Current.ShowActionAlert (Language.StringByID (R.MyInternationalizationString.DoYouWantToSynchronizeToTheCloud), okAction); |
| | | }; |
| | | SyncDeviceView.MouseUpEventHandler += SyncDeviceEventHandler; |
| | | btnSyncDeviceIcon.MouseUpEventHandler += SyncDeviceEventHandler; |
| | |
| | | dialog.Close (); |
| | | }; |
| | | dialog.Show (); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="stateCodeStr"></param> |
| | | static void ShowGetSubAccountByDistributedMarkErrorInfo (string stateCodeStr) |
| | | { |
| | | string mes = ""; |
| | | |
| | | if (stateCodeStr == ErrorCode.NetworkError) { |
| | | mes = ErrorCode.NetworkError; |
| | | } else { |
| | | mes = ErrorCode.OperationFailed + ErrorCode.Reason + stateCodeStr; |
| | | } |
| | | if (!string.IsNullOrEmpty (mes)) { |
| | | Application.RunOnMainThread (() => { |
| | | new Alert ("", mes, Language.StringByID (R.MyInternationalizationString.Close)).Show (); |
| | | }); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |