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:///Views/CurrentCategoryView/CurrentCategoryView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            CurrentCategoryPage = (global::Scanner.Windows.Common.ViewBase)this.FindName("CurrentCategoryPage");
            CurrentCategoryViewModel = (global::Scanner.Windows.ViewModels.CurrentCategoryViewModel)this.FindName("CurrentCategoryViewModel");
            CategoryNameTextBox = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("CategoryNameTextBox");
            NewCategoryButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("NewCategoryButton");
            CurrentCategoryDocuments = (global::Windows.UI.Xaml.Controls.GridView)this.FindName("CurrentCategoryDocuments");
        }
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:///Views/CurrentCategoryView/CurrentCategoryView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            CurrentCategoryPage      = (global::Scanner.Windows.Common.ViewBase) this.FindName("CurrentCategoryPage");
            CurrentCategoryViewModel = (global::Scanner.Windows.ViewModels.CurrentCategoryViewModel) this.FindName("CurrentCategoryViewModel");
            CategoryNameTextBox      = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("CategoryNameTextBox");
            NewCategoryButton        = (global::Windows.UI.Xaml.Controls.Button) this.FindName("NewCategoryButton");
            CurrentCategoryDocuments = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("CurrentCategoryDocuments");
        }