/// <summary> /// Scan the file system and find Git repositories to add to the workspace /// </summary> private void MenuScanRepoClick(object sender, EventArgs e) { FormNewRepoScan formScan = new FormNewRepoScan(); if (formScan.ShowDialog() == DialogResult.OK) { List <string> dirs = formScan.GetList(); if (dirs.Count > 0) { FormNewRepoScanAdd formAdd = new FormNewRepoScanAdd(dirs); formAdd.ShowDialog(); App.DoRefresh(); } } }
/// <summary> /// Scan the file system and find Git repositories to add to the workspace /// </summary> private void MenuScanRepoClick(object sender, EventArgs e) { FormNewRepoScan formScan = new FormNewRepoScan(); if (formScan.ShowDialog() == DialogResult.OK) { List<string> dirs = formScan.GetList(); if (dirs.Count > 0) { FormNewRepoScanAdd formAdd = new FormNewRepoScanAdd(dirs); formAdd.ShowDialog(); App.DoRefresh(); } } }