| | |
| | | }; |
| | | btnPm25Values.Width = btnPm25Values.GetTextWidth(); |
| | | environmentalView.AddChidren(btnPm25Values); |
| | | #endregion |
| | | #endregion |
| | | |
| | | |
| | | btnSecurityStatus = new Button() |
| | | { |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | }; |
| | | changeView.AddChidren(btnChangeScene); |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region ContextView |
| | | #region ContextView |
| | | contentView = new PageLayout() |
| | | { |
| | | //Y = changeView.Bottom, |
| | |
| | | |
| | | LoadContentView(); |
| | | |
| | | #endregion |
| | | #endregion |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | /// </summary> |
| | | void LoadContentView() |
| | | { |
| | | |
| | | if (!Common.ApiUtlis.Ins.DownloadDataComplete && !MainPage.NoLoginMode) |
| | | { |
| | | var waitPage = new Loading(); |