コード例 #1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            // Set the data context of the listbox control to the sample data
            postsPivot.DataContext = App.PostsViewModel;
            notificationsPivot.DataContext = App.NotificationsViewModel;
            this.Loaded += new RoutedEventHandler(MainPage_Loaded);

#if DEBUG
            //Debug items for cache cleaning. TODO: Implement them properly in a settings page
            ApplicationBarMenuItem clearCache = new ApplicationBarMenuItem("DEBUG: Clear cache");
            clearCache.Click += (sender, e) =>
            {
                Utils.Caching.Image.ClearImageCache();
            };

            ApplicationBarMenuItem cleanCache = new ApplicationBarMenuItem("DEBUG: Clean cache");
            cleanCache.Click += (sender, e) =>
            {
                Utils.Caching.Image.CleanImageCache();
            };

            this.ApplicationBar.MenuItems.Add(clearCache);
            this.ApplicationBar.MenuItems.Add(cleanCache);
#endif
        }
コード例 #2
0
        public MainPage()
        {
            InitializeComponent();

            ApplicationBar = new ApplicationBar();

            var textureButton = new ApplicationBarIconButton(new Uri("/Assets/Icons/texture.png", UriKind.Relative))
            {
                Text = AppResources.MainPage_TextureButton
            };
            textureButton.Click += TextureButton_Click;

            ApplicationBar.Buttons.Add(textureButton);

            var previousButton = new ApplicationBarIconButton(new Uri("/Assets/Icons/previous.png", UriKind.Relative))
            {
                Text = AppResources.MainPage_PreviousEffectButton
            };
            previousButton.Click += PreviousButton_Click;

            ApplicationBar.Buttons.Add(previousButton);

            var nextButton = new ApplicationBarIconButton(new Uri("/Assets/Icons/next.png", UriKind.Relative))
            {
                Text = AppResources.MainPage_NextEffectButton
            };
            nextButton.Click += NextButton_Click;

            ApplicationBar.Buttons.Add(nextButton);

            var aboutMenuItem = new ApplicationBarMenuItem {Text = AppResources.MainPage_AboutPageButton};
            aboutMenuItem.Click += AboutMenuItem_Click;

            ApplicationBar.MenuItems.Add(aboutMenuItem);
        }
コード例 #3
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            _isCameraInitialized = false;
            _isTrial = new IsTrialQuery().Get();

            if (_isTrial)
            {
                var menuItem = new ApplicationBarMenuItem("Buy full version");
                menuItem.Click += (sender, args) => Deployment.Current.Dispatcher.BeginInvoke(() => new MarketplaceDetailTask().Show());
                ApplicationBar.MenuItems.Add(menuItem);
            }

            OnOrientationChanged(this, new OrientationChangedEventArgs(Orientation));

            if (PhotoCamera.IsCameraTypeSupported(CameraType.Primary))
            {
                _pixelator = new Pixelator(new PixelationSizeQuery().Get(), true);

                _photoCamera = new PhotoCamera(CameraType.Primary);
                _photoCamera.Initialized += OnCameraInitialized;
                _photoCamera.CaptureImageAvailable += OnCameraCaptureImageAvailable;
                _photoCamera.CaptureCompleted += OnCameraCaptureCompleted;
                _photoCamera.CaptureStarted += OnCameraCaptureStarted;

                ViewfinderBrush.SetSource(_photoCamera);
            }
            else
            {
                // TODO: handle possibility of no camera
            }
        }
コード例 #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/GPS;component/MainPage.xaml", System.UriKind.Relative));
     this.Main              = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Main")));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Map               = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("Map")));
     this.circle_layer      = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("circle_layer")));
     this.InfoLayer         = ((Microsoft.Phone.Controls.Maps.MapLayer)(this.FindName("InfoLayer")));
     this.InfoStackPanel    = ((System.Windows.Controls.StackPanel)(this.FindName("InfoStackPanel")));
     this.InfoTexBlock      = ((System.Windows.Controls.TextBlock)(this.FindName("InfoTexBlock")));
     this.alert_stack       = ((System.Windows.Controls.StackPanel)(this.FindName("alert_stack")));
     this.circle            = ((System.Windows.Shapes.Ellipse)(this.FindName("circle")));
     this.alert_text        = ((System.Windows.Controls.TextBlock)(this.FindName("alert_text")));
     this.speed_text        = ((System.Windows.Controls.TextBlock)(this.FindName("speed_text")));
     this.stackPanel1       = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.ImageToMap        = ((System.Windows.Controls.Button)(this.FindName("ImageToMap")));
     this.TakeMeHome        = ((System.Windows.Controls.Button)(this.FindName("TakeMeHome")));
     this.LocationBookmarks = ((System.Windows.Controls.Button)(this.FindName("LocationBookmarks")));
     this.HelpMe            = ((System.Windows.Controls.Button)(this.FindName("HelpMe")));
     this.Alert_Sound       = ((System.Windows.Controls.MediaElement)(this.FindName("Alert_Sound")));
     this.where_s_my_car    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("where_s_my_car")));
 }
コード例 #5
0
 public AdvancedApplicationBarMenuItem()
 {
     ApplicationBarMenuItem = new ApplicationBarMenuItem() { Text = "appbar" }; ;
     RealAppBarItem = ApplicationBarMenuItem;
     AdvancedApplicationBar.AddButton(this);
     ApplicationBarMenuItem.Click += new EventHandler(ApplicationBarMenuItem_Click);
 }
コード例 #6
0
        private void LoadAppBar()
        {
            ApplicationBar = new ApplicationBar();
            ApplicationBarMenuItem menuToday = new ApplicationBarMenuItem();
            menuToday.Text = AppResources.AppBar_Today;
            menuToday.Click += menuToday_Click;
            ApplicationBar.MenuItems.Add(menuToday);

            ApplicationBarMenuItem menuWeek = new ApplicationBarMenuItem();
            menuWeek.Text = AppResources.AppBar_LastWeek;
            menuWeek.Click += menuWeek_Click;
            ApplicationBar.MenuItems.Add(menuWeek);

            ApplicationBarMenuItem menuMonth = new ApplicationBarMenuItem();
            menuMonth.Text = AppResources.AppBar_LastMonth;
            menuMonth.Click += menuMonth_Click;
            ApplicationBar.MenuItems.Add(menuMonth);

            ApplicationBarIconButton btnShare = new ApplicationBarIconButton();
            btnShare.IconUri = new Uri("/Assets/AppBar/Share.png", UriKind.Relative);
            btnShare.Text = AppResources.AppBar_Share;
            btnShare.Click += btnShare_Click;
            ApplicationBar.Buttons.Add(btnShare);

            ApplicationBarIconButton btnGetDirections = new ApplicationBarIconButton();
            btnGetDirections.IconUri = new Uri("/Assets/AppBar/Directions.png", UriKind.Relative);
            btnGetDirections.Text = AppResources.AppBar_Directions;
            btnGetDirections.Click += btnGetDirections_Click;
            ApplicationBar.Buttons.Add(btnGetDirections);
        }
		//----------------------------------------------------------------------
		#endregion
		//----------------------------------------------------------------------

		
		//----------------------------------------------------------------------
		#region --- Methods ---
		//----------------------------------------------------------------------
		/// <summary>
		/// Builds the application bar.
		/// </summary>
		private void BuildApplicationBar()
		{
			if (ApplicationBar == null)
			{
				ApplicationBar = new ApplicationBar();
			}

			var addButton = new ApplicationBarIconButton(new Uri("/Images/ApplicationBar/GroupManagement/add.png", UriKind.Relative));
			addButton.Text = AppResources.UI_GroupManagement_ApplicationBar_Add;
			addButton.Click += Add;

			_deleteButton = new ApplicationBarIconButton(new Uri("/Images/ApplicationBar/GroupManagement/delete.png", UriKind.Relative));
			_deleteButton.Text = AppResources.UI_GroupManagement_ApplicationBar_Delete;
			_deleteButton.Click += Delete;

			_deleteAllMenuItem = new ApplicationBarMenuItem();
			_deleteAllMenuItem.Text = AppResources.UI_GroupManagement_ApplicationBar_DeleteAll;
			_deleteAllMenuItem.Click += DeleteAll;

			ApplicationBar.Buttons.Add(addButton);
			ApplicationBar.Buttons.Add(_deleteButton);
			ApplicationBar.MenuItems.Add(_deleteAllMenuItem);

			UpdateApplicationBarItems();
		}
コード例 #8
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            startTime = DateTime.Now;
            if (Debugger.IsAttached)
            {
                DebugPanel.Visibility = Visibility.Visible;

                ApplicationBar = new ApplicationBar();
                ApplicationBar.Mode = ApplicationBarMode.Minimized;
                ApplicationBar.Opacity = 1.0;
                ApplicationBar.IsVisible = true;
                ApplicationBar.IsMenuEnabled = true;

                // Adding a menu item
                ApplicationBarMenuItem myMenuItem = new ApplicationBarMenuItem();
                myMenuItem.Text = "open debugger";
                myMenuItem.Click += toggleDebugger;
                ApplicationBar.MenuItems.Add(myMenuItem);
                // Adding a menu item
                ApplicationBarMenuItem minDebugger = new ApplicationBarMenuItem();
                minDebugger.Text = "minimize debugger";
                minDebugger.Click += minDebug;
                ApplicationBar.MenuItems.Add(minDebugger);
            }
        }
コード例 #9
0
        // コンストラクター
        public MainPage()
        {
            InitializeComponent();

            // ApplicationBarItemを追加
            this.fileChooseButton = new ApplicationBarIconButton
            {
                IconUri = new Uri("/icons/appbar.folder.rest.png", UriKind.Relative),
                Text = "読み込み"
            };
            this.fileSaveButton = new ApplicationBarIconButton
            {
                IconUri = new Uri("/icons/appbar.save.rest.png", UriKind.Relative),
                Text = "保存",
                IsEnabled = false
            };
            this.aboutItem = new ApplicationBarMenuItem
            {
                Text = "バージョン情報"
            };

            this.ApplicationBar.Buttons.Add(this.fileChooseButton);
            this.ApplicationBar.Buttons.Add(this.fileSaveButton);
            this.ApplicationBar.MenuItems.Add(this.aboutItem);

            this.fileChooseButton.Click += new EventHandler(fileChooseButton_Click);
            this.fileSaveButton.Click += new EventHandler(fileSaveButton_Click);
            this.aboutItem.Click += new EventHandler(aboutItem_Click);
        }
コード例 #10
0
ファイル: Utils.cs プロジェクト: ireynolds/Document-Store
 /// <summary>
 /// Creates a new menu item with the given parameters
 /// </summary>
 /// <param name="text"></param>
 /// <param name="e"></param>
 /// <returns></returns>
 public static ApplicationBarMenuItem CreateMenuItem(string text, EventHandler e)
 {
     ApplicationBarMenuItem b = new ApplicationBarMenuItem();
     b.Text = text;
     b.Click += e;
     return b;
 }
コード例 #11
0
 public ListViewPage()
 {
     InitializeComponent();
     // Application bar is initialized
     ApplicationBar = new ApplicationBar();
     sortmenuitem = new ApplicationBarMenuItem("Sort notes");
     // ApplicationBar mode is set to default
     ApplicationBar.Mode = ApplicationBarMode.Default;
     // ApplicationBar opacity is set 1
     ApplicationBar.Opacity = 1.0;
     // ApplicationBar visibility is set to true
     ApplicationBar.IsVisible = true;
     ApplicationBar.IsMenuEnabled = true;
     // ApplicationBar button is initilized
     ApplicationBarIconButton addbtn = new ApplicationBarIconButton();
     ApplicationBarIconButton changepass = new ApplicationBarIconButton();
     // Application button icon is set
     addbtn.IconUri = new Uri("/Assets/AppbarIcons/add.png", UriKind.Relative);
     changepass.IconUri = new Uri("/Assets/AppbarIcons/key.png", UriKind.Relative);
     // Text to ApplicationBar is set
     addbtn.Text = "add notes";
     changepass.Text = "Change password";
     // ApplicationBar click event is registered
     addbtn.Click += addbtn_Click;
     changepass.Click += Changepass_Click;
     sortmenuitem.Click += Sortmenuitem_Click;
     // Button is added to ApplicationBar
     ApplicationBar.Buttons.Add(addbtn);
     ApplicationBar.Buttons.Add(changepass);
     ApplicationBar.MenuItems.Add(sortmenuitem);
     
 }
コード例 #12
0
        /// <summary>
        /// Constructor.
        /// </summary>
        public MainPage()
        {
            InitializeComponent();

            VideoCanvas.Tap += new EventHandler<GestureEventArgs>(videoCanvas_Tap);

            DataContext = _dataContext;

            _progressIndicator.IsIndeterminate = true;

            CreateAppBar();
            ApplicationBarMenuItem menuItem = new ApplicationBarMenuItem();
            menuItem.Text = "about";
            menuItem.IsEnabled = false;
            ApplicationBar.MenuItems.Add(menuItem);
            menuItem.Click += new EventHandler(aboutMenuItem_Click);

            ApplicationBarMenuItem uploadMenuItem = new ApplicationBarMenuItem();
            uploadMenuItem.Text = "upload settings";
            uploadMenuItem.IsEnabled = false;
            ApplicationBar.MenuItems.Add(uploadMenuItem);
            uploadMenuItem.Click += new EventHandler(uploadSettingsButton_Click);

            ApplicationBarMenuItem userMenuItem = new ApplicationBarMenuItem();
            userMenuItem.Text = "user settings";
            userMenuItem.IsEnabled = false;
            ApplicationBar.MenuItems.Add(userMenuItem);
            userMenuItem.Click += new EventHandler(userSettingsButton_Click);

            // Disable app sleep
            PhoneApplicationService phoneAppService = PhoneApplicationService.Current;
            phoneAppService.UserIdleDetectionMode = IdleDetectionMode.Disabled;
        }
コード例 #13
0
        public LibraryPage()
        {
            InitializeComponent();

            ApplicationBar = ThemeManager.CreateApplicationBar();
            ApplicationBar.Mode = ApplicationBarMode.Default;
            ApplicationBar.Opacity = .8;
            ApplicationBar.IsVisible = true;
            ApplicationBar.IsMenuEnabled = true;

            ApplicationBarIconButton backIcon = new ApplicationBarIconButton();
            backIcon.IconUri = new Uri("/Images/back.png", UriKind.Relative);
            backIcon.Text = "previous";
            ApplicationBar.Buttons.Add(backIcon);
            backIcon.Click += new EventHandler(backBrowser_Click);

            ApplicationBarIconButton refreshIcon = new ApplicationBarIconButton();
            refreshIcon.IconUri = new Uri("/Images/refresh.png", UriKind.Relative);
            refreshIcon.Text = "refresh";
            ApplicationBar.Buttons.Add(refreshIcon);
            refreshIcon.Click += new EventHandler(refreshBrowser_Click);

            ApplicationBarIconButton forwardIcon = new ApplicationBarIconButton();
            forwardIcon.IconUri = new Uri("/Images/next.png", UriKind.Relative);
            forwardIcon.Text = "forward";
            ApplicationBar.Buttons.Add(forwardIcon);
            forwardIcon.Click += new EventHandler(forwardBrowser_Click);

            ApplicationBarMenuItem openInBrowser = new ApplicationBarMenuItem();
            openInBrowser.Text = "open in browser";
            ApplicationBar.MenuItems.Add(openInBrowser);
            openInBrowser.Click += new EventHandler(openInBrowser_Click);
        }
コード例 #14
0
        // Sample code for building a localized ApplicationBar
        private void BuildLocalizedApplicationBar()
        {
            // Set the page's ApplicationBar to a new instance of ApplicationBar.
            ApplicationBar = new ApplicationBar();

            // Create a new button and set the text value to the localized string from AppResources.
            //ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative));
            //appBarButton.Text = AppResources.AppBarButtonText;
            //ApplicationBar.Buttons.Add(appBarButton);

            // Create a new menu item with the localized string from AppResources.
            ApplicationBarMenuItem appBarGreyMenuItem = new ApplicationBarMenuItem("Grey");
            appBarGreyMenuItem.Click += appBarGreyMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarGreyMenuItem);

            ApplicationBarMenuItem appBarBlackWhiteMenuItem = new ApplicationBarMenuItem("Black/White");
            appBarBlackWhiteMenuItem.Click += appBarBlackWhiteMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarBlackWhiteMenuItem);

            ApplicationBarMenuItem appBarRedMenuItem = new ApplicationBarMenuItem("Red");
            appBarRedMenuItem.Click += appBarRedMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarRedMenuItem);

            ApplicationBarMenuItem appBarInverseMenuItem = new ApplicationBarMenuItem("Inverse");
            appBarInverseMenuItem.Click += appBarInverseMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarInverseMenuItem);

            ApplicationBarMenuItem appBarBlueYellowMenuItem = new ApplicationBarMenuItem("Blue/Yellow");
            appBarBlueYellowMenuItem.Click += appBarBlueYellowMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarBlueYellowMenuItem);

            ApplicationBar.Mode = ApplicationBarMode.Minimized;
        }
 private void BuildLocalizedApplicationBar()
 {
     ApplicationBar = new ApplicationBar();
     ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem("Visitor");
     appBarMenuItem.Click += appBarMenuItem_Click;
     ApplicationBar.MenuItems.Add(appBarMenuItem);
 }
コード例 #16
0
ファイル: MainPage.g.i.cs プロジェクト: SevdanurGENC/Puzzle
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Puzzle15;component/MainPage.xaml", System.UriKind.Relative));
     this.ShowDrag         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ShowDrag")));
     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.ContentPanel     = ((System.Windows.Controls.Canvas)(this.FindName("ContentPanel")));
     this.textBlock1       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.txtMoves         = ((System.Windows.Controls.TextBlock)(this.FindName("txtMoves")));
     this.textBlock2       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.txtTime          = ((System.Windows.Controls.TextBlock)(this.FindName("txtTime")));
     this.WinGrid          = ((System.Windows.Controls.Grid)(this.FindName("WinGrid")));
     this.btnSubmitScore   = ((System.Windows.Controls.Image)(this.FindName("btnSubmitScore")));
     this.btnNoThanks      = ((System.Windows.Controls.Image)(this.FindName("btnNoThanks")));
     this.txtUserName      = ((System.Windows.Controls.TextBox)(this.FindName("txtUserName")));
     this.GridScoreBorder  = ((System.Windows.Controls.Border)(this.FindName("GridScoreBorder")));
     this.GridScore        = ((System.Windows.Controls.Grid)(this.FindName("GridScore")));
     this.cc               = ((System.Windows.Controls.TextBlock)(this.FindName("cc")));
     this.csssssc          = ((System.Windows.Controls.TextBlock)(this.FindName("csssssc")));
     this.GridScrambling   = ((System.Windows.Controls.Grid)(this.FindName("GridScrambling")));
     this.rectangle        = ((System.Windows.Shapes.Rectangle)(this.FindName("rectangle")));
     this.textBlock3       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.textBlock3_Copy  = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3_Copy")));
     this.textBlock3_Copy1 = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3_Copy1")));
     this.btnHelp          = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnHelp")));
     this.btnPlay          = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnPlay")));
     this.btnAbout         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnAbout")));
 }
コード例 #17
0
ファイル: MainPage.xaml.cs プロジェクト: pwattjaidee/Thaibird
        //public bool _firstTime = true;
        public MainPage()
        {
            InitializeComponent();

            #region Application Bar
            ApplicationBar = new ApplicationBar { IsMenuEnabled = true, IsVisible = true, Opacity = .9 };

            var tweet = new ApplicationBarIconButton(new Uri("/Images/tweet.png", UriKind.Relative));
            tweet.Text = "tweet";
            tweet.Click += new EventHandler(btnTweetButton_Click);

            var refresh = new ApplicationBarIconButton(new Uri("/Images/refresh.png", UriKind.Relative));
            refresh.Text = "refresh";
            refresh.Click += new EventHandler(btnRefreshButton_Click);

            //var accountSetting = new ApplicationBarMenuItem();
            //accountSetting.Text = "Change account";
            //accountSetting.Click += new EventHandler(btnAccSetting_Click);

            var support = new ApplicationBarMenuItem();
            support.Text = "About";
            support.Click += new EventHandler(support_Click);

            ApplicationBar.Buttons.Add(tweet);
            ApplicationBar.Buttons.Add(refresh);
            //ApplicationBar.MenuItems.Add(accountSetting);
            ApplicationBar.MenuItems.Add(support);

            #endregion

            // Set the data context of the listbox control to the sample data
            DataContext = App.ViewModel;
            Loaded += MainPage_Loaded;
        }
コード例 #18
0
        private void BuildLocalizedApplicationBar()
        {
            ApplicationBar = new ApplicationBar();

            ApplicationBarIconButton sendButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/feature.email.png", UriKind.Relative));
            sendButton.Text = AppResources.SendButtonText;
            ApplicationBar.Buttons.Add(sendButton);
            sendButton.Click += Send;

            // TODO: Need paperclip icon
            ApplicationBarIconButton attachButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/attach.png", UriKind.Relative));
            attachButton.Text = AppResources.AttachButtonText;
            ApplicationBar.Buttons.Add(attachButton);
            attachButton.Click += Attach;

            ApplicationBarIconButton discardButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/cancel.png", UriKind.Relative));
            discardButton.Text = AppResources.DiscardButtonText;
            ApplicationBar.Buttons.Add(discardButton);
            discardButton.Click += Discard;

            ApplicationBarIconButton dictateButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/microphone.png", UriKind.Relative));
            dictateButton.Text = AppResources.DictateButtonText;
            ApplicationBar.Buttons.Add(dictateButton);
            dictateButton.Click += Dictate;

            ApplicationBarMenuItem labelMenuItem = new ApplicationBarMenuItem(AppResources.LabelItemText);
            ApplicationBar.MenuItems.Add(labelMenuItem);
            labelMenuItem.Click += LabelClick;
        }
コード例 #19
0
ファイル: MainPage.xaml.cs プロジェクト: LaoQi/kukukuclient
        // 构造函数
        public MainPage()
        {
            InitializeComponent();
            ApplicationBar = new ApplicationBar();
            categoryBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/folder.png", UriKind.Relative));
            categoryBtn.Text = "板块";
            categoryBtn.Click += new EventHandler(Categroy_Click);
            newpostBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/add.png", UriKind.Relative));
            newpostBtn.Text = "发串";
            newpostBtn.IsEnabled = false;
            jumptoBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/next.png", UriKind.Relative));
            jumptoBtn.Text = "跳转";
            jumptoBtn.IsEnabled = false;
            refreshBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/refresh.png", UriKind.Relative));
            refreshBtn.Text = "刷新";
            refreshBtn.Click += new EventHandler(RefreshItem_Click);

            saveimageBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/save.png", UriKind.Relative));
            saveimageBtn.Text = "保存";
            saveimageBtn.Click += new EventHandler(SaveImage_Click);
            shareimageBtn = new ApplicationBarIconButton(new Uri("/Assets/AppBar/share.png", UriKind.Relative));
            shareimageBtn.Text = "分享";
            shareimageBtn.Click += new EventHandler(ShareImage_Click);

            settingMenu = new ApplicationBarMenuItem("设置");
            aboutMenu = new ApplicationBarMenuItem("关于");

            ChangeAppBar(PageState.Categroy);
            ApplicationBar.Mode = ApplicationBarMode.Minimized;

            ApplicationBar.MenuItems.Add(settingMenu);
            ApplicationBar.MenuItems.Add(aboutMenu);
        }
コード例 #20
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MetroFanfou;component/MainPage.xaml", System.UriKind.Relative));
     this.rootView       = ((System.Windows.Controls.Grid)(this.FindName("rootView")));
     this.TrayPanel      = ((System.Windows.Controls.StackPanel)(this.FindName("TrayPanel")));
     this.performanceBar = ((Microsoft.Phone.Controls.PerformanceProgressBar)(this.FindName("performanceBar")));
     this.imgLogo        = ((System.Windows.Controls.Image)(this.FindName("imgLogo")));
     this.tbAccountName  = ((System.Windows.Controls.TextBlock)(this.FindName("tbAccountName")));
     this.PivotMain      = ((Microsoft.Phone.Controls.Pivot)(this.FindName("PivotMain")));
     this.homeItem       = ((MetroFanfou.Controls.StatusList)(this.FindName("homeItem")));
     this.replyItem      = ((MetroFanfou.Controls.StatusList)(this.FindName("replyItem")));
     this.publicItem     = ((MetroFanfou.Controls.StatusList)(this.FindName("publicItem")));
     this.mSetting       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("mSetting")));
     this.mLogout        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("mLogout")));
     this.mAbout         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("mAbout")));
     this.mHelp          = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("mHelp")));
     this.mExit          = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("mExit")));
     this.btnReload      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnReload")));
     this.btnAdd         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnAdd")));
     this.btnProfile     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnProfile")));
     this.btnSearch      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSearch")));
 }
コード例 #21
0
 public static IApplicationBarMenuItem InsertMenuItem(this IApplicationBar bar, int index, string text, ICommand cmd)
 {
     var menu = new ApplicationBarMenuItem { Text = text };
     menu.Click += (s, e) => cmd.Execute(null);
     bar.MenuItems.Insert(index, menu);
     return menu;
 }
コード例 #22
0
        private void InitializeApplicationBar()
        {
            /**
             * Because the app bar isn't a Silverlight control (wtf) we can't use binding in it,
             * so if we want localisation we have to create all these in code. Sigh.
             **/
            ApplicationBarIconButton twitterButton = new ApplicationBarIconButton();
            twitterButton.Text = AppResources.AboutPageAppBarTwitterText;
            twitterButton.IconUri = new Uri("/Icons/appbar.twitter.bird.png", UriKind.Relative);
            twitterButton.Click += TwitterButton_Click;
            ApplicationBar.Buttons.Add(twitterButton);

            ApplicationBarIconButton emailButton = new ApplicationBarIconButton();
            emailButton.Text = AppResources.AboutPageAppBarEmailText;
            emailButton.IconUri = new Uri("/Icons/appbar.feature.email.rest.png", UriKind.Relative);
            emailButton.Click += EmailButton_Click;
            ApplicationBar.Buttons.Add(emailButton);

            ApplicationBarIconButton otherAppsButton = new ApplicationBarIconButton();
            otherAppsButton.Text = AppResources.AboutPageAppBarOtherAppsText;
            otherAppsButton.IconUri = new Uri("/Icons/appbar.marketplace.png", UriKind.Relative);
            otherAppsButton.Click += OtherApps_Click;
            ApplicationBar.Buttons.Add(otherAppsButton);

            ApplicationBarIconButton reviewAppButton = new ApplicationBarIconButton();
            reviewAppButton.Text = AppResources.AboutPageAppBarReviewAppText;
            reviewAppButton.IconUri = new Uri("/Icons/appbar.favs.rest.png", UriKind.Relative);
            reviewAppButton.Click += ReviewApp_Click;
            ApplicationBar.Buttons.Add(reviewAppButton);

            ApplicationBarMenuItem websiteMenuItem = new ApplicationBarMenuItem();
            websiteMenuItem.Text = AppResources.AboutPageAppBarWebsiteText;
            websiteMenuItem.Click += WebsiteMenuItem_Click;
            ApplicationBar.MenuItems.Add(websiteMenuItem);
        }
コード例 #23
0
ファイル: MainPage.xaml.cs プロジェクト: BrianLima/Helix
        // Sample code for building a localized ApplicationBar
        private void BuildLocalizedApplicationBar()
        {
            // Set the page's ApplicationBar to a new instance of ApplicationBar.
            ApplicationBar = new ApplicationBar();

            // Create a new button and set the text value to the localized string from AppResources.
            ApplicationBarIconButton appBarButtonHear = new ApplicationBarIconButton(new Uri("/Images/QuestionMark.png", UriKind.Relative));
            appBarButtonHear.Text = "Hear";
            appBarButtonHear.Click += appBarButton_Click;
            ApplicationBar.Buttons.Add(appBarButtonHear);

            ApplicationBarIconButton appBarButtonShare = new ApplicationBarIconButton(new Uri("/Images/share.png", UriKind.Relative));
            appBarButtonShare.Text = "Share";
            appBarButtonShare.Click += appBarButtonShare_Click;
            ApplicationBar.Buttons.Add(appBarButtonShare);

            ApplicationBarIconButton appBarButtonReview = new ApplicationBarIconButton(new Uri("/Images/favs.png", UriKind.Relative));
            appBarButtonReview.Text = "Review";
            appBarButtonReview.Click += appBarButtonReview_Click;
            ApplicationBar.Buttons.Add(appBarButtonReview);

            ApplicationBarIconButton appBarButtonSpeech = new ApplicationBarIconButton(new Uri("/Images/microphone.png", UriKind.Relative));
            appBarButtonSpeech.Text = "Speech";
            appBarButtonSpeech.Click += appBarButtonSpeech_Click;
            ApplicationBar.Buttons.Add(appBarButtonSpeech);

            // Create a new menu item with the localized string from AppResources.
            ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarMenuItemText);
            appBarMenuItem.Text = "About";
            appBarMenuItem.Click += appBarMenuItem_Click; 
            ApplicationBar.MenuItems.Add(appBarMenuItem);
        }
コード例 #24
0
ファイル: MixedPage.xaml.cs プロジェクト: neufrin/PhotoMixer
        private void CreateButtons()
        {
            _saveButton = new ApplicationBarIconButton
            {
                Text = "save",
                IconUri = new Uri("Assets/Icons/Save.png", UriKind.Relative),
            };


            _feedbackItem = new ApplicationBarMenuItem
            {
                Text = "feedback"
            };

            _aboutMenuItem = new ApplicationBarMenuItem
            {
                Text = "about"
            };

            _saveButton.Click += SaveButton_Click;
            _feedbackItem.Click += feedbackItem_Click;
            _aboutMenuItem.Click += AboutMenuItem_Click;

            ApplicationBar.Buttons.Add(_saveButton);
            ApplicationBar.MenuItems.Add(_feedbackItem);
            ApplicationBar.MenuItems.Add(_aboutMenuItem);


        }
コード例 #25
0
        public void _CreateBar()
        {
            this.ApplicationBar = new ApplicationBar();

            var appBarButton = new ApplicationBarIconButton(
                new Uri("/Images/Appbar_Icons/appbar.add.rest.png", UriKind.Relative));
            appBarButton.Text = AppResources.AddPerson;
            this.ApplicationBar.Buttons.Add(appBarButton);
            appBarButton.Click += AddPerson_Click;

            var appBarButton1 = new ApplicationBarIconButton(
                new Uri("/Images/Appbar_Icons/appbar.save.rest.png", UriKind.Relative));
            appBarButton1.Text = AppResources.SaveChanges;
            appBarButton1.IsEnabled = false;
            this.ApplicationBar.Buttons.Add(appBarButton1);
            appBarButton1.Click += SaveChanges_Click;

            var appBarButton2 = new ApplicationBarIconButton(
                new Uri("/Images/Appbar_Icons/appbar.manage.rest.png", UriKind.Relative));
            appBarButton2.Text = AppResources.Change;
            this.ApplicationBar.Buttons.Add(appBarButton2);
            appBarButton2.Click += Change_Click;

            var appBarMenuItem = new ApplicationBarMenuItem(AppResources.LeaveChat);
            this.ApplicationBar.MenuItems.Add(appBarMenuItem);
            appBarMenuItem.Click += LeaveChat_Click;
        }
コード例 #26
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/sdkSocketsCS;component/MainPage.xaml", System.UriKind.Relative));
     this.Main             = ((sdkSocketsCS.basepage)(this.FindName("Main")));
     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.tbStatus         = ((System.Windows.Controls.TextBlock)(this.FindName("tbStatus")));
     this.gBoard           = ((System.Windows.Controls.Grid)(this.FindName("gBoard")));
     this.tb_00            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_00")));
     this.tb_01            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_01")));
     this.tb_02            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_02")));
     this.tb_10            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_10")));
     this.tb_11            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_11")));
     this.tb_12            = ((System.Windows.Controls.TextBlock)(this.FindName("tb_12")));
     this.spDiagnostics    = ((System.Windows.Controls.StackPanel)(this.FindName("spDiagnostics")));
     this.appbarSettings   = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbarSettings")));
     this.appbarHideDiag   = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("appbarHideDiag")));
 }
コード例 #27
0
        //Sample code for building a localized ApplicationBar
        private void BuildLocalizedApplicationBar()
        {
            // Set the page's ApplicationBar to a new instance of ApplicationBar.
            ApplicationBar = new ApplicationBar();

            // Create a new menu item with the localized string from AppResources.
            ApplicationBarMenuItem appBarMenuItem;

            // Blue
            appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarColorBlueText);
            appBarMenuItem.Click += appBarMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItem);

            // White
            appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarColorWhiteText);
            appBarMenuItem.Click += appBarMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItem);

            // Red
            appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarColorRedText);
            appBarMenuItem.Click += appBarMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItem);

            // Orange
            appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarColorOrangeText);
            appBarMenuItem.Click += appBarMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItem);
        }
コード例 #28
0
ファイル: WebView.xaml.cs プロジェクト: AFPass/8Pass
        protected override void OnNavigatedTo(
            bool cancelled, NavigationEventArgs e)
        {
            if (cancelled || _entry != null)
                return;

            var database = Cache.Database;
            if (database == null)
            {
                this.BackToDBs();
                return;
            }

            _entry = CurrentEntry.Entry;

            foreach (var field in _entry.GetFields().Take(3))
            {
                var local = field;

                var item = new ApplicationBarMenuItem(local.Name);
                item.Click += (s, _) => SetValue(local.Value);

                ApplicationBar.MenuItems.Add(item);
            }
        }
コード例 #29
0
        /// <summary>
        /// Creates a menu item and adds it to an application bar.
        /// </summary>
        /// <param name="appBar"></param>
        /// <param name="command"></param>
        /// <param name="text"></param>
        /// <returns></returns>
        public static ApplicationBarMenuItem CreateAndAddMenuItem(this IApplicationBar appBar, ICommand command, string text)
        {
            ApplicationBarMenuItem mi = new ApplicationBarMenuItem(text);

            // First-time values.
            mi.IsEnabled = command.CanExecute(mi);

            // Adds click handler to execute the command upon click.
            mi.Click += (o, e) =>
            {
                if (command.CanExecute(mi))
                {
                    command.Execute(mi);
                }
            };

            // Adds CanExecute changed handler.
            command.CanExecuteChanged += (o, e) =>
            {
                mi.IsEnabled = command.CanExecute(mi);
            };

            // Adds the button.
            appBar.MenuItems.Add(mi);

            return mi;
        }
コード例 #30
0
        public void AddMenuItem(ApplicationBarMenuItem menuItem)
        {
            this.MenuItems.Add(menuItem);

            if (this.OnMenuItemAdded != null)
                this.OnMenuItemAdded(this);
        }
コード例 #31
0
 public void loadContent()
 {
     IApplicationBar applicationBar = base.ApplicationBar;
     ApplicationBarMenuItem item = new ApplicationBarMenuItem(AppResources.DataSyncViaPcClient);
     item.Click += new System.EventHandler(this.viaPCClientButton_Click);
     applicationBar.MenuItems.Add(item);
 }
コード例 #32
0
        private void BuildLocalizedApplicationBar()
        {
            ApplicationBar = new ApplicationBar();

            ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem("settings");
            appBarMenuItem.Click += AppBarMenuItem_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItem);

            ApplicationBarMenuItem appBarMenuItemTutorial = new ApplicationBarMenuItem("tutorial");
            appBarMenuItemTutorial.Click += appBarMenuItemTutorial_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItemTutorial);
            
            ApplicationBarMenuItem appBarMenuItemAbout = new ApplicationBarMenuItem("About");
            appBarMenuItemAbout.Click += appBarMenuItemAbout_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItemAbout);

            ApplicationBarMenuItem appBarMenuItemReview = new ApplicationBarMenuItem("review and rate me!");
            appBarMenuItemReview.Click += appBarMenuItemReview_Click;
            ApplicationBar.MenuItems.Add(appBarMenuItemReview);

#if DEBUG
            ApplicationBarIconButton testNoting = new ApplicationBarIconButton(new Uri("/Assets/Tiles/add.png", UriKind.Relative));
            testNoting.Text = "Test Noting";
            testNoting.Click += testNoting_Click;
            ApplicationBar.Buttons.Add(testNoting);

            ApplicationBarIconButton testQuestion = new ApplicationBarIconButton(new Uri("/Assets/Tiles/add.png", UriKind.Relative));
            testQuestion.Text = "Test Question";
            testQuestion.Click += testQuestion_Click;
            ApplicationBar.Buttons.Add(testQuestion);
#endif
        }
コード例 #33
0
ファイル: WebView.xaml.cs プロジェクト: nthobois/7Pass
        protected override void OnNavigatedTo(
            bool cancelled, NavigationEventArgs e)
        {
            if (cancelled || _entry != null)
                return;

            var database = Cache.Database;
            if (database == null)
            {
                GoBack<MainPage>();
                return;
            }

            var id = NavigationContext
                .QueryString["entry"];

            _entry = database.GetEntry(id) ??
                CurrentEntry.Entry;

            foreach (var field in _entry.CustomFields.Take(3))
            {
                var item = new ApplicationBarMenuItem(field.Key);
                item.Click += (s, _) => SetValue(field.Value);
                ApplicationBar.MenuItems.Add(item);
            }
        }
コード例 #34
0
        // Constructor
        public MainPage ()
            {
            InitializeComponent ();
            Utilities.MainPageControl = this;
            Unloaded += Page_Unloaded;
            InitializeAppBarButtons ();
            _saveMenuItem = ApplicationBar.MenuItems[0] as ApplicationBarMenuItem;
            _saveMenuItem.IsEnabled = false;

            if (!IsolatedStorageSettings.ApplicationSettings.Contains (Constants.TOTAL_SECONDS))
                IsolatedStorageSettings.ApplicationSettings.Add (Constants.TOTAL_SECONDS, "60");

            if (!IsolatedStorageSettings.ApplicationSettings.Contains (Constants.MINUTE_SECOND_KEY))
                IsolatedStorageSettings.ApplicationSettings.Add (Constants.MINUTE_SECOND_KEY, Constants.MINUTE);

            IsolatedStorageSettings.ApplicationSettings.Save ();

            UpdateButtonState (false, false, true, false, false);

            _progressIndicatror = new ProgressIndicator
            {
                IsVisible = false,
                IsIndeterminate = true,
                Text = "Stopping..."
            };
            SystemTray.SetProgressIndicator (this, _progressIndicatror);

            }
コード例 #35
0
ファイル: PivotPage1.g.cs プロジェクト: bNick/WPOnLinePlayer
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhoneApplication3;component/PivotPage1.xaml", System.UriKind.Relative));
     this.LayoutRoot  = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.LBDirictory = ((System.Windows.Controls.ListBox)(this.FindName("LBDirictory")));
     this.settings    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("settings")));
 }
コード例 #36
0
ファイル: MainPage.g.i.cs プロジェクト: ZoyaSaeed/MFD
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/My%20Fitness%20Doctor;component/Views/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.logo                       = ((System.Windows.Controls.Image)(this.FindName("logo")));
     this.TrackerTile                = ((System.Windows.Controls.StackPanel)(this.FindName("TrackerTile")));
     this.TrackerTileImage           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileImage")));
     this.TrackerTileText1           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText1")));
     this.TrackerTileText2           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText2")));
     this.TrackerTileText3           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText3")));
     this.TrackerTileText4           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText4")));
     this.TrackerTileText5           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText5")));
     this.TrackerTileText6           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText6")));
     this.TrackerTileText7           = ((System.Windows.Shapes.Rectangle)(this.FindName("TrackerTileText7")));
     this.TrackerTileName            = ((System.Windows.Controls.TextBlock)(this.FindName("TrackerTileName")));
     this.WhetherTile                = ((System.Windows.Controls.StackPanel)(this.FindName("WhetherTile")));
     this.WeatherTileImage           = ((System.Windows.Shapes.Rectangle)(this.FindName("WeatherTileImage")));
     this.BMITile                    = ((System.Windows.Controls.StackPanel)(this.FindName("BMITile")));
     this.BMITileFill                = ((System.Windows.Shapes.Rectangle)(this.FindName("BMITileFill")));
     this.BMITileText1               = ((System.Windows.Controls.TextBlock)(this.FindName("BMITileText1")));
     this.BMITileIcon                = ((System.Windows.Controls.Image)(this.FindName("BMITileIcon")));
     this.BMITileText2               = ((System.Windows.Controls.TextBlock)(this.FindName("BMITileText2")));
     this.HealthTipsTile             = ((System.Windows.Controls.StackPanel)(this.FindName("HealthTipsTile")));
     this.HealthTipsTileFill         = ((System.Windows.Shapes.Rectangle)(this.FindName("HealthTipsTileFill")));
     this.HealthTipsTileIcon         = ((System.Windows.Controls.Image)(this.FindName("HealthTipsTileIcon")));
     this.HealthTipsTileText1        = ((System.Windows.Controls.TextBlock)(this.FindName("HealthTipsTileText1")));
     this.HealthTipsTileText2        = ((System.Windows.Controls.TextBlock)(this.FindName("HealthTipsTileText2")));
     this.StopwatchTile              = ((System.Windows.Controls.StackPanel)(this.FindName("StopwatchTile")));
     this.StopwatchTileFill          = ((System.Windows.Shapes.Rectangle)(this.FindName("StopwatchTileFill")));
     this.StopwatchTileIcon          = ((System.Windows.Controls.Image)(this.FindName("StopwatchTileIcon")));
     this.CalorieCounterTile         = ((System.Windows.Controls.StackPanel)(this.FindName("CalorieCounterTile")));
     this.CalorieCounterTileFill     = ((System.Windows.Shapes.Rectangle)(this.FindName("CalorieCounterTileFill")));
     this.CalorieCounterTileIcon     = ((System.Windows.Controls.Image)(this.FindName("CalorieCounterTileIcon")));
     this.NotesTile                  = ((System.Windows.Controls.StackPanel)(this.FindName("NotesTile")));
     this.NotesTileFill              = ((System.Windows.Shapes.Rectangle)(this.FindName("NotesTileFill")));
     this.NotesTileIcon              = ((System.Windows.Controls.Image)(this.FindName("NotesTileIcon")));
     this.StatisticalReportsTile     = ((System.Windows.Controls.StackPanel)(this.FindName("StatisticalReportsTile")));
     this.StatisticalReportsTileFill = ((System.Windows.Shapes.Rectangle)(this.FindName("StatisticalReportsTileFill")));
     this.StatisticalReportsTileIcon = ((System.Windows.Controls.Image)(this.FindName("StatisticalReportsTileIcon")));
     this.Pin      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Pin")));
     this.About    = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("About")));
     this.Like     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Like")));
     this.Settings = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Settings")));
     this.help     = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("help")));
 }
コード例 #37
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/SelectCombinePage.xaml", System.UriKind.Relative));
     this.PageTitle         = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.setsListbox       = ((System.Windows.Controls.ListBox)(this.FindName("setsListbox")));
     this.loadLessonsButton = ((System.Windows.Controls.Button)(this.FindName("loadLessonsButton")));
     this.selectAll         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectAll")));
     this.selectNone        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectNone")));
 }
コード例 #38
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Lannion%20Bus;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel     = ((System.Windows.Controls.Grid)(this.FindName("TitlePanel")));
     this.map            = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map")));
     this.arrets_proches = ((System.Windows.Controls.ListBox)(this.FindName("arrets_proches")));
     this.map_mode       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("map_mode")));
     this.aerien_mode    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("aerien_mode")));
 }
コード例 #39
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TouristMoscowWP;component/MainPage.xaml", System.UriKind.Relative));
     this.privacyMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("privacyMenuItem")));
     this.FindDataButton  = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("FindDataButton")));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SearchText      = ((System.Windows.Controls.TextBox)(this.FindName("SearchText")));
     this.ContentPanel    = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.FindItemsList   = ((Telerik.Windows.Controls.RadJumpList)(this.FindName("FindItemsList")));
 }
コード例 #40
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/LifeChacksApp;component/Pages/MainPage.xaml", System.UriKind.Relative));
     this.MPStartAnimation     = ((System.Windows.Media.Animation.Storyboard)(this.FindName("MPStartAnimation")));
     this.PIFirstShowAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("PIFirstShowAnimation")));
     this.SwipeAnimation       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SwipeAnimation")));
     this.AppSettings          = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppSettings")));
     this.AppList        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppList")));
     this.AppFull        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppFull")));
     this.AppShow        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppShow")));
     this.AppListAdd     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppListAdd")));
     this.AppSave        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppSave")));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RecRay         = ((System.Windows.Shapes.Rectangle)(this.FindName("RecRay")));
     this.rectangle      = ((System.Windows.Shapes.Rectangle)(this.FindName("rectangle")));
     this.MainPivot      = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot")));
     this.PIFirst        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PIFirst")));
     this.SVFirst        = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVFirst")));
     this.GridFirst      = ((System.Windows.Controls.Grid)(this.FindName("GridFirst")));
     this.TBFirst        = ((System.Windows.Controls.TextBlock)(this.FindName("TBFirst")));
     this.ImageFirst     = ((System.Windows.Controls.Image)(this.FindName("ImageFirst")));
     this.RecImageFirst  = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageFirst")));
     this.PISecond       = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PISecond")));
     this.SVSecond       = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVSecond")));
     this.GridSecond     = ((System.Windows.Controls.Grid)(this.FindName("GridSecond")));
     this.TBSecond       = ((System.Windows.Controls.TextBlock)(this.FindName("TBSecond")));
     this.ImageSecond    = ((System.Windows.Controls.Image)(this.FindName("ImageSecond")));
     this.RecImageSecond = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageSecond")));
     this.PIThird        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PIThird")));
     this.SVThird        = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVThird")));
     this.GridThird      = ((System.Windows.Controls.Grid)(this.FindName("GridThird")));
     this.TBThird        = ((System.Windows.Controls.TextBlock)(this.FindName("TBThird")));
     this.ImageThird     = ((System.Windows.Controls.Image)(this.FindName("ImageThird")));
     this.RecImageThird  = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageThird")));
     this.RecTitle       = ((System.Windows.Shapes.Rectangle)(this.FindName("RecTitle")));
     this.PBar           = ((System.Windows.Controls.ProgressBar)(this.FindName("PBar")));
     this.TBLogo         = ((System.Windows.Controls.TextBlock)(this.FindName("TBLogo")));
     this.Logo           = ((System.Windows.Shapes.Rectangle)(this.FindName("Logo")));
     this.LikeLogo       = ((System.Windows.Shapes.Rectangle)(this.FindName("LikeLogo")));
     this.TBSelect       = ((System.Windows.Controls.TextBox)(this.FindName("TBSelect")));
     this.ShowBigImage   = ((System.Windows.Controls.Image)(this.FindName("ShowBigImage")));
     this.Banner         = ((AdDuplex.AdControl)(this.FindName("Banner")));
 }
コード例 #41
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Zub%20App;component/CategoryPage.xaml", System.UriKind.Relative));
     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.MainListBox      = ((System.Windows.Controls.ListBox)(this.FindName("MainListBox")));
     this.appbar_button2   = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_button2")));
     this.deleteButton     = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("deleteButton")));
 }
コード例 #42
0
ファイル: MainPage.g.i.cs プロジェクト: vikeshkhanna/kg12
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Workout;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.panoramaControl      = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panoramaControl")));
     this.todayExerciseListBox = ((System.Windows.Controls.ListBox)(this.FindName("todayExerciseListBox")));
     this.SearchTextBox        = ((System.Windows.Controls.TextBox)(this.FindName("SearchTextBox")));
     this.ExercisesListBox     = ((System.Windows.Controls.ListBox)(this.FindName("ExercisesListBox")));
     this.webBrowserControl    = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("webBrowserControl")));
     this.openTodayAppButton   = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("openTodayAppButton")));
     this.aboutAppButton       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("aboutAppButton")));
 }
コード例 #43
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Facts;component/MainPage.xaml", System.UriKind.Relative));
     this.MPStartAnimation     = ((System.Windows.Media.Animation.Storyboard)(this.FindName("MPStartAnimation")));
     this.PIFirstShowAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("PIFirstShowAnimation")));
     this.SwipeAnimation       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SwipeAnimation")));
     this.LikeEffect           = ((System.Windows.Media.Animation.Storyboard)(this.FindName("LikeEffect")));
     this.RemoveEffect         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("RemoveEffect")));
     this.AppList        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppList")));
     this.AppAbout       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppAbout")));
     this.AppFull        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppFull")));
     this.AppShow        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppShow")));
     this.AppListAdd     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppListAdd")));
     this.AppConf        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppConf")));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RecTitle       = ((System.Windows.Shapes.Rectangle)(this.FindName("RecTitle")));
     this.MainPivot      = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot")));
     this.PIFirst        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PIFirst")));
     this.SVFirst        = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVFirst")));
     this.GridFirst      = ((System.Windows.Controls.Grid)(this.FindName("GridFirst")));
     this.TBFirst        = ((System.Windows.Controls.TextBlock)(this.FindName("TBFirst")));
     this.ImageFirst     = ((System.Windows.Controls.Image)(this.FindName("ImageFirst")));
     this.RecImageFirst  = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageFirst")));
     this.PISecond       = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PISecond")));
     this.SVSecond       = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVSecond")));
     this.GridSecond     = ((System.Windows.Controls.Grid)(this.FindName("GridSecond")));
     this.TBSecond       = ((System.Windows.Controls.TextBlock)(this.FindName("TBSecond")));
     this.ImageSecond    = ((System.Windows.Controls.Image)(this.FindName("ImageSecond")));
     this.RecImageSecond = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageSecond")));
     this.PIThird        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PIThird")));
     this.SVThird        = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVThird")));
     this.GridThird      = ((System.Windows.Controls.Grid)(this.FindName("GridThird")));
     this.TBThird        = ((System.Windows.Controls.TextBlock)(this.FindName("TBThird")));
     this.ImageThird     = ((System.Windows.Controls.Image)(this.FindName("ImageThird")));
     this.RecImageThird  = ((System.Windows.Shapes.Rectangle)(this.FindName("RecImageThird")));
     this.TBLogo         = ((System.Windows.Controls.TextBlock)(this.FindName("TBLogo")));
     this.PBarLeft       = ((System.Windows.Controls.ProgressBar)(this.FindName("PBarLeft")));
     this.PBarRight      = ((System.Windows.Controls.ProgressBar)(this.FindName("PBarRight")));
     this.LikeLogo       = ((System.Windows.Shapes.Rectangle)(this.FindName("LikeLogo")));
     this.TBSelect       = ((System.Windows.Controls.TextBox)(this.FindName("TBSelect")));
 }
コード例 #44
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StreetFitness;component/View/MainPage.xaml", System.UriKind.Relative));
     this.AboutMenuItem    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AboutMenuItem")));
     this.SettingsMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("SettingsMenuItem")));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel       = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel     = ((System.Windows.Controls.ListBox)(this.FindName("ContentPanel")));
     this.WorkoutGrid      = ((System.Windows.Controls.StackPanel)(this.FindName("WorkoutGrid")));
     this.NutritionGrid    = ((System.Windows.Controls.StackPanel)(this.FindName("NutritionGrid")));
     this.SchedulePanel    = ((System.Windows.Controls.StackPanel)(this.FindName("SchedulePanel")));
     this.ExerciseGrid     = ((System.Windows.Controls.StackPanel)(this.FindName("ExerciseGrid")));
 }
コード例 #45
0
ファイル: MainPage.g.cs プロジェクト: alexeous/Remote-Control
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Remote%20Control;component/MainPage.xaml", System.UriKind.Relative));
     this.syncButton       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("syncButton")));
     this.addCmdButton     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("addCmdButton")));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.title            = ((System.Windows.Controls.TextBlock)(this.FindName("title")));
     this.connectionStatus = ((System.Windows.Controls.TextBlock)(this.FindName("connectionStatus")));
     this.pivot            = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot")));
     this.cmd1             = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("cmd1")));
     this.outputBox        = ((System.Windows.Controls.TextBlock)(this.FindName("outputBox")));
     this.inputBox         = ((System.Windows.Controls.TextBox)(this.FindName("inputBox")));
 }
コード例 #46
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DialedIn;component/View/TasksView.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TasksPivotTitle      = ((Microsoft.Phone.Controls.Pivot)(this.FindName("TasksPivotTitle")));
     this.myGrid               = ((System.Windows.Controls.Grid)(this.FindName("myGrid")));
     this.MyTasksListBox       = ((System.Windows.Controls.ListBox)(this.FindName("MyTasksListBox")));
     this.LBData               = ((System.Windows.DataTemplate)(this.FindName("LBData")));
     this.AllTasksListBox      = ((System.Windows.Controls.ListBox)(this.FindName("AllTasksListBox")));
     this.NotificationsListBox = ((System.Windows.Controls.ListBox)(this.FindName("NotificationsListBox")));
     this.appbar_button1       = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_button1")));
     this.Groups               = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("Groups")));
 }
コード例 #47
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pivotMain        = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivotMain")));
     this.MainPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("MainPanel")));
     this.recoder          = ((System.Windows.Controls.Grid)(this.FindName("recoder")));
     this.txtDB            = ((System.Windows.Controls.TextBlock)(this.FindName("txtDB")));
     this.UserHelp         = ((System.Windows.Controls.TextBlock)(this.FindName("UserHelp")));
     this.googleMapControl = ((NoiseMap.UserControls.GoogleMapControl)(this.FindName("googleMapControl")));
     this.shareButton      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("shareButton")));
     this.makerButton      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("makerButton")));
     this.Settings         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("Settings")));
 }
コード例 #48
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Beem;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnSignIn             = ((Microsoft.Live.Controls.SignInButton)(this.FindName("btnSignIn")));
     this.grdLoading            = ((System.Windows.Controls.Grid)(this.FindName("grdLoading")));
     this.pvtRecorded           = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("pvtRecorded")));
     this.grdUpload             = ((System.Windows.Controls.Grid)(this.FindName("grdUpload")));
     this.appBar                = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("appBar")));
     this.btnRefreshStationList = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnRefreshStationList")));
     this.btnNowPlaying         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnNowPlaying")));
     this.btnAbout              = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnAbout")));
     this.btnSettings           = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnSettings")));
 }
コード例 #49
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/ShowVocabPage.xaml", System.UriKind.Relative));
     this.setnameTextblock    = ((System.Windows.Controls.TextBlock)(this.FindName("setnameTextblock")));
     this.wordsPanel          = ((System.Windows.Controls.StackPanel)(this.FindName("wordsPanel")));
     this.showStatsIcon       = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("showStatsIcon")));
     this.showPercentageIcon  = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("showPercentageIcon")));
     this.editIcon            = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("editIcon")));
     this.resetLessonIcon     = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("resetLessonIcon")));
     this.showJapStatsItem    = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("showJapStatsItem")));
     this.showTranslStatsItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("showTranslStatsItem")));
     this.sortAccendingItem   = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("sortAccendingItem")));
     this.sortDeccendingItem  = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("sortDeccendingItem")));
 }
コード例 #50
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HuntersWP;component/Pages/LoginPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.versionText    = ((System.Windows.Controls.TextBlock)(this.FindName("versionText")));
     this.ContentPanel   = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.tbLogin        = ((System.Windows.Controls.TextBox)(this.FindName("tbLogin")));
     this.tbPassword     = ((System.Windows.Controls.PasswordBox)(this.FindName("tbPassword")));
     this.btnLogin       = ((System.Windows.Controls.Button)(this.FindName("btnLogin")));
     this.tbNotConnected = ((System.Windows.Controls.TextBlock)(this.FindName("tbNotConnected")));
     this.tbNotUpdated   = ((System.Windows.Controls.TextBlock)(this.FindName("tbNotUpdated")));
     this.apmiUpdateQO   = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("apmiUpdateQO")));
     this.apmiUploadDb   = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("apmiUploadDb")));
 }
コード例 #51
0
ファイル: WelcomePage.g.cs プロジェクト: FLKone/HFR8
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HFR7;component/WelcomePage.xaml", System.UriKind.Relative));
     this.WelcomePagePA             = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("WelcomePagePA")));
     this.quitFavHeader             = ((System.Windows.Media.Animation.Storyboard)(this.FindName("quitFavHeader")));
     this.enterCatHeader            = ((System.Windows.Media.Animation.Storyboard)(this.FindName("enterCatHeader")));
     this.quitCatHeader             = ((System.Windows.Media.Animation.Storyboard)(this.FindName("quitCatHeader")));
     this.enterFavHeader            = ((System.Windows.Media.Animation.Storyboard)(this.FindName("enterFavHeader")));
     this.lastFavSB                 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("lastFavSB")));
     this.LayoutRoot                = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.welcomePivot              = ((Microsoft.Phone.Controls.Pivot)(this.FindName("welcomePivot")));
     this.logoStackPanel            = ((System.Windows.Controls.StackPanel)(this.FindName("logoStackPanel")));
     this.userStackPanel            = ((System.Windows.Controls.StackPanel)(this.FindName("userStackPanel")));
     this.pseudoTextBlock           = ((System.Windows.Controls.TextBlock)(this.FindName("pseudoTextBlock")));
     this.citationTextBlock         = ((System.Windows.Controls.TextBlock)(this.FindName("citationTextBlock")));
     this.avatarImage               = ((System.Windows.Controls.Image)(this.FindName("avatarImage")));
     this.drapalTile                = ((System.Windows.Controls.Button)(this.FindName("drapalTile")));
     this.drapalTileImage           = ((System.Windows.Controls.Image)(this.FindName("drapalTileImage")));
     this.favorisTileTextBlock      = ((System.Windows.Controls.TextBlock)(this.FindName("favorisTileTextBlock")));
     this.mpTileButton              = ((System.Windows.Controls.Button)(this.FindName("mpTileButton")));
     this.mpTileImage               = ((System.Windows.Controls.Image)(this.FindName("mpTileImage")));
     this.mpTileTextBlock           = ((System.Windows.Controls.TextBlock)(this.FindName("mpTileTextBlock")));
     this.favorisPivotItem          = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("favorisPivotItem")));
     this.favorisPivotItemHeader    = ((System.Windows.Controls.TextBlock)(this.FindName("favorisPivotItemHeader")));
     this.favTopics                 = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("favTopics")));
     this.categoriePivotItemHeader  = ((System.Windows.Controls.TextBlock)(this.FindName("categoriePivotItemHeader")));
     this.categoriesGroup           = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("categoriesGroup")));
     this.messageriePivotItemHeader = ((System.Windows.Controls.TextBlock)(this.FindName("messageriePivotItemHeader")));
     this.mpListBox                 = ((System.Windows.Controls.ListBox)(this.FindName("mpListBox")));
     this.applicationBar            = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("applicationBar")));
     this.appbar_refresh            = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_refresh")));
     this.appbar_newmp              = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_newmp")));
     this.settingsMenu              = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("settingsMenu")));
     this.deconnexionMenu           = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("deconnexionMenu")));
     this.aboutMenu                 = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("aboutMenu")));
     this.donateMenu                = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("donateMenu")));
 }
コード例 #52
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/SelectVocabPage.xaml", System.UriKind.Relative));
     this.selectLessonsPivot        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("selectLessonsPivot")));
     this.setsListbox               = ((System.Windows.Controls.ListBox)(this.FindName("setsListbox")));
     this.loadLessonsButton         = ((System.Windows.Controls.Button)(this.FindName("loadLessonsButton")));
     this.settingsPivot             = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("settingsPivot")));
     this.sortOrderGrid             = ((System.Windows.Controls.Grid)(this.FindName("sortOrderGrid")));
     this.radio1                    = ((System.Windows.Controls.RadioButton)(this.FindName("radio1")));
     this.radio2                    = ((System.Windows.Controls.RadioButton)(this.FindName("radio2")));
     this.radio3                    = ((System.Windows.Controls.RadioButton)(this.FindName("radio3")));
     this.typeSelectionGrid         = ((System.Windows.Controls.Grid)(this.FindName("typeSelectionGrid")));
     this.verb1Checkbox             = ((System.Windows.Controls.CheckBox)(this.FindName("verb1Checkbox")));
     this.verb2Checkbox             = ((System.Windows.Controls.CheckBox)(this.FindName("verb2Checkbox")));
     this.verb3Checkbox             = ((System.Windows.Controls.CheckBox)(this.FindName("verb3Checkbox")));
     this.iAdjCheckbox              = ((System.Windows.Controls.CheckBox)(this.FindName("iAdjCheckbox")));
     this.naAdjCheckbox             = ((System.Windows.Controls.CheckBox)(this.FindName("naAdjCheckbox")));
     this.advCheckbox               = ((System.Windows.Controls.CheckBox)(this.FindName("advCheckbox")));
     this.nounCheckbox              = ((System.Windows.Controls.CheckBox)(this.FindName("nounCheckbox")));
     this.partCheckbox              = ((System.Windows.Controls.CheckBox)(this.FindName("partCheckbox")));
     this.prevCheckbox              = ((System.Windows.Controls.CheckBox)(this.FindName("prevCheckbox")));
     this.suffCheckbox              = ((System.Windows.Controls.CheckBox)(this.FindName("suffCheckbox")));
     this.phrCheckbox               = ((System.Windows.Controls.CheckBox)(this.FindName("phrCheckbox")));
     this.otherCheckbox             = ((System.Windows.Controls.CheckBox)(this.FindName("otherCheckbox")));
     this.grammarCheckbox           = ((System.Windows.Controls.CheckBox)(this.FindName("grammarCheckbox")));
     this.learnDirectionGrid        = ((System.Windows.Controls.Grid)(this.FindName("learnDirectionGrid")));
     this.japGerIcon                = ((System.Windows.Controls.Image)(this.FindName("japGerIcon")));
     this.gerIcon                   = ((System.Windows.Controls.Image)(this.FindName("gerIcon")));
     this.japIcon                   = ((System.Windows.Controls.Image)(this.FindName("japIcon")));
     this.generalOptionsGrid        = ((System.Windows.Controls.Grid)(this.FindName("generalOptionsGrid")));
     this.loadAllWordsCheckBox      = ((System.Windows.Controls.CheckBox)(this.FindName("loadAllWordsCheckBox")));
     this.newWordsPerRoundSlider    = ((System.Windows.Controls.Slider)(this.FindName("newWordsPerRoundSlider")));
     this.newWordsPerRoundTextblock = ((System.Windows.Controls.TextBlock)(this.FindName("newWordsPerRoundTextblock")));
     this.showDescCheckBox          = ((System.Windows.Controls.CheckBox)(this.FindName("showDescCheckBox")));
     this.selectAll                 = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectAll")));
     this.selectNone                = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectNone")));
 }
コード例 #53
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Geo;component/MainPage.xaml", System.UriKind.Relative));
     this.beamImgW_SB          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgW_SB")));
     this.beamImgN_SB          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgN_SB")));
     this.beamImgS_SB          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgS_SB")));
     this.beamImgE_SB          = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgE_SB")));
     this.beamImgNE_SB         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgNE_SB")));
     this.beamImgSE_SB         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgSE_SB")));
     this.beamImgSW_SB         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgSW_SB")));
     this.beamImgNW_SB         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("beamImgNW_SB")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.functionsPivot       = ((Microsoft.Phone.Controls.Pivot)(this.FindName("functionsPivot")));
     this.btnFullExtent_MapNav = ((System.Windows.Controls.Image)(this.FindName("btnFullExtent_MapNav")));
     this.btnPrevExtent_MapNav = ((System.Windows.Controls.Image)(this.FindName("btnPrevExtent_MapNav")));
     this.btnNextExtent_MapNav = ((System.Windows.Controls.Image)(this.FindName("btnNextExtent_MapNav")));
     this.btnAutoNav_MapNav    = ((System.Windows.Controls.Image)(this.FindName("btnAutoNav_MapNav")));
     this.btnRedDrawPoint      = ((System.Windows.Controls.Image)(this.FindName("btnRedDrawPoint")));
     this.btnRedDrawLine       = ((System.Windows.Controls.Image)(this.FindName("btnRedDrawLine")));
     this.btnRedDrawPolygon    = ((System.Windows.Controls.Image)(this.FindName("btnRedDrawPolygon")));
     this.btnRedDrawText       = ((System.Windows.Controls.Image)(this.FindName("btnRedDrawText")));
     this.btnRedSettings       = ((System.Windows.Controls.Image)(this.FindName("btnRedSettings")));
     this.btnMeasurSet         = ((System.Windows.Controls.Button)(this.FindName("btnMeasurSet")));
     this.mapContent           = ((System.Windows.Controls.Grid)(this.FindName("mapContent")));
     this.myMap                 = ((ESRI.ArcGIS.Client.Map)(this.FindName("myMap")));
     this.btnMapFullScrn        = ((System.Windows.Controls.Button)(this.FindName("btnMapFullScrn")));
     this.btnAutoNavBase_MapNav = ((System.Windows.Controls.Button)(this.FindName("btnAutoNavBase_MapNav")));
     this.imgN  = ((System.Windows.Controls.Image)(this.FindName("imgN")));
     this.imgW  = ((System.Windows.Controls.Image)(this.FindName("imgW")));
     this.imgE  = ((System.Windows.Controls.Image)(this.FindName("imgE")));
     this.imgS  = ((System.Windows.Controls.Image)(this.FindName("imgS")));
     this.imgNW = ((System.Windows.Controls.Image)(this.FindName("imgNW")));
     this.imgSE = ((System.Windows.Controls.Image)(this.FindName("imgSE")));
     this.imgNE = ((System.Windows.Controls.Image)(this.FindName("imgNE")));
     this.imgSW = ((System.Windows.Controls.Image)(this.FindName("imgSW")));
     this.btnClearMapGraphics = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("btnClearMapGraphics")));
 }
コード例 #54
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SyncLinks;component/Views/BrowserPage.xaml", System.UriKind.Relative));
     this.webBrowser          = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("webBrowser")));
     this.AddBookmark_Popup   = ((System.Windows.Controls.Primitives.Popup)(this.FindName("AddBookmark_Popup")));
     this.TitleContent        = ((System.Windows.Controls.Grid)(this.FindName("TitleContent")));
     this.Txt_Title           = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Title")));
     this.Btn_OK              = ((System.Windows.Controls.Button)(this.FindName("Btn_OK")));
     this.Btn_Cancel          = ((System.Windows.Controls.Button)(this.FindName("Btn_Cancel")));
     this.Btn_PrePage         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Btn_PrePage")));
     this.Btn_Add             = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Btn_Add")));
     this.Btn_NextPage        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Btn_NextPage")));
     this.AppMenu_GoogleTrans = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppMenu_GoogleTrans")));
     this.AppMenu_IE10        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("AppMenu_IE10")));
 }
コード例 #55
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NihongoSenpai;component/Pages/MarketplacePage.xaml", System.UriKind.Relative));
     this.pivot                     = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot")));
     this.typeListPicker            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("typeListPicker")));
     this.searchTextbox             = ((System.Windows.Controls.TextBox)(this.FindName("searchTextbox")));
     this.localLessonsListbox       = ((System.Windows.Controls.ListBox)(this.FindName("localLessonsListbox")));
     this.deleteLessons             = ((System.Windows.Controls.Button)(this.FindName("deleteLessons")));
     this.typeListPicker2           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("typeListPicker2")));
     this.searchTextbox2            = ((System.Windows.Controls.TextBox)(this.FindName("searchTextbox2")));
     this.marketplaceLessonsListbox = ((System.Windows.Controls.ListBox)(this.FindName("marketplaceLessonsListbox")));
     this.downloadButton            = ((System.Windows.Controls.Button)(this.FindName("downloadButton")));
     this.selectAll                 = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectAll")));
     this.selectNone                = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("selectNone")));
 }
コード例 #56
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Eleicoes2014;component/MainPage.xaml", System.UriKind.Relative));
     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.cargoView                  = ((Eleicoes2014.View.Cargos.CargoView)(this.FindName("cargoView")));
     this.atualizarBotao             = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("atualizarBotao")));
     this.classificarMenuItem        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("classificarMenuItem")));
     this.contribuirMenuItem         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("contribuirMenuItem")));
     this.falarDesenvolvedorMenuItem = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("falarDesenvolvedorMenuItem")));
     this.sobreMenuItem              = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("sobreMenuItem")));
 }
コード例 #57
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/skyNetV1;component/MainPage.xaml", System.UriKind.Relative));
     this.findus           = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("findus")));
     this.email            = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("email")));
     this.bookmark         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("bookmark")));
     this.menuItem1        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("menuItem1")));
     this.menuItem2        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("menuItem2")));
     this.menuItem3        = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("menuItem3")));
     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.tabs             = ((System.Windows.Controls.Grid)(this.FindName("tabs")));
     this.urltxtbox        = ((System.Windows.Controls.TextBox)(this.FindName("urltxtbox")));
     this.goButton         = ((System.Windows.Controls.Button)(this.FindName("goButton")));
 }
コード例 #58
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp8;component/browse.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel   = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.micra        = ((System.Windows.Controls.TextBlock)(this.FindName("micra")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.browse1      = ((System.Windows.Controls.TextBox)(this.FindName("browse1")));
     this.mcs2         = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("mcs2")));
     this.go           = ((System.Windows.Controls.Button)(this.FindName("go")));
     this.progresshow  = ((System.Windows.Controls.ProgressBar)(this.FindName("progresshow")));
     this.bcky         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("bcky")));
     this.refresh      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("refresh")));
     this.forward      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("forward")));
     this.home         = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("home")));
 }
コード例 #59
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/POSH.Socrata.WP8;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel            = ((System.Windows.Controls.Grid)(this.FindName("TitlePanel")));
     this.imgSearch             = ((System.Windows.Controls.Image)(this.FindName("imgSearch")));
     this.pbProgressBar         = ((System.Windows.Controls.ProgressBar)(this.FindName("pbProgressBar")));
     this.ContentPanel          = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.lpkCityList           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lpkCityList")));
     this.cityList              = ((System.Windows.Controls.ItemsControl)(this.FindName("cityList")));
     this.appBarPanel           = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("appBarPanel")));
     this.appbar_refresh_app    = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_refresh_app")));
     this.appbar_search         = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_search")));
     this.appbar_settings       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("appbar_settings")));
     this.appbar_about_us       = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("appbar_about_us")));
     this.appbar_privacy_policy = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("appbar_privacy_policy")));
 }
コード例 #60
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp8;component/MainPage.xaml", System.UriKind.Relative));
     this.email            = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("email")));
     this.aboutus          = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("aboutus")));
     this.contact_us_      = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("contact_us_")));
     this.appli            = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appli")));
     this.bingmap          = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("bingmap")));
     this.rate_us          = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("rate_us")));
     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.ContentPanel     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.cp        = ((System.Windows.Controls.ColumnDefinition)(this.FindName("cp")));
     this.micrasurf = ((System.Windows.Controls.TextBox)(this.FindName("micrasurf")));
     this.button1   = ((System.Windows.Controls.Button)(this.FindName("button1")));
 }