Ejemplo n.º 1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot              = (global::PasswordManager.Common.LayoutAwarePage) this.FindName("pageRoot");
            btnDelete             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("btnDelete");
            txtNote               = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtNote");
            txtKey                = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtKey");
            txtWebSite            = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtWebSite");
            cboCategory           = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("cboCategory");
            txtPassword           = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtPassword");
            txtUserName           = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtUserName");
            txtTitle              = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("txtTitle");
            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");
        }
Ejemplo n.º 2
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::PasswordManager.Common.LayoutAwarePage) this.FindName("pageRoot");
            gvPasswords           = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("gvPasswords");
            pageSubTitle          = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageSubTitle");
            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");
        }