示例#1
0
 private void editShip()
 {
     ShipData sd = new ShipData(this.ship);
     sd.frm1 = this;
     if (sd.ShowDialog(this) == DialogResult.OK)
     {
         showShip(Properties.Settings.Default.ShipDataFile);
     }
 }
示例#2
0
 private void createNewShipDataFileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ShipData sd = new ShipData();
     sd.frm1 = this;
     if (sd.ShowDialog(this) == DialogResult.OK)
     {
         showShip(Properties.Settings.Default.ShipDataFile);
     }
 }