예제 #1
0
        private async Task ShowMatchAsync()
        {
            StoredMatch match = await Helper.GetMatchAsync(this.match.StoredMatchId);

            ShowMatch showMatch = new ShowMatch(match);
            await Task.Run(() => showMatch.Dispatcher.BeginInvoke(new Action(delegate
            {
                showMatch.Show();
            })));
        }
예제 #2
0
        private void btnTest_Click(object sender, RoutedEventArgs e)
        {
            ShowMatch show = new ShowMatch();

            show.Show();
        }