コード例 #1
0
ファイル: StartupForm.cs プロジェクト: nyteshade/FTLEdit
 private void button2_Click(object sender, EventArgs e)
 {
     SelectShipForm selectShipForm = new SelectShipForm();
     selectShipForm.LoadBlueprints(OptionsForm.dataPath + "\\data\\blueprints.xml");
     selectShipForm.Dispose();
     this.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.Close();
 }
コード例 #2
0
ファイル: StartupForm.cs プロジェクト: nyteshade/FTLEdit
 private void button5_Click(object sender, EventArgs e)
 {
     SelectShipForm selectShipForm = new SelectShipForm("modeb");
     if (selectShipForm.ShowDialog() != System.Windows.Forms.DialogResult.Cancel)
     {
         this.DialogResult = System.Windows.Forms.DialogResult.OK;
         this.Close();
     }
     return;
 }