private void LoadSSHKey_Click(object sender, EventArgs e) { var pathLoaded = BrowseForPrivateKey.BrowseAndLoad(this); if (!string.IsNullOrEmpty(pathLoaded)) { KeyPath = pathLoaded; DialogResult = DialogResult.Retry; Close(); } }
private void LoadSshKeyClick(object sender, EventArgs e) { BrowseForPrivateKey.BrowseAndLoad(this); }