コード例 #1
0
ファイル: Form1.cs プロジェクト: momentum1993/Team_Projects
        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          = "";
            }
        }
コード例 #2
0
 public sutdaset(sutda sut)//setting폼 생성
 {
     InitializeComponent();
     this.sut = sut;
 }