public override int intWriteMenu() { string stringInput = ""; FormStartGame CurrentForm = new FormStartGame(); CurrentForm.ShowDialog(); stringInput = CurrentForm.result; CurrentForm.Close(); return Convert.ToInt32(stringInput); }
private void button1_Click(object sender, EventArgs e) { //FormSartGame.show(); FormStartGame tmp = new FormStartGame(); tmp.Show(); }