private void PracticeProblem_Click(object sender, EventArgs e) { SelectionOfQuiz selectionOfQuiz = new SelectionOfQuiz(this); //버튼을 클릭하면 3번화면이 나오게됨. this.Visible = false; selectionOfQuiz.Visible = true; selectionOfQuiz.Show(); MainTitle mainTitle = this; //mainTitle.Close(); //selectionOfQuiz.Location = new Point(100, 100); /*Controls.Add(selectionOfQuiz);//유저컨트롤 추가하는부분 * Controls.Remove(selectionOfQuiz);//유저컨트롤 제거하는 부분.*/ QuizSelection quizSelection = new QuizSelection(); //버튼을 클릭하면 3번화면이 나오게됨. quizSelection.Show(); //model SelectionOfQuiz selectionOfQuiz = new SelectionOfQuiz(); //버튼을 클릭하면 3번화면이 나오게됨. selectionOfQuiz.Show(); //model this.Hide(); }
private void MainTitleReturnButton_Click(object sender, EventArgs e) { //MainTitle mt = new MainTitle(); //뒤로가기 버튼을 누르게 되면 최초의 화면이 나오게 됨. /*this.Visible = false; * mt.Visible = true;*/ _mt.Visible = true; _mt.Location = new Point(100, 100); this.Visible = false; MainTitle mt = new MainTitle(); //뒤로가기 버튼을 누르게 되면 최초의 화면이 나오게 됨. mt.Show(); }
public QuizSelection() { _mt = mainForm; InitializeComponent(); }
public SelectionOfQuiz(MainTitle mainForm)
public NewAccountCreate(MainTitle mainForm) { _mt = mainForm; InitializeComponent(); this.Location = new Point(100, 100); }
public TestSelection(MainTitle mainForm) { _mt = mainForm; InitializeComponent(); }