Exemplo n.º 1
0
 private void lstStrings_DoubleClick(object sender, EventArgs e)
 {
     if (lstStrings.SelectedIndex != null)
     {
         if (gFrmMain != null)
         {
             gFrmMain.redrawText(gStringLocations[lstStrings.SelectedIndex]);
             gFrmMain.JumpAndRedraw(gStringLocations[lstStrings.SelectedIndex]);
         }
     }
 }
Exemplo n.º 2
0
 private void lstBoxLocations_DoubleClick(object sender, EventArgs e)
 {
     if (lstBoxLocations.SelectedIndex != null)
     {
         if (gFrmMain != null)
         {
             Console.WriteLine("bingo " + lstBoxLocations.SelectedIndex.ToString());
             gFrmMain.redrawText(mapMarker[lstBoxLocations.SelectedIndex].start);
             gFrmMain.JumpAndRedraw(mapMarker[lstBoxLocations.SelectedIndex].start);
         }
     }
     else
     {
         Console.WriteLine("null selected index");
     }
 }