示例#1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            menuPage   = (global::TouchPointWindows.Common.PageBase) this.FindName("menuPage");
            backButton = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            radGrid    = (global::Telerik.UI.Xaml.Controls.Grid.RadDataGrid) this.FindName("radGrid");
        }
示例#2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            pageRoot = (global::TouchPointWindows.Common.PageBase) this.FindName("pageRoot");
            groupedItemsViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("groupedItemsViewSource");
            groupViewSource        = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("groupViewSource");
            orderedItemsViewSource = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("orderedItemsViewSource");
            OrdersSource           = (global::Windows.UI.Xaml.Data.CollectionViewSource) this.FindName("OrdersSource");
            rectBackgroundHide     = (global::Windows.UI.Xaml.Shapes.Rectangle) this.FindName("rectBackgroundHide");
            discountPopup          = (global::TouchPointWindows.Views.DiscountPopupView) this.FindName("discountPopup");
            ItemGridView           = (global::Windows.UI.Xaml.Controls.GridView) this.FindName("ItemGridView");
            backButton             = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
        }