private void LoadSshKeyClick(object sender, EventArgs e) { if (string.IsNullOrEmpty(PuttySshKey.Text)) MessageBox.Show("No SSH key file entered"); else GitCommands.GitCommands.StartPageantWithKey(PuttySshKey.Text); }