Ejemplo n.º 1
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;
         }
     }
 }
Ejemplo n.º 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;
				}
			}
		}