Exemple #1
0
        private void PerformanceUriButton_Click(object sender, RoutedEventArgs e)
        {
            ClearMainView();

            var helper = new PerformanceHelper();

            helper.CountUriConstructions(new TimeSpan(0, 0, 5));

            var control = new PerformanceControl();

            control.DataContext = helper;
            this.MainView.Children.Add(control);
        }