| | |
| | | Y = Application.GetRealHeight(140 + 20), |
| | | Height = Application.GetRealHeight(160 * count), |
| | | }; |
| | | //元素超出9个就用上下滑动控件; |
| | | completeView.Show(count).AddChidren(vV); |
| | | //清除之前的控件; |
| | | vV.RemoveAll();
|
| | | completeView.Show(count).AddChidren(vV); |
| | | } |
| | | ///定两个变量记录之前的只值; |
| | | string userId = ""; |
| | | string openMode = ""; |
| | | string accountName = ""; |
| | | string SelectedDeviceStatuscondition = ""; |
| | | |
| | | for (int i = 0; i < user.UserIdMode.Count; i++) |
| | | { |
| | | var userifon = user.UserIdMode[i]; |
| | |
| | | mFunView lockView = new mFunView(); |
| | | if (user.UserIdMode.Count > 9) |
| | | { |
| | | //元素超出9个就用上下滑动控件; |
| | | |
| | | vV.AddChidren(lockView.Show()); |
| | | } |
| | | else |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | completeView.Btncomplete.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | var lockConditionsInfo = new Dictionary<string, string>(); |