示例#1
0
 private void showSystemToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (cbWorlds.SelectedText.Length > 0)
     {
         Traveller.World dw = new Traveller.World(cbWorlds.SelectedText, ship.Version);
         DisplayWorld dispworld = new DisplayWorld(dw);
         dispworld.frm1 = this;
         dispworld.ShowDialog();
     }
 }
示例#2
0
 // show the system clicked
 private void lvJ6_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     string sec = lvJ6.SelectedItems[0].Text;
     Traveller.World dw = new Traveller.World(sec, ship.Version);
     DisplayWorld dispworld = new DisplayWorld(dw);
     dispworld.frm1 = this;
     dispworld.ShowDialog();
 }