private void BackToChooseSeatButton_Click_1(object sender, EventArgs e) { choose_seat = new ChooseSeat(_parent.GetLoginId(), showtime_page.Get_SchNo()); panel2.Controls.Add(choose_seat); choose_seat.BringToFront(); choose_seat.Dock = DockStyle.None; ChooseSeatPageButton.Visible = false; PaymentPageButton.Visible = true; BackToSelcetTimeButton.Visible = true; BackToChooseSeatButton.Visible = false; }
private void ChooseSeatPageButton_Click_1(object sender, EventArgs e) { if (showtime_page.Get_SchNo() == null) { MessageBox.Show("상영일자 혹은 상영시간이 선택되지 않았습니다."); } else { choose_seat = new ChooseSeat(_parent.GetLoginId(), showtime_page.Get_SchNo()); panel2.Controls.Add(choose_seat); choose_seat.BringToFront(); choose_seat.Dock = DockStyle.None; ChooseSeatPageButton.Visible = false; PaymentPageButton.Visible = true; BackToSelcetTimeButton.Visible = true; BackToChooseSeatButton.Visible = false; } }