コード例 #1
0
ファイル: Screen.cs プロジェクト: pmbapo/Sharp
 public override int intWriteMenu()
 {
     string stringInput = "";
     FormStartGame CurrentForm = new FormStartGame();
     CurrentForm.ShowDialog();
     stringInput = CurrentForm.result;
     CurrentForm.Close();
     return Convert.ToInt32(stringInput);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: PeterKofoed/Sharp
 private void button1_Click(object sender, EventArgs e)
 {
     //FormSartGame.show();
     FormStartGame tmp = new FormStartGame();
     tmp.Show();
 }