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(); }