예제 #1
0
        public static void ShowStatistics(Window owner, string statistics)
        {
            FlowDocumentWindow window = new FlowDocumentWindow
            {
                Owner      = owner,
                Statistics = statistics
            };

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

            FlowDocumentWindow.ShowStatistics(this, statistics);
        }