| | |
| | | btnConfirm.SetCornerWithSameRadius((uint)Application.GetMinRealAverage(10), mRectCornerID); |
| | | dialog.Show(); |
| | | |
| | | btnCancel.MouseUpEventHandler += (sender, e) => |
| | | btnCancel.MouseUpEventHandler += (sender2, e2) => |
| | | { |
| | | dialog.Close(); |
| | | }; |
| | | btnMsg1.MouseUpEventHandler += (sender, e) => |
| | | btnMsg1.MouseUpEventHandler += (sender2, e2) => |
| | | { |
| | | string url = "https://developer.hdlcontrol.com/人脸信息采集协议.html"; |
| | | if (Language.CurrentLanguage != "Chinese") |
| | |
| | | |
| | | dialog.Close(); |
| | | }; |
| | | btnConfirm.MouseUpEventHandler = (sender, e) => |
| | | btnConfirm.MouseUpEventHandler = (sender2, e2) => |
| | | { |
| | | dialog.Close(); |
| | | OnAppConfig.Instance.FaceManagementTip = true; |
| | |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | BorderWidth = 0, |
| | | BorderColor = 0x00000000, |
| | | BackgroundColor = CSS_Color.WarningColor, |
| | | BackgroundColor = 0xFFFF7272, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | IsBold = true, |
| | |
| | | var pack = new HttpServerRequest().UpdataMemberFace(memberInfo.id, base64string); |
| | | if (pack != null) |
| | | { |
| | | var data = Newtonsoft.Json.JsonConvert.DeserializeObject<System.Collections.Generic.Dictionary<string,string>>(pack.Data.ToString()); |
| | | if(data!= null) |
| | | { |
| | | data.TryGetValue("userFace",out memberInfo.userFaceUrl); |
| | | } |
| | | Utlis.WriteLine("上传结果:" + pack.message); |
| | | if(pack.Code == StateCode.SUCCESS) |
| | | { |