/// <summary>
 /// Shows a form to edit the selected region
 /// </summary>
 private void listViewRegions_DoubleClick(object sender, System.EventArgs e)
 {
     foreach (LanguageInfo.Region region in languageInfo.Regions)
     {
         if (region.Name == listViewRegions.SelectedItems[0].Text)
         {
             RegionForm form = new RegionForm();
             form.RegionInfo = region;
             form.ShowDialog();
             return;
         }
     }
 }
Example #2
0
		/// <summary>
		/// Shows a form to edit the selected region
		/// </summary>
		private void listViewRegions_DoubleClick(object sender, System.EventArgs e)
		{
			foreach (LanguageInfo.Region region in languageInfo.Regions)
			{
				if (region.Name==listViewRegions.SelectedItems[0].Text)
				{
					RegionForm form=new RegionForm();
					form.RegionInfo=region;
					form.ShowDialog();
					return;
				}
			}
		}