コード例 #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            ScenarioFrame   = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("ScenarioFrame");
            textWeather     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textWeather");
            day1Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day1Name");
            textDescription = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textDescription");
            textCity        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textCity");
            day1            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day1");
            day2Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day2Name");
            day2            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day2");
            day3Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day3Name");
            day3            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day3");
            day4Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day4Name");
            day4            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day4");
            day5Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day5Name");
            day5            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day5");
            day6Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day6Name");
            day6            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day6");
            day7Name        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day7Name");
            day7            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("day7");
            textHumidity    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textHumidity");
            textPressure    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("textPressure");
            City            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("City");
        }
コード例 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/MachineInspection/StartInspectionPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            UserInputFrame    = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("UserInputFrame");
            txtName           = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtName");
            txtHour           = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtHour");
            lblName           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblName");
            lblLocation       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblLocation");
            lblMatis          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblMatis");
            lblHour           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblHour");
            imgLogo           = (global::Windows.UI.Xaml.Controls.Image) this.FindName("imgLogo");
            btnStart          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnStart");
            btnReset          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnReset");
            btnLocation       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnLocation");
            btnMatis          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnMatis");
            ListPickerMatis   = (global::Windows.UI.Xaml.Controls.ListPickerFlyout) this.FindName("ListPickerMatis");
            ListPickerLocatie = (global::Windows.UI.Xaml.Controls.ListPickerFlyout) this.FindName("ListPickerLocatie");
        }
コード例 #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/OptionsPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::Turakas.Common.LayoutAwarePage) this.FindName("pageRoot");
            lobby                 = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("lobby");
            btnhelp               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnhelp");
            stkStart              = (global::Windows.UI.Xaml.Controls.Button) this.FindName("stkStart");
            stkJoin               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("stkJoin");
            frameMain             = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frameMain");
            frameStart            = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frameStart");
            frameJoin             = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frameJoin");
            frameWait             = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frameWait");
            lbxWait               = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("lbxWait");
            lbxJoinGame           = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("lbxJoinGame");
            btnPickGame           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnPickGame");
            lbxAddToGame          = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("lbxAddToGame");
            btnPick               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnPick");
            stkPicture            = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("stkPicture");
            vbxPicture            = (global::Windows.UI.Xaml.Controls.Viewbox) this.FindName("vbxPicture");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            username              = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("username");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }
コード例 #4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/MachineInspection/QuestionPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            QuestionListFrame = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("QuestionListFrame");
            PhotoFrame        = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("PhotoFrame");
            CommentFrame      = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("CommentFrame");
            lblComment        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblComment");
            txtComment        = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtComment");
            btnComment        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnComment");
            imgPhoto          = (global::Windows.UI.Xaml.Controls.Image) this.FindName("imgPhoto");
            btnCapture        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCapture");
            btnNextCapture    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnNextCapture");
            btnCaptureReset   = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCaptureReset");
            btnCaptureOk      = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCaptureOk");
            cePreview         = (global::Windows.UI.Xaml.Controls.CaptureElement) this.FindName("cePreview");
            lblQuestion       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblQuestion");
            btnOk             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnOk");
            btnNok            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnNok");
        }
コード例 #5
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/BookDetails.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::LibraryProject.App.Common.LayoutAwarePage) this.FindName("pageRoot");
            gotoSavedButton       = (global::Windows.UI.Xaml.Controls.Button) this.FindName("gotoSavedButton");
            saveButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("saveButton");
            removeButton          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("removeButton");
            homeButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("homeButton");
            ItemDetailFrame       = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("ItemDetailFrame");
            BookListLabel         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("BookListLabel");
            booksList             = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("booksList");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }
コード例 #6
0
ファイル: App.xaml.cs プロジェクト: fortefour/xamarin-forms
        /// <summary>
        /// Invoked when the application is launched normally by the end user.  Other entry points
        /// will be used when the application is launched to open a specific file, to display
        /// search results, and so forth.
        /// </summary>
        /// <param name="e">Details about the launch request and process.</param>
        protected override void OnLaunched(LaunchActivatedEventArgs e)
        {
#if DEBUG
            if (System.Diagnostics.Debugger.IsAttached)
            {
                DebugSettings.EnableFrameRateCounter = true;
            }
#endif

            var rootFrame = Window.Current.Content as global::Windows.UI.Xaml.Controls.Frame;

            // Do not repeat app initialization when the Window already has content,
            // just ensure that the window is active
            if (rootFrame == null)
            {
                // Create a Frame to act as the navigation context and navigate to the first page
                rootFrame = new global::Windows.UI.Xaml.Controls.Frame();

                // TODO: change this value to a cache size that is appropriate for your application
                rootFrame.CacheSize = 1;

                Forms.Init(e);
                FormsMaps.Init(Controls.App.Config["WinPhoneMapsAuthKey"]);

                if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
                {
                    // TODO: Load state from previously suspended application
                }

                // Place the frame in the current Window
                Window.Current.Content = rootFrame;
            }

            if (rootFrame.Content == null)
            {
                // Removes the turnstile navigation for startup.
                if (rootFrame.ContentTransitions != null)
                {
                    _transitions = new TransitionCollection();
                    foreach (var c in rootFrame.ContentTransitions)
                    {
                        _transitions.Add(c);
                    }
                }

                rootFrame.ContentTransitions = null;
                rootFrame.Navigated         += RootFrame_FirstNavigated;

                // When the navigation stack isn't restored navigate to the first page,
                // configuring the new page by passing required information as a navigation
                // parameter
                if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
                {
                    throw new Exception("Failed to create initial page");
                }
            }

            // Ensure the current window is active
            Window.Current.Activate();
        }
コード例 #7
0
ファイル: MainPage.g.cs プロジェクト: WilliamGrant/ReMusic
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 7:
                    this.obj7 = (global::Windows.UI.Xaml.Controls.TextBlock)target;
                    ((global::Windows.UI.Xaml.Controls.TextBlock)target).PointerPressed += (global::System.Object param0, global::Windows.UI.Xaml.Input.PointerRoutedEventArgs param1) =>
                    {
                        this.dataRoot.Main.OpenSttingView();
                    };
                    break;

                case 8:
                    this.obj8 = (global::Windows.UI.Xaml.Controls.ListView)target;
                    ((global::Windows.UI.Xaml.Controls.ListView)target).SelectionChanged += (global::System.Object param0, global::Windows.UI.Xaml.Controls.SelectionChangedEventArgs param1) =>
                    {
                        this.dataRoot.Main.MenuListSelectionChanged(param0, param1);
                    };
                    break;

                case 9:
                    this.obj9 = (global::Windows.UI.Xaml.Controls.Frame)target;
                    ((global::Windows.UI.Xaml.Controls.Frame)target).Loaded += (global::System.Object param0, global::Windows.UI.Xaml.RoutedEventArgs param1) =>
                    {
                        this.dataRoot.Main.SetupNavigationService(param0, param1);
                    };
                    break;

                default:
                    break;
                }
            }
コード例 #8
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/Hub.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::VidPackClient.Common.LayoutAwarePage) this.FindName("pageRoot");
            grdMain               = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grdMain");
            grdContent            = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("grdContent");
            frmTopSession         = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frmTopSession");
            frmNextSession        = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frmNextSession");
            frmPastSession        = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frmPastSession");
            frmFiller             = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frmFiller");
            frmSnapView           = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frmSnapView");
            imgTest               = (global::Windows.UI.Xaml.Controls.Image) this.FindName("imgTest");
            PreviewPlayer         = (global::Microsoft.PlayerFramework.MediaPlayer) this.FindName("PreviewPlayer");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }
コード例 #9
0
ファイル: MyPage.g.i.cs プロジェクト: kjsa7412/VoiceBerry
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MyPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            Grid_MyPage          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Grid_MyPage");
            Grid_MyPage_Root     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Grid_MyPage_Root");
            Grid_MyPage_Profile  = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Grid_MyPage_Profile");
            Grid_MyPage_Menu     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Grid_MyPage_Menu");
            Frame_MyPage         = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("Frame_MyPage");
            Image_Mypage_btn1    = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Image_Mypage_btn1");
            Image_Mypage_btn2    = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Image_Mypage_btn2");
            Image_Mypage_Profile = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Image_Mypage_Profile");
            Img_SpeechBuble      = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Img_SpeechBuble");
            TBox_TCount          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_TCount");
            TBox_TFollower       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_TFollower");
            TBox_TFollowing      = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_TFollowing");
            TBox_Count           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_Count");
            TBox_Follower        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_Follower");
            TBox_Following       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_Following");
            TBox_Option          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_Option");
            TBox_Content         = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("TBox_Content");
        }
コード例 #10
0
 private void Update_Frame(global::Windows.UI.Xaml.Controls.Frame obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         XamlBindingSetters.Set_Template10_Controls_PageHeader_Frame(this.obj7, obj, null);
     }
 }
コード例 #11
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            ScenarioFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ScenarioFrame");
            textWeather = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textWeather");
            day1Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day1Name");
            textDescription = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textDescription");
            textCity = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textCity");
            day1 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day1");
            day2Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day2Name");
            day2 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day2");
            day3Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day3Name");
            day3 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day3");
            day4Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day4Name");
            day4 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day4");
            day5Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day5Name");
            day5 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day5");
            day6Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day6Name");
            day6 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day6");
            day7Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day7Name");
            day7 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day7");
            textHumidity = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textHumidity");
            textPressure = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textPressure");
            City = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("City");
        }
コード例 #12
0
ファイル: MainPage.g.cs プロジェクト: ManuelMares/Rostoc
        public void Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
            {
                global::Windows.UI.Xaml.Controls.Grid element1 = (global::Windows.UI.Xaml.Controls.Grid)(target);
                    #line 10 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Grid)element1).Tapped += this.StackPanel_Tapped;
                    #line default
            }
            break;

            case 2:
            {
                global::Windows.UI.Xaml.Controls.Frame element2 = (global::Windows.UI.Xaml.Controls.Frame)(target);
                    #line 11 "..\..\..\MainPage.xaml"
                ((global::Windows.UI.Xaml.Controls.Frame)element2).Loaded += this.Frame_Loaded;
                    #line default
            }
            break;

            default:
                break;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
ファイル: Hub.g.i.cs プロジェクト: RobertEichenseer/vidPACK
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/Hub.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::VidPackClient.Common.LayoutAwarePage)this.FindName("pageRoot");
            grdMain = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("grdMain");
            grdContent = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("grdContent");
            frmTopSession = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmTopSession");
            frmNextSession = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmNextSession");
            frmPastSession = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmPastSession");
            frmFiller = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmFiller");
            frmSnapView = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmSnapView");
            imgTest = (global::Windows.UI.Xaml.Controls.Image)this.FindName("imgTest");
            PreviewPlayer = (global::Microsoft.PlayerFramework.MediaPlayer)this.FindName("PreviewPlayer");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }
コード例 #14
0
ファイル: App.xaml.cs プロジェクト: Costo/Xamarin.Forms
		/// <summary>
		/// Invoked when the application is launched normally by the end user.  Other entry points
		/// will be used when the application is launched to open a specific file, to display
		/// search results, and so forth.
		/// </summary>
		/// <param name="e">Details about the launch request and process.</param>
		protected override void OnLaunched(LaunchActivatedEventArgs e)
		{
#if DEBUG
			if (System.Diagnostics.Debugger.IsAttached)
			{
				DebugSettings.EnableFrameRateCounter = true;
			}
#endif

			var rootFrame = Window.Current.Content as global::Windows.UI.Xaml.Controls.Frame;

			// Do not repeat app initialization when the Window already has content,
			// just ensure that the window is active
			if (rootFrame == null)
			{
				// Create a Frame to act as the navigation context and navigate to the first page
				rootFrame = new global::Windows.UI.Xaml.Controls.Frame();

				// TODO: change this value to a cache size that is appropriate for your application
				rootFrame.CacheSize = 1;

				Forms.Init (e);
				FormsMaps.Init (Controls.App.Config["WinPhoneMapsAuthKey"]);

				if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
				{
					// TODO: Load state from previously suspended application
				}

				// Place the frame in the current Window
				Window.Current.Content = rootFrame;
			}

			if (rootFrame.Content == null)
			{
				// Removes the turnstile navigation for startup.
				if (rootFrame.ContentTransitions != null)
				{
					_transitions = new TransitionCollection();
					foreach (var c in rootFrame.ContentTransitions)
					{
						_transitions.Add(c);
					}
				}

				rootFrame.ContentTransitions = null;
				rootFrame.Navigated += RootFrame_FirstNavigated;

				// When the navigation stack isn't restored navigate to the first page,
				// configuring the new page by passing required information as a navigation
				// parameter
				if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
				{
					throw new Exception("Failed to create initial page");
				}
			}

			// Ensure the current window is active
			Window.Current.Activate();
		}
コード例 #15
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Scenario2_ImageTransforms.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            Output = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("Output");
            ImageViewbox = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ImageViewbox");
            ScaleSlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("ScaleSlider");
            ScaleTextblock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("ScaleTextblock");
            WidthTextblock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("WidthTextblock");
            HeightTextblock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("HeightTextblock");
            UserRotationTextblock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("UserRotationTextblock");
            ExifOrientationTextblock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("ExifOrientationTextblock");
            PreviewImage = (global::Windows.UI.Xaml.Controls.Image)this.FindName("PreviewImage");
            OpenButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("OpenButton");
            RotateLeftButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RotateLeftButton");
            RotateRightButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RotateRightButton");
            SaveButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("SaveButton");
            SaveAsButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("SaveAsButton");
            CloseButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("CloseButton");
        }
コード例 #16
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CourseStore/CourseOverview.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            prerequestCoursePopup = (global::Windows.UI.Xaml.Controls.Primitives.Popup)this.FindName("prerequestCoursePopup");
            UserProfileBt = (global::CloudEDU.Common.UserProfileButton)this.FindName("UserProfileBt");
            introGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("introGrid");
            frame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frame");
            OverviewButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("OverviewButton");
            DetailsButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("DetailsButton");
            CommentsButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("CommentsButton");
            Copyright = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("Copyright");
            Distributor = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("Distributor");
            GradingAge = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("GradingAge");
            Category = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("Category");
            rateStarsPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("rateStarsPanel");
            PriceTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("PriceTextBlock");
            courseButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("courseButton");
            Title = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("Title");
            prerequestCoursesPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("prerequestCoursesPanel");
        }
コード例 #17
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CourseStore/CourseOverview.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            UserProfileBt  = (global::CloudEDU.Common.UserProfileButton) this.FindName("UserProfileBt");
            introGrid      = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("introGrid");
            frame          = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("frame");
            OverviewButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("OverviewButton");
            DetailsButton  = (global::Windows.UI.Xaml.Controls.Button) this.FindName("DetailsButton");
            CommentsButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("CommentsButton");
            Copyright      = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Copyright");
            Distributor    = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Distributor");
            GradingAge     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("GradingAge");
            Category       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Category");
            rateStarsPanel = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("rateStarsPanel");
            PriceTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("PriceTextBlock");
            courseButton   = (global::Windows.UI.Xaml.Controls.Button) this.FindName("courseButton");
            Title          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("Title");
        }
コード例 #18
0
        /// <summary>
        /// Invoked when the application is launched normally by the end user.  Other entry points
        /// will be used such as when the application is launched to open a specific file.
        /// </summary>
        /// <param name="e">Details about the launch request and process.</param>
        protected override void OnLaunched(
            LaunchActivatedEventArgs e)
        {
//#if DEBUG
//            if (System.Diagnostics.Debugger.IsAttached)
//            {
//                this.DebugSettings.EnableFrameRateCounter = true;
//            }
//#endif

            NativeFrame rootFrame = Window.Current.Content as NativeFrame;

            if (rootFrame == null)
            {
                this.OnStart();
            }

            // Set screen bounds mode on mobile devices
            if (global::Windows.System.Profile.AnalyticsInfo.VersionInfo.DeviceFamily == "Windows.Mobile")
            {
                var appView = ApplicationView.GetForCurrentView();
                appView.VisibleBoundsChanged += AppView_VisibleBoundsChanged;
                appView.SetDesiredBoundsMode(ApplicationViewBoundsMode.UseCoreWindow);
                this.UpdateRootFrameBounds();
            }

            if (e.PrelaunchActivated == false)
            {
                // Ensure the current window is active
                Window.Current.Activate();
            }
        }
コード例 #19
0
 public static void Set_Windows_UI_Xaml_Controls_Frame_SourcePageType(global::Windows.UI.Xaml.Controls.Frame obj, global::System.Type value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::System.Type)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Type), targetNullValue);
     }
     obj.SourcePageType = value;
 }
コード例 #20
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            mainPageFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("mainPageFrame");
        }
コード例 #21
0
ファイル: App.xaml.cs プロジェクト: zmtzawqlp/maui
        private void OnBackRequested(object sender, BackRequestedEventArgs e)
        {
            Frame rootFrame = Window.Current.Content as Frame;

            if (rootFrame.CanGoBack)
            {
                e.Handled = true;
                rootFrame.GoBack();
            }
        }
コード例 #22
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CameraCapture.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            capturePreview = (global::Windows.UI.Xaml.Controls.CaptureElement)this.FindName("capturePreview");
            camera_frame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("camera_frame");
        }
コード例 #23
0
 private void Update_AppFrame(global::Windows.UI.Xaml.Controls.Frame obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_AppFrame(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_AppFrame_CanGoBack(obj.CanGoBack, phase);
         }
     }
 }
コード例 #24
0
 private void Update_Frame(global::Windows.UI.Xaml.Controls.Frame obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Views\DetailPage.xaml line 50
         if (!isobj7FrameDisabled)
         {
             XamlBindingSetters.Set_Template10_Controls_PageHeader_Frame(this.obj7, obj, null);
         }
     }
 }
コード例 #25
0
ファイル: BlankPage1.g.i.cs プロジェクト: EgorAndMax/psihproj
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///BlankPage1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            FlipView1 = (global::Windows.UI.Xaml.Controls.FlipView)this.FindName("FlipView1");
            FramePsih = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("FramePsih");
        }
コード例 #26
0
ファイル: App.xaml.cs プロジェクト: zmtzawqlp/maui
        /// <summary>
        /// Invoked when the application is launched normally by the end user.  Other entry points
        /// will be used such as when the application is launched to open a specific file.
        /// </summary>
        /// <param name="e">Details about the launch request and process.</param>
        protected override void OnLaunched(LaunchActivatedEventArgs e)
        {
#if DEBUG
            if (System.Diagnostics.Debugger.IsAttached)
            {
                //this.DebugSettings.EnableFrameRateCounter = true;
            }
#endif
            Frame rootFrame = Window.Current.Content as Frame;

            // Do not repeat app initialization when the Window already has content,
            // just ensure that the window is active
            if (rootFrame == null)
            {
                // Create a Frame to act as the navigation context and navigate to the first page
                rootFrame = new Frame();

                rootFrame.NavigationFailed += OnNavigationFailed;
                rootFrame.Navigated        += OnNavigated;

                System.Maui.Maui.Init(e);

                if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
                {
                    //TODO: Load state from previously suspended application
                }

                // Place the frame in the current Window
                Window.Current.Content = rootFrame;

                // Register a handler for BackRequested events and set the
                // visibility of the Back button
                SystemNavigationManager.GetForCurrentView().BackRequested += OnBackRequested;

                SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility =
                    rootFrame.CanGoBack  ?
                    AppViewBackButtonVisibility.Visible :
                    AppViewBackButtonVisibility.Collapsed;
            }

            if (e.PrelaunchActivated == false)
            {
                if (rootFrame.Content == null)
                {
                    // When the navigation stack isn't restored navigate to the first page,
                    // configuring the new page by passing required information as a navigation
                    // parameter
                    rootFrame.Navigate(typeof(MainPage), e.Arguments);
                }
                // Ensure the current window is active
                Window.Current.Activate();
            }
        }
コード例 #27
0
ファイル: ITTestPage.g.i.cs プロジェクト: EgorAndMax/psihproj
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Tests/InternetTest/ITTestPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            Question = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("Question");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
        }
コード例 #28
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            ScenarioFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ScenarioFrame");
            StatusBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("StatusBorder");
            StatusBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("StatusBlock");
        }
コード例 #29
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Controls/ContentControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            UserContent = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("UserContent");
        }
コード例 #30
0
ファイル: Timovi.g.i.cs プロジェクト: nikolaz5/DOT
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Timovi.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            gridSmer = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("gridSmer");
            lvRukovodioci = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("lvRukovodioci");
            lvSpisakPredmeta = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("lvSpisakPredmeta");
        }
コード例 #31
0
                public void DependencyPropertyChanged_Frame_Padding(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    TipsAndTricksPage_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        global::Windows.UI.Xaml.Controls.Frame obj = sender as global::Windows.UI.Xaml.Controls.Frame;
                        if (obj != null)
                        {
                            bindings.Update_Frame_Padding(obj.Padding, DATA_CHANGED);
                        }
                    }
                }
コード例 #32
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CameraCapture.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            capturePreview = (global::Windows.UI.Xaml.Controls.CaptureElement) this.FindName("capturePreview");
            camera_frame   = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("camera_frame");
        }
コード例 #33
0
                public void DependencyPropertyChanged_AppFrame_CanGoBack(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    MainPage_obj1_Bindings bindings = TryGetBindingObject();

                    if (bindings != null)
                    {
                        global::Windows.UI.Xaml.Controls.Frame obj = sender as global::Windows.UI.Xaml.Controls.Frame;
                        if (obj != null)
                        {
                            bindings.Update_AppFrame_CanGoBack(obj.CanGoBack, DATA_CHANGED);
                        }
                    }
                }
コード例 #34
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            rootFrame  = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("rootFrame");
            MyListView = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("MyListView");
        }
コード例 #35
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///ContentPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            MainFrame  = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("MainFrame");
            BackButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("BackButton");
        }
コード例 #36
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Timovi.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            gridSmer         = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("gridSmer");
            lvRukovodioci    = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("lvRukovodioci");
            lvSpisakPredmeta = (global::Windows.UI.Xaml.Controls.ListView) this.FindName("lvSpisakPredmeta");
        }
コード例 #37
0
ファイル: HomePage.g.i.cs プロジェクト: SSSTA/RenrenHD
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/HomePage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            grdMain = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("grdMain");
            grdSideBar = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("grdSideBar");
            frmContent = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmContent");
            imgHead = (global::Windows.UI.Xaml.Controls.Image)this.FindName("imgHead");
            txtName = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("txtName");
        }
コード例 #38
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///PadPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            Frame_Pad1   = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("Frame_Pad1");
            Image_Change = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Image_Change");
            Frame_Pad2   = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("Frame_Pad2");
        }
コード例 #39
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            ScenarioFrame = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("ScenarioFrame");
            StatusBorder  = (global::Windows.UI.Xaml.Controls.Border) this.FindName("StatusBorder");
            StatusBlock   = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("StatusBlock");
        }
コード例 #40
0
ファイル: principal.g.i.cs プロジェクト: cavicchioli/projects
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///view/principal.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            MainFrame   = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("MainFrame");
            btnCadastro = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnCadastro");
            btnLista    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnLista");
            btnVoltar   = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnVoltar");
        }
コード例 #41
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///SpeechPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            GView_SpeechPage      = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("GView_SpeechPage");
            Canvas_SpeechListPage = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("Canvas_SpeechListPage");
            Grid_Menu             = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Grid_Menu");
            Frame_Speech          = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("Frame_Speech");
        }
コード例 #42
0
ファイル: Hub.g.i.cs プロジェクト: RobertEichenseer/vidPACK
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///bin/Debug/View/Hub.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::VidPackClient.Common.LayoutAwarePage)this.FindName("pageRoot");
            grdContent = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("grdContent");
            frmOrder = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frmOrder");
            lbDownloads = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("lbDownloads");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
        }
コード例 #43
0
ファイル: Smerovi.g.i.cs プロジェクト: nikolaz5/DOT
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Smerovi.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            frameTimovi = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frameTimovi");
            GlavniGridScroll = (global::Windows.UI.Xaml.Controls.ScrollViewer)this.FindName("GlavniGridScroll");
            GlavniGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("GlavniGrid");
            itemListView = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("itemListView");
            rectPredstavnik = (global::Windows.UI.Xaml.Shapes.Rectangle)this.FindName("rectPredstavnik");
            spPredstavnik = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("spPredstavnik");
        }
コード例 #44
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///GroupedItemsPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::Windows.UI.Xaml.Controls.Page)this.FindName("pageRoot");
            groupedItemsViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("groupedItemsViewSource");
            itemGridView = (global::Windows.UI.Xaml.Controls.GridView)this.FindName("itemGridView");
            FramePsihologist = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("FramePsihologist");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
        }
コード例 #45
0
ファイル: MainPage.g.i.cs プロジェクト: Sky-/bubblefour
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            DrawerLayout = (global::DrawerLayout.DrawerLayout)this.FindName("DrawerLayout");
            Start = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Start");
            Beenden = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Beenden");
            frame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("frame");
            Menü = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Menü");
            Titel = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("Titel");
        }
コード例 #46
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            LeftPane = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LeftPane");
            ScenarioFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ScenarioFrame");
            ScenarioControl = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("ScenarioControl");
            FooterPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("FooterPanel");
            StatusBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("StatusBorder");
            StatusBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("StatusBlock");
            SampleTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("SampleTitle");
        }
コード例 #47
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MasterPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            ProgressRingUserControl = (global::DWSS.UserControls.ProgressRing) this.FindName("ProgressRingUserControl");
            UsernameTextBlock       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("UsernameTextBlock");
            NotificationGrid        = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("NotificationGrid");
            NotificationText        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("NotificationText");
            pageViewer = (global::Windows.UI.Xaml.Controls.Frame) this.FindName("pageViewer");
        }
コード例 #48
0
ファイル: MainPage.g.i.cs プロジェクト: grantamos/decibel
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::Music8.Common.LayoutAwarePage)this.FindName("pageRoot");
            ContentFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ContentFrame");
            playbackControl = (global::Music8.Common.PlaybackControl)this.FindName("playbackControl");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }
コード例 #49
0
ファイル: GlobalPage.g.i.cs プロジェクト: shane0913/Catfish
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///GlobalPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            menu = (global::Windows.UI.Xaml.Controls.AppBar)this.FindName("menu");
            Camera_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Camera_Button");
            Search_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Search_Button");
            Return_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Return_Button");
            Home_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Home_Button");
            Message_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Message_Button");
            Explore_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Explore_Button");
            Me_Button = (global::Windows.UI.Xaml.Controls.Button)this.FindName("Me_Button");
            rootFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("rootFrame");
        }
コード例 #50
0
ファイル: MainPage.g.i.cs プロジェクト: Janerson/TrackForMe
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///View/MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            iconAnimation = (global::Windows.UI.Xaml.Media.Animation.Storyboard)this.FindName("iconAnimation");
            RootLayout = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("RootLayout");
            TitleBar = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("TitleBar");
            DrawerLayout = (global::DrawerLayout.DrawerLayout)this.FindName("DrawerLayout");
            MainFragment = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("MainFragment");
            ListFragment = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("ListFragment");
            ListMenuItems = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("ListMenuItems");
            MainContent = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("MainContent");
            DrawerIcon = (global::Windows.UI.Xaml.Controls.Image)this.FindName("DrawerIcon");
        }
コード例 #51
0
ファイル: Coursing.g.i.cs プロジェクト: CloudEDU/Courstore
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///CourseStore/Coursing.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            UserProfileBt = (global::CloudEDU.Common.UserProfileButton)this.FindName("UserProfileBt");
            ContentBackgroundRect = (global::Windows.UI.Xaml.Shapes.Rectangle)this.FindName("ContentBackgroundRect");
            detailFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("detailFrame");
            HomeBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("HomeBorder");
            LecturesBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("LecturesBorder");
            NotesBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("NotesBorder");
            NotesText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("NotesText");
            LecturesText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("LecturesText");
            HomeText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("HomeText");
            NavigateText = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("NavigateText");
            CourseTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("CourseTitle");
        }
コード例 #52
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/BookDetails.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::LibraryProject.App.Common.LayoutAwarePage)this.FindName("pageRoot");
            gotoSavedButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("gotoSavedButton");
            saveButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("saveButton");
            removeButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("removeButton");
            homeButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("homeButton");
            ItemDetailFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ItemDetailFrame");
            BookListLabel = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("BookListLabel");
            booksList = (global::Windows.UI.Xaml.Controls.ListView)this.FindName("booksList");
            backButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }
コード例 #53
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            imgBackground = (global::Windows.UI.Xaml.Media.ImageBrush)this.FindName("imgBackground");
            ScenarioFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ScenarioFrame");
            mProgressRing = (global::Windows.UI.Xaml.Controls.ProgressRing)this.FindName("mProgressRing");
            textWeather = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textWeather");
            day1Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day1Name");
            textCity = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textCity");
            day1 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day1");
            day2Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day2Name");
            day2 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day2");
            day3Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day3Name");
            day3 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day3");
            day4Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day4Name");
            day4 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day4");
            day5Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day5Name");
            day5 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day5");
            day6Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day6Name");
            day6 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day6");
            day7Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day7Name");
            day7 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day7");
            textHumidity = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textHumidity");
            textPressure = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("textPressure");
            imagePressure = (global::Windows.UI.Xaml.Controls.Image)this.FindName("imagePressure");
            imageHumidity = (global::Windows.UI.Xaml.Controls.Image)this.FindName("imageHumidity");
            imageWeather = (global::Windows.UI.Xaml.Controls.Image)this.FindName("imageWeather");
            day8Name = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day8Name");
            day8 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("day8");
            NoDataFound = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("NoDataFound");
        }
コード例 #54
0
ファイル: MainPage.g.i.cs プロジェクト: grantamos/decibel
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::Music8.Common.LayoutAwarePage)this.FindName("pageRoot");
            DarkBackground = (global::Windows.UI.Xaml.Shapes.Rectangle)this.FindName("DarkBackground");
            NavigationHeader = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("NavigationHeader");
            searchTextBox = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("searchTextBox");
            Logo = (global::Windows.UI.Xaml.Controls.Image)this.FindName("Logo");
            ContentFrame = (global::Windows.UI.Xaml.Controls.Frame)this.FindName("ContentFrame");
            playbackControl = (global::Music8.Common.PlaybackControl)this.FindName("playbackControl");
            collectionRadioButton = (global::Windows.UI.Xaml.Controls.RadioButton)this.FindName("collectionRadioButton");
            eventsRadioButton = (global::Windows.UI.Xaml.Controls.RadioButton)this.FindName("eventsRadioButton");
            nowPlayingRadioButton = (global::Windows.UI.Xaml.Controls.RadioButton)this.FindName("nowPlayingRadioButton");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup)this.FindName("ApplicationViewStates");
            FullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenLandscape");
            Filled = (global::Windows.UI.Xaml.VisualState)this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("FullScreenPortrait");
            Snapped = (global::Windows.UI.Xaml.VisualState)this.FindName("Snapped");
        }