Beispiel #1
0
 private void ShowProgressWindow()
 {
     _procesWindow = new SvnProcess();
     _procesWindow.IsAllowClose = false;
     _procesVM           = _procesWindow.DataContext as ProcessViewModel;
     _procesWindow.Owner = Application.Current.MainWindow;
     _procesWindow.ShowDialog();
 }
Beispiel #2
0
 private void ReShowProgressWindow()
 {
     if (!_procesWindow.IsVisible)
     {
         string sLastContent = _busyIndicator.Content;
         sLastContent = sLastContent.Substring(0, sLastContent.LastIndexOf("...") - 1);
         int dLastProcess = _busyIndicator.Progress;
         _procesWindow = new SvnProcess();
         _procesWindow.IsAllowClose = true;
         _procesVM = _procesWindow.DataContext as ProcessViewModel;
         _procesVM.IsCloseEnable = true;
         _busyIndicator.Content  = sLastContent;
         _busyIndicator.Progress = dLastProcess;
         _procesWindow.Owner     = Application.Current.MainWindow;
         _procesWindow.Show();
     }
     else
     {
         _procesWindow.Activate();
     }
 }
Beispiel #3
0
        public void TestSvnProncessThrowsAnErrorWhenTheStandardErrorLogHasSomthingInIt()
        {
            var proc = new SvnProcess("-asdf", "netstat");

            proc.ExecuteCommand();
        }
Beispiel #4
0
 public void TestSvnProncessThrowsAnErrorWhenTheStandardErrorLogHasSomthingInIt()
 {
     var proc = new SvnProcess("-asdf", "netstat");
     proc.ExecuteCommand();
 }