Пример #1
0
        public LatestCommitSlide()
        {
            Title = "Latest commits";
            var configViewModel = new ConfigurationViewModel();
            SettingsView = new ConfigureVCS()
            {
                DataContext = configViewModel
            };

            var viewModel = new SourceControlViewModel();
            View = new LatestChangesView()
            {
                DataContext = viewModel
            };
        }
Пример #2
0
        public CommitActivitySlide()
        {
            Title = "Commit activity";
            View = new Grid()
            {
                DataContext = this
            };
            SettingsView = new ConfigureVCS()
            {
                DataContext = this
            };

            var t = new Thread(() =>
            {
                Thread.Sleep(5000);
                //ReportFailure("Version Control System is not configured...");
            });
            t.Start();
        }