private void ReposLV_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { CloneRepoFRM CloneRepo = new CloneRepoFRM(ManagerData.Selected_Repo.Path); CloneRepo.ShowDialog(); } }
private void CloneRepoBT_Click(object sender, EventArgs e) { try { CloneRepoFRM CloneRepo = new CloneRepoFRM(ManagerData.Selected_Repo.Path); CloneRepo.ShowDialog(); } catch { } }