public SelectMatchView()
        {
            InitializeComponent();

            _viewModel  = new SelectMatchViewModel(new Context(Dispatcher));
            DataContext = _viewModel;
        }
Beispiel #2
0
        public SelectMatchPage()
        {
            InitializeComponent();
            var selectMatchViewModel = SelectMatchViewModel.GetInstance();

            base.Appearing += (object sender, EventArgs e) =>
            {
                selectMatchViewModel.RefreshCommand.Execute(this);
            };
        }
        public SelectMatchPage()
        {
            try
            {
                InitializeComponent();

                var selectMatchViewModel = SelectMatchViewModel.GetInstance();
                base.Appearing += (object sender, System.EventArgs e) =>
                {
                    selectMatchViewModel.RefreshCommand.Execute(this);
                };
            }
            catch (System.Exception ex)
            {
                throw;
            }
        }