| | |
| | | frameBack.AddChidren(btnSearch);
|
| | | btnSearch.BindEvent(this.SearchEvent);
|
| | |
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | //初始化地区列表
|
| | | this.InitAreaList();
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | |
|
| | | //让这个按钮这个区域不能点击菜单
|
| | | var frameTemp = new FrameLayout(); |
| | |
| | | /// </summary> |
| | | private void StartSearchKeysThead()
|
| | | {
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | while (this.Parent != null)
|
| | | {
|
| | |
| | | //如果当前的检索键值与下一个检索键值不一样的话
|
| | | //那就说明,用户再次输入了键值,这个时候,让线程继续跑下去
|
| | | }
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | | #endregion |
| | |
|