コード例 #1
0
        public TeamDetails()
        {
            InitializeComponent();
            _vm = new TeamDetailsViewModel();
            this.DataContext = _vm;

            LoadingPopup ovr = new LoadingPopup();

            loadingGrid.Visibility = System.Windows.Visibility.Collapsed;
            loadingGrid.Children.Add(ovr);
        }
コード例 #2
0
ファイル: Games.xaml.cs プロジェクト: Mahopacs/SoccerApp
        public Games()
        {
            InitializeComponent();

            LoadingPopup ovr = new LoadingPopup();

            loadingGrid.Visibility = System.Windows.Visibility.Collapsed;
            loadingGrid.Children.Add(ovr);

            this.DataContext = _vm;
        }
コード例 #3
0
        public PlayList()
        {
            InitializeComponent();

            LoadingPopup ovr = new LoadingPopup();

            loadingGrid.Children.Add(ovr);

            _vm = new PlayListViewModel();
            this.DataContext = _vm;
        }
コード例 #4
0
        public PickStatisticsScreen()
        {
            InitializeComponent();

            LoadingPopup ovr = new LoadingPopup();

            loadingGrid.Visibility = System.Windows.Visibility.Collapsed;
            loadingGrid.Children.Add(ovr);

            _vm = new PickStatisticsViewModel();
            this.DataContext = _vm;
        }
コード例 #5
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            this.DataContext = _vm;

            LoadingPopup ovr = new LoadingPopup();

            loadingGrid.Visibility = System.Windows.Visibility.Collapsed;
            loadingGrid.Children.Add(ovr);

            App.IsAppEnabled();
        }
コード例 #6
0
        public GameManagerView()
        {
            try
            {
                InitializeComponent();

                LoadingPopup ovr = new LoadingPopup();
                loadingGrid.Visibility = System.Windows.Visibility.Collapsed;
                loadingGrid.Children.Add(ovr);

                PhoneApplicationService.Current.Deactivated += Current_Deactivated;
            }
            catch (Exception ex)
            {
            }
        }