public SubmissionPage() { InitializeComponent(); messagePopup = new Popup(); messagePopup.IsOpen = false; msg = new PopupMessageControl(activatePage); App.popup.Child = msg; App.popup.Margin = new Thickness(0); }
public SignIn() { InitializeComponent(); bool hasNetwork = NetworkInterface.GetIsNetworkAvailable(); if (!hasNetwork) { registerButton.IsEnabled = false; } locpermitmsg = new GeoLocationMessageControl(registerUser, activatePage); msg = new PopupMessageControl(registerUser); }
// Constructor public MainPage() { InitializeComponent(); this.Loaded += new RoutedEventHandler(MainPage_Loaded); msg = new PopupMessageControl(activatePage); //TODO test this logoutmsg = new LogoutMessageControl(activatePage); LocationToggle.IsChecked = App.locationServicesOn; if (App.locationServicesOn) LocationToggle.Content = "On "; }
public DetailsPage() { InitializeComponent(); OnLoaded(); LatBlock = new TextBlock(); LngBlock = new TextBlock(); //submissionStatMsg = new Popup(); submissionStatMsg = new TextBlock(); submissionStatMsg.Visibility = System.Windows.Visibility.Collapsed; progressbar = new PerformanceProgressBar(); progressbar.Foreground = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0x6C, 0x16)); //popup message content msg = new PopupMessageControl(activatePage); }