| | |
| | | public void SelectedUserID(Send.MembershipIfon user) |
| | | { |
| | | |
| | | int count = user.UserIdMode.Count;
|
| | | int count = user.UserIdMode.Count; |
| | | #region -------取消 完成 |
| | | var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicTranslucentColor }; |
| | | this.AddChidren(flMain); |
| | |
| | | flMain.RemoveFromParent(); |
| | | }; |
| | | flMain.MouseUpEventHandler += clickcancel; |
| | | completeView.Btncancel.MouseUpEventHandler += clickcancel;
|
| | | completeView.Btncancel.MouseUpEventHandler += clickcancel; |
| | | #endregion |
| | | //元素超出9个就用上下滑动控件;
|
| | | //元素超出9个就用上下滑动控件; |
| | | VerticalScrolViewLayout vV = null; |
| | | if (count > 9) |
| | | { |
| | |
| | | //元素超出9个就用上下滑动控件; |
| | | completeView.Show(count).AddChidren(vV); |
| | | //清除之前的控件; |
| | | vV.RemoveAll();
|
| | | vV.RemoveAll(); |
| | | } |
| | | ///定两个变量记录之前的只值; |
| | | string userId = ""; |
| | |
| | | var accounts = new Dictionary<string, string>(); |
| | | accounts.Add("Type", "1"); |
| | | accounts.Add("Account", Config.Instance.Guid); |
| | | accounts.Add("AccountName",accountName);
|
| | | accounts.Add("AccountName",accountName); |
| | | ///mac+端口是为识别是那个门锁; |
| | | accounts.Add("Option4", Send.CurrentDoorLock.DeviceAddr); |
| | | accounts.Add("Option2", Send.CurrentDoorLock.DeviceEpoint.ToString()); |
| | |
| | | { |
| | | if (conditionsIndex == -1) |
| | | { |
| | | var alert = new UserCenter.ShowMsgControl(UserCenter.ShowMsgType.Normal, |
| | | var alert = new ShowMsgControl(ShowMsgType.Normal, |
| | | Language.StringByID(MyInternationalizationString.usertip), |
| | | Language.StringByID(MyInternationalizationString.confrim)); |
| | | alert.Show(); |