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/MainView/MainView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            MainPage = (global::Scanner.Windows.Common.ViewBase)this.FindName("MainPage");
            MainViewModel = (global::Scanner.Windows.ViewModels.MainViewModel)this.FindName("MainViewModel");
            Categories = (global::Windows.UI.Xaml.Data.CollectionViewSource)this.FindName("Categories");
            BottomAppBar = (global::Windows.UI.Xaml.Controls.AppBar)this.FindName("BottomAppBar");
            AddCategoryButton = (global::Windows.UI.Xaml.Controls.AppBarButton)this.FindName("AddCategoryButton");
            NewCategoryTextBox = (global::Windows.UI.Xaml.Controls.TextBox)this.FindName("NewCategoryTextBox");
            NewCategoryButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("NewCategoryButton");
            SortCombobox = (global::Windows.UI.Xaml.Controls.ComboBox)this.FindName("SortCombobox");
            LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            MainGridView = (global::Windows.UI.Xaml.Controls.GridView)this.FindName("MainGridView");
            AllDocumentsGridView = (global::Windows.UI.Xaml.Controls.GridView)this.FindName("AllDocumentsGridView");
            ScannerTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("ScannerTextBlock");
        }
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/MainView/MainView.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            MainPage             = (global::Scanner.Windows.Common.ViewBase) this.FindName("MainPage");
            MainViewModel        = (global::Scanner.Windows.ViewModels.MainViewModel) this.FindName("MainViewModel");
            Categories           = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("Categories");
            BottomAppBar         = (global::Windows.UI.Xaml.Controls.AppBar) this.FindName("BottomAppBar");
            AddCategoryButton    = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("AddCategoryButton");
            NewCategoryTextBox   = (global::Windows.UI.Xaml.Controls.TextBox) this.FindName("NewCategoryTextBox");
            NewCategoryButton    = (global::Windows.UI.Xaml.Controls.Button) this.FindName("NewCategoryButton");
            SortCombobox         = (global::Windows.UI.Xaml.Controls.ComboBox) this.FindName("SortCombobox");
            LayoutRoot           = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            MainGridView         = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("MainGridView");
            AllDocumentsGridView = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("AllDocumentsGridView");
            ScannerTextBlock     = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("ScannerTextBlock");
        }