//ちゃれんじもーどボタン 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; } }