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

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///SearchPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::StudentRegistrationApp.Common.LayoutAwarePage)this.FindName("pageRoot");
            lstSearchResults = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("lstSearchResults");
            lblSearchValue = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblSearchValue");
            txtSearchValue = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtSearchValue");
            lblCtegory = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblCtegory");
            cboCategories = (global::Windows.UI.Xaml.Controls.ComboBox)this.FindName("cboCategories");
            btnSearch = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnSearch");
            BtnSaveSearch = (global::Windows.UI.Xaml.Controls.Button)this.FindName("BtnSaveSearch");
            cboSearches = (global::Windows.UI.Xaml.Controls.ComboBox)this.FindName("cboSearches");
            btnNewSearch = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnNewSearch");
            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");
        }
コード例 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::StudentRegistrationApp.Common.LayoutAwarePage) this.FindName("pageRoot");
            lstSearchResults      = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("lstSearchResults");
            lblSearchValue        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblSearchValue");
            txtSearchValue        = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtSearchValue");
            lblCtegory            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblCtegory");
            cboCategories         = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("cboCategories");
            btnSearch             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSearch");
            BtnSaveSearch         = (global::Windows.UI.Xaml.Controls.Button) this.FindName("BtnSaveSearch");
            cboSearches           = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("cboSearches");
            btnNewSearch          = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnNewSearch");
            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");
        }
コード例 #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot = (global::StudentRegistrationApp.Common.LayoutAwarePage) this.FindName("pageRoot");
        }
コード例 #4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::StudentRegistrationApp.Common.LayoutAwarePage) this.FindName("pageRoot");
            btnFirst              = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnFirst");
            btn_Edit              = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btn_Edit");
            btnBack               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnBack");
            btnNext               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnNext");
            btnLast               = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnLast");
            btnDelete             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnDelete");
            btnSearch             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnSearch");
            StudentEntry          = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("StudentEntry");
            lblSurname            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblSurname");
            lblDoB                = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblDoB");
            lblAddress            = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblAddress");
            lblTown               = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblTown");
            lblCounty             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblCounty");
            lblPostCode           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblPostCode");
            lblYearOfStudy        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblYearOfStudy");
            lblHomeEmail          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblHomeEmail");
            lblStudentEmail       = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblStudentEmail");
            txtSurname            = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtSurname");
            txtFirstName          = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtFirstName");
            txtDoB                = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtDoB");
            txtCourseTitle        = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtCourseTitle");
            cbYearOfStudy         = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("cbYearOfStudy");
            txtAddress            = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtAddress");
            txtTown               = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtTown");
            txtCounty             = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtCounty");
            txtPostCode           = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtPostCode");
            txtPhoneHome          = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtPhoneHome");
            txtPhoneMobile        = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtPhoneMobile");
            txtEmailHome          = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtEmailHome");
            txtEmailStudent       = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtEmailStudent");
            lblMobilePHone        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblMobilePHone");
            lblHomePhone          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblHomePhone");
            lblFirstName          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblFirstName");
            lblCourseTitle        = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("lblCourseTitle");
            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");
        }
コード例 #5
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///StuentDisplayPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::StudentRegistrationApp.Common.LayoutAwarePage)this.FindName("pageRoot");
            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
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::StudentRegistrationApp.Common.LayoutAwarePage) this.FindName("pageRoot");
            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");
        }
コード例 #7
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);
 
            pageRoot = (global::StudentRegistrationApp.Common.LayoutAwarePage)this.FindName("pageRoot");
            RegisterStudent = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RegisterStudent");
            displayRegisteredStudents = (global::Windows.UI.Xaml.Controls.Button)this.FindName("displayRegisteredStudents");
            lblConfirmMsg = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblConfirmMsg");
            btnSearch = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnSearch");
            StudentEntry = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("StudentEntry");
            lblSurname = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblSurname");
            lblDoB = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblDoB");
            lblAddress = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblAddress");
            lblTown = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblTown");
            lblCounty = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblCounty");
            lblPostCode = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblPostCode");
            lblYearOfStudy = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblYearOfStudy");
            lblHomeEmail = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblHomeEmail");
            lblStudentEmail = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblStudentEmail");
            txtSurnameInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtSurnameInput");
            txtFirstNameInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtFirstNameInput");
            txtDoBInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtDoBInput");
            txtCourseTitleInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtCourseTitleInput");
            cbYearOfStudyInput = (global::Windows.UI.Xaml.Controls.ComboBox)this.FindName("cbYearOfStudyInput");
            txtAddressInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtAddressInput");
            txtTownInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtTownInput");
            txtCountyInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtCountyInput");
            txtPostCodeInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtPostCodeInput");
            txtPhoneHomeInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtPhoneHomeInput");
            txtPhoneMobileInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtPhoneMobileInput");
            txtEmailHomeInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtEmailHomeInput");
            txtEmailStudentInput = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("txtEmailStudentInput");
            lblMobilePHone = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblMobilePHone");
            lblHomePhone1 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblHomePhone1");
            lblFirstName = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblFirstName");
            lblCourseTitle = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblCourseTitle");
            lblErrorMessage = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("lblErrorMessage");
            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");
        }