private void HandleRevertHgrcFiles(object sender, EventArgs e) { using (var revertHgrcDialog = new RevertHgrcProjectFolderForm()) { var result = revertHgrcDialog.ShowDialog(this); if (result == DialogResult.OK) { foreach (var folder in revertHgrcDialog.CheckedProjects) { DowngradeHgrcForFolder(folder, revertHgrcDialog.HgVersion); } } } }
private void HandleRevertHgrcFiles(object sender, EventArgs e) { using(var revertHgrcDialog = new RevertHgrcProjectFolderForm()) { var result = revertHgrcDialog.ShowDialog(this); if(result == DialogResult.OK) { foreach(var folder in revertHgrcDialog.CheckedProjects) { DowngradeHgrcForFolder(folder, revertHgrcDialog.HgVersion); } } } }