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

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

            FlowDocumentWindow.ShowStatistics(this, statistics);
        }