private void button5_Click(object sender, EventArgs e) { if (gamename == "섯다") { sutda sut = new sutda(this); sut.Show(); this.Visible = false; pictureBox1.Image = Properties.Resources.제목_없음; gamename = ""; } else if (gamename == "스도쿠") { sudoku sudo = new sudoku(this); sudo.Show(); this.Visible = false; pictureBox1.Image = Properties.Resources.제목_없음; gamename = ""; } else if (gamename == "사천성") { FrmMain s = new FrmMain(); s.Show(); this.Visible = false; pictureBox1.Image = Properties.Resources.제목_없음; gamename = ""; } else if (gamename == "벽돌") { wall wal = new wall(this); wal.Show(); this.Visible = false; pictureBox1.Image = Properties.Resources.제목_없음; gamename = ""; } }
public sutdaset(sutda sut)//setting폼 생성 { InitializeComponent(); this.sut = sut; }