| | |
| | | Application.HideSoftInput(); |
| | | }; |
| | | pm = new HttpServerRequest(); |
| | | |
| | | BaseActivity.HideKeyboardEvent = () => { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | this.Y = 0; |
| | | }); |
| | | }; |
| | | } |
| | | |
| | | public override void RemoveFromParent() |
| | |
| | | waitPage.RemoveFromParent(); |
| | | waitPage = null; |
| | | } |
| | | |
| | | |
| | | BaseActivity.HideKeyboardEvent = () => { |
| | | |
| | | }; |
| | | |
| | | base.RemoveFromParent(); |
| | | |
| | |
| | | UnSelectedImagePath = "Public/Logo-bg.png" |
| | | }; |
| | | bodyView.AddChidren(btnIcon_bg); |
| | | btnIcon_bg.MouseDownEventHandler += (sender, e) => { |
| | | Application.HideSoftInput(); |
| | | }; |
| | | |
| | | #if DEBUG |
| | | btnIcon_bg.MouseUpEventHandler += (sender, e) => |
| | |
| | | //etAccount.Text = "18244942707"; |
| | | //etAccount.Text = "12345678904"; |
| | | //etAccount.Text = "13418062953"; |
| | | //etAccount.Text = "13138683659"; |
| | | etAccount.Text = "13138683659"; |
| | | //etAccount.Text = "15217626103"; |
| | | //etAccount.Text = "18100573477"; |
| | | //etAccount.Text = "18321091245"; |
| | | etAccount.Text = "13751916353"; |
| | | //etAccount.Text = "13751916353"; |
| | | etAccount.Text = "13549566666"; |
| | | etAccount.Text = "18316672920"; |
| | | } |
| | | else |
| | | { |
| | |
| | | else if (etAccount.Text == "18100573477") |
| | | { |
| | | etPassword.Text = "huang12345"; |
| | | }else if(etAccount.Text == "13751916353") |
| | | }else if(etAccount.Text == "13549566666") |
| | | { |
| | | etPassword.Text = "hdl1985"; |
| | | etPassword.Text = "12345678"; |
| | | } |
| | | //etPassword.Text = "Hdl85521566"; |
| | | btnLogin.IsSelected = true; |
| | |
| | | // new AttrKeyConfig (){ |
| | | // key = "pm2.5", |
| | | // type = "interval" , |
| | | // unit = "ug/m²", |
| | | // unit = "ug/m³", |
| | | // configs = new List<AttrKeyInfo>(){ |
| | | // new AttrKeyInfo(){ start = "0",end = "75",color = "0xFFADE764", desc = "良好"}, |
| | | // new AttrKeyInfo(){ start = "76",end = "150",color = "0xFFFFD154",desc = "轻/中度污染"}, |