예제 #1
0
파일: Lazy.cs 프로젝트: silvath/lazy
 public void AddGit()
 {
     if (this.Solution == null)
     {
         return;
     }
     GitService.UpdateStatus(this.Solution, true);
     if (!this.Solution.HasChangesNotStaged)
     {
         MessageBox.ErrorQuery(50, 7, "Add", "There is no files to add", "Ok");
         return;
     }
     WindowManager.ShowLog();
     GitService.Add(this.Solution);
     GitService.UpdateStatus(this.Solution, true);
     WindowManager.CloseLog();
     this.RefreshUI();
 }