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

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Frames/Register.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            pageRoot = (global::DatumPrikker.UI.Common.LayoutAwarePage)this.FindName("pageRoot");
            btnRegister = (global::Windows.UI.Xaml.Controls.Button)this.FindName("btnRegister");
            RegisterUserName = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("RegisterUserName");
            RegisterPassword = (global::Windows.UI.Xaml.Controls.PasswordBox)this.FindName("RegisterPassword");
            RegisterEmail = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("RegisterEmail");
            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");
            BottomAppBar1 = (global::Windows.UI.Xaml.Controls.AppBar)this.FindName("BottomAppBar1");
            LeftPanel = (global::Windows.UI.Xaml.Controls.StackPanel)this.FindName("LeftPanel");
            Save = (global::DatumPrikker.UI.AppBarControls.SaveButtonUserControl)this.FindName("Save");
            Cancel = (global::DatumPrikker.UI.AppBarControls.CancelButtonUserControl)this.FindName("Cancel");
        }
コード例 #2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::DatumPrikker.UI.Common.LayoutAwarePage) this.FindName("pageRoot");
            RegisterUserName      = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("RegisterUserName");
            RegisterPassword      = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("RegisterPassword");
            RegisterEmail         = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("RegisterEmail");
            btnRegister           = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnRegister");
            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");
            BottomAppBar1      = (global::Windows.UI.Xaml.Controls.AppBar) this.FindName("BottomAppBar1");
            LeftPanel          = (global::Windows.UI.Xaml.Controls.StackPanel) this.FindName("LeftPanel");
            Save   = (global::DatumPrikker.UI.AppBarControls.SaveButtonUserControl) this.FindName("Save");
            Cancel = (global::DatumPrikker.UI.AppBarControls.CancelButtonUserControl) this.FindName("Cancel");
        }