예제 #1
0
 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);
             }
         }
     }
 }
예제 #2
0
		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);
					}
				}
			}
		}