Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }