private void editShip() { ShipData sd = new ShipData(this.ship); sd.frm1 = this; if (sd.ShowDialog(this) == DialogResult.OK) { showShip(Properties.Settings.Default.ShipDataFile); } }
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); } }