public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/OmegleITM;component/ImagesPage.xaml", System.UriKind.Relative)); this.TypingIndicator = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("TypingIndicator"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.titleBar = ((System.Windows.Controls.TextBlock)(this.FindName("titleBar"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.imagesList = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("imagesList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PlanMyWay;component/Page/DateAndPositionEdit.xaml", System.UriKind.Relative)); this.progressBar = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("progressBar"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.lbl_start = ((System.Windows.Controls.TextBlock)(this.FindName("lbl_start"))); this.txt_start = ((System.Windows.Controls.TextBox)(this.FindName("txt_start"))); this.lbl_end = ((System.Windows.Controls.TextBlock)(this.FindName("lbl_end"))); this.txt_end = ((System.Windows.Controls.TextBox)(this.FindName("txt_end"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PlanMyWay;component/Page/SelectDate.xaml", System.UriKind.Relative)); this.btn_settings = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btn_settings"))); this.btn_refresh = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btn_refresh"))); this.btn_export = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btn_export"))); this.progressBar = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("progressBar"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.dateFrom = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateFrom"))); this.dateTo = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateTo"))); this.btn_selectRoadMaps = ((System.Windows.Controls.Button)(this.FindName("btn_selectRoadMaps"))); this.lst_results = ((System.Windows.Controls.ListBox)(this.FindName("lst_results"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/OmegleITM;component/ChatPage.xaml", System.UriKind.Relative)); this.TypingIndicator = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("TypingIndicator"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.titleBar = ((System.Windows.Controls.TextBlock)(this.FindName("titleBar"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.messageLLS = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("messageLLS"))); this.inputPanelControl = ((System.Windows.Controls.ContentControl)(this.FindName("inputPanelControl"))); this.inputPanel = ((System.Windows.Controls.StackPanel)(this.FindName("inputPanel"))); this.messageEntryBox = ((Coding4Fun.Toolkit.Controls.ChatBubbleTextBox)(this.FindName("messageEntryBox"))); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { if (!App.Recipes.IsLoaded) { pi = new Microsoft.Phone.Shell.ProgressIndicator(); pi.IsIndeterminate = true; pi.Text = "Loading data, please wait..."; pi.IsVisible = true; Microsoft.Phone.Shell.SystemTray.SetIsVisible(this, true); Microsoft.Phone.Shell.SystemTray.SetProgressIndicator(this, pi); App.Recipes.RecipesLoaded += Recipes_RecipesLoaded; App.Recipes.LoadLocalDataAsync(); } base.OnNavigatedTo(e); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/OCTranspo;component/Views/MainPage.xaml", System.UriKind.Relative)); this.loadingProgressBar = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("loadingProgressBar"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.favouritesList = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("favouritesList"))); this.nearbyList = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("nearbyList"))); this.currentLocation = ((Microsoft.Phone.Maps.Controls.Map)(this.FindName("currentLocation"))); this.routesList = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("routesList"))); this.routesSearch = ((System.Windows.Controls.TextBox)(this.FindName("routesSearch"))); this.searchProgressBar = ((System.Windows.Controls.ProgressBar)(this.FindName("searchProgressBar"))); this.searchText = ((System.Windows.Controls.TextBlock)(this.FindName("searchText"))); this.searchSmile = ((System.Windows.Controls.Image)(this.FindName("searchSmile"))); this.searchFrowny = ((System.Windows.Controls.Image)(this.FindName("searchFrowny"))); }
public SplashScreen() { InitializeComponent(); //Loading Bar pi = new Microsoft.Phone.Shell.ProgressIndicator(); pi.IsIndeterminate = true; pi.Text = "Loading User Data..."; pi.IsVisible = true; Microsoft.Phone.Shell.SystemTray.SetIsVisible(this, true); Microsoft.Phone.Shell.SystemTray.SetProgressIndicator(this, pi); this.bw = new System.ComponentModel.BackgroundWorker(); this.bw.DoWork += new System.ComponentModel.DoWorkEventHandler(this.createDSDoWork); this.bw.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.createDSComplete); this.bw.RunWorkerAsync(); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Rider;component/Views/MainPage.xaml", System.UriKind.Relative)); this.shellProgress = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("shellProgress"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.panorama = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panorama"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitleFirst = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitleFirst"))); this.ApplicationTitleSecond = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitleSecond"))); this.distanceText = ((System.Windows.Controls.TextBlock)(this.FindName("distanceText"))); this.speedText = ((System.Windows.Controls.TextBlock)(this.FindName("speedText"))); this.sessionButton = ((System.Windows.Controls.Button)(this.FindName("sessionButton"))); this.carte = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("carte"))); this.about = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("about"))); this.parametre = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("parametre"))); }
private void refreshData() { doingRefresh = true; /* progresss bar... */ pi = new Microsoft.Phone.Shell.ProgressIndicator(); pi.IsIndeterminate = true; pi.Text = "Receiving message, please wait..."; pi.IsVisible = true; Microsoft.Phone.Shell.SystemTray.SetIsVisible(this, true); Microsoft.Phone.Shell.SystemTray.SetProgressIndicator(this, pi); if (!App.ReadMsgList.IsDataLoaded) { /* Get Current location */ App.ReadSettings.getCurrentLatLonRage(); App.ReadMsgList.LoadData(); // Get all the saved messags... } this.bw.RunWorkerAsync(); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WP_TimelogTracker;component/AddRegistrationPage.xaml", System.UriKind.Relative)); this.Progress = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("Progress"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.CustomerName = ((System.Windows.Controls.TextBlock)(this.FindName("CustomerName"))); this.ProjectName = ((System.Windows.Controls.TextBlock)(this.FindName("ProjectName"))); this.TaskName = ((System.Windows.Controls.TextBlock)(this.FindName("TaskName"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.stack = ((System.Windows.Controls.StackPanel)(this.FindName("stack"))); this.inpDuration = ((Coding4Fun.Phone.Controls.Toolkit.TimeSpanPicker)(this.FindName("inpDuration"))); this.slider1 = ((System.Windows.Controls.Slider)(this.FindName("slider1"))); this.txtComment = ((System.Windows.Controls.TextBox)(this.FindName("txtComment"))); this.txtStatus = ((System.Windows.Controls.TextBlock)(this.FindName("txtStatus"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WP_TimelogTracker;component/Settings.xaml", System.UriKind.Relative)); this.Progress = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("Progress"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.stackPanel1 = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1"))); this.lblUrl = ((System.Windows.Controls.TextBlock)(this.FindName("lblUrl"))); this.txtUrl = ((System.Windows.Controls.TextBox)(this.FindName("txtUrl"))); this.lblUserName = ((System.Windows.Controls.TextBlock)(this.FindName("lblUserName"))); this.txtUserName = ((System.Windows.Controls.TextBox)(this.FindName("txtUserName"))); this.lblPassword = ((System.Windows.Controls.TextBlock)(this.FindName("lblPassword"))); this.txtPassword = ((System.Windows.Controls.PasswordBox)(this.FindName("txtPassword"))); this.lblConnected = ((System.Windows.Controls.TextBox)(this.FindName("lblConnected"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Postolego;component/Pages/MainPage.xaml", System.UriKind.Relative)); this.ProgressBar = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("ProgressBar"))); this.TextAndImage = ((System.Windows.DataTemplate)(this.FindName("TextAndImage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.LoadingLabel = ((System.Windows.Controls.TextBlock)(this.FindName("LoadingLabel"))); this.MainPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot"))); this.UnreadPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("UnreadPivotItem"))); this.UnreadJumpList = ((Telerik.Windows.Controls.RadJumpList)(this.FindName("UnreadJumpList"))); this.FavoritesPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("FavoritesPivotItem"))); this.FavoritesJumpList = ((Telerik.Windows.Controls.RadJumpList)(this.FindName("FavoritesJumpList"))); this.ArchivePivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("ArchivePivotItem"))); this.ArchiveJumpList = ((Telerik.Windows.Controls.RadJumpList)(this.FindName("ArchiveJumpList"))); this.NotificationWindow = ((Telerik.Windows.Controls.RadWindow)(this.FindName("NotificationWindow"))); this.NotificationHeader = ((System.Windows.Controls.TextBlock)(this.FindName("NotificationHeader"))); this.NotificationMessage = ((System.Windows.Controls.TextBlock)(this.FindName("NotificationMessage"))); }
public void Initialize(PhoneApplicationFrame frame) { this._mangoIndicator = new Microsoft.Phone.Shell.ProgressIndicator(); frame.Navigating += new NavigatingCancelEventHandler(this.frame_Navigating); frame.Navigated += new NavigatedEventHandler(this.OnRootFrameNavigated); }
private void PostButton_Click(object sender, EventArgs e) { if (Message_Post_Box.Text.Length > 500) { MessageBox.Show("You have used over 500 characters, you must reduce the number of characters under 500 to proceed."); return; } MessageBoxResult postMsg = MessageBox.Show("Please click ok if you really want to post this message?", "Posting Message?", MessageBoxButton.OKCancel); if (postMsg == MessageBoxResult.OK) { String title = this.Message_Title_Box.Text; String message = this.Message_Post_Box.Text; int id = App.ReadMsgList.CurrentItemCount(); int distance = (int)Distance_Slider.Value; int radiusMeters = App.distancesMeter[distance]; bool showLocation = chkShowLocation.IsChecked.Value; MessageItem outgoingMsg = new MessageItem() { dbMsgID = id.ToString(), Date = DateTime.Now.ToString("MM/dd/yyyy"), Time = DateTime.Now.ToString("HH:mm:ss tt"), Title = title, Author = myId, Msg = message }; /* progresss bar... */ pi = new Microsoft.Phone.Shell.ProgressIndicator(); pi.IsIndeterminate = true; pi.Text = "Posting message, please wait..."; pi.IsVisible = true; Microsoft.Phone.Shell.SystemTray.SetIsVisible(this, true); Microsoft.Phone.Shell.SystemTray.SetProgressIndicator(this, pi); ThreadStart starter = delegate { Post_Button_Click_Work(title, message, id, radiusMeters, showLocation); }; Thread work = new Thread(starter); work.Start(); ///* wait for message back from post to the cloud.. */ //dataSource ds = new dataSource(myId); //ds.write(radiusMeters, title, message); //App.ReadMsgList.Items.Add(outgoingMsg); // Navigate to the new page NavigationService.Navigate(new Uri("/ReadLongListPage.xaml", UriKind.Relative)); } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WP_TimelogTracker;component/MainPage.xaml", System.UriKind.Relative)); this.TaskGridItemTemplate = ((System.Windows.DataTemplate)(this.FindName("TaskGridItemTemplate"))); this.SyncronizeIcon = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("SyncronizeIcon"))); this.SearchIcon = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("SearchIcon"))); this.SyncronizeMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("SyncronizeMenuItem"))); this.SettingsMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("SettingsMenuItem"))); this.AboutMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AboutMenuItem"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtFilter = ((System.Windows.Controls.TextBox)(this.FindName("txtFilter"))); this.pivot1 = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot1"))); this.RecentList = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("RecentList"))); this.AllList = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("AllList"))); this.NewestList = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("NewestList"))); this.Progress = ((Microsoft.Phone.Shell.ProgressIndicator)(this.FindName("Progress"))); }