Exemplo n.º 1
0
        public static void ShowStatistics(Window owner, string statistics)
        {
            FlowDocumentWindow window = new FlowDocumentWindow
            {
                Owner      = owner,
                Statistics = statistics
            };

            window.ShowDialog();
        }
Exemplo n.º 2
0
        private void CalculateTopGoalScorersClick(object sender, RoutedEventArgs e)
        {
            string statistics = Score.CalculateTopGoalScorers();

            FlowDocumentWindow.ShowStatistics(this, statistics);
        }