//ちゃれんじもーどボタン private void challenge_button_Click_1(object sender, EventArgs e) { LearnSelect ls = new LearnSelect(); if (ls.screenflg != 3) { ls.screenflg = 3; ls.Show(); } else if (ls.screenflg == 3) { ls.WindowState = FormWindowState.Normal; } }
//ふくしゅうもーどボタン private void review_button_Click_1(object sender, EventArgs e) { LearnSelect ls = new LearnSelect(); if (ls.screenflg != 2) { ls.screenflg = 2; ls.Show(); } else if (ls.screenflg == 2) { ls.WindowState = FormWindowState.Normal; } }
//図鑑ボタン private void PictureBook_Click(object sender, EventArgs e) { LearnSelect ls = new LearnSelect(); PictureBook zukan = new PictureBook(); if (ls.screenflg != 4) { ls.screenflg = 4; zukan.Show(); } else if (ls.screenflg == 4) { zukan.WindowState = FormWindowState.Normal; } }