| | |
| | | var frameBack = new FrameLayout(); |
| | | frameBack.Width = Application.GetRealWidth(850); |
| | | frameBack.Height = Application.GetRealHeight(1342); |
| | | frameBack.Radius = (uint)Application.GetMinRealAverage(6); |
| | | frameBack.Radius = 6; |
| | | frameBack.BackgroundColor = UserCenterColor.Current.White; |
| | | frameBack.Gravity = Gravity.CenterHorizontal; |
| | | frameBack.Y = Application.GetRealHeight(328); |
| | |
| | | frameBack.AddChidren(btnSearch);
|
| | | btnSearch.BindEvent(this.SearchEvent);
|
| | |
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | //初始化地区列表
|
| | | this.InitAreaList();
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | |
|
| | | //让这个按钮这个区域不能点击菜单
|
| | | var frameTemp = new FrameLayout(); |
| | |
| | | //桌布控件
|
| | | this.Width = Application.GetRealWidth(458);
|
| | | this.Height = Application.GetRealHeight(104);
|
| | | this.Radius = (uint)Application.GetMinRealAverage(6);
|
| | | this.Radius = 6;
|
| | | this.BorderColor = 0xffbfc1c2;
|
| | | this.BorderWidth = (uint)Application.GetMinRealAverage(3);
|
| | | }
|
| | |
| | | /// </summary> |
| | | private void StartSearchKeysThead()
|
| | | {
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | while (this.Parent != null)
|
| | | {
|
| | |
| | | //如果当前的检索键值与下一个检索键值不一样的话
|
| | | //那就说明,用户再次输入了键值,这个时候,让线程继续跑下去
|
| | | }
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | | #endregion |
| | |
|