public void load_ticketPage(string cust_name, string cust_sid, string cust_tel, string cust_pw) { TicketingPage tp = new TicketingPage(this); mainPanel.Controls.Add(tp); tp.Dock = DockStyle.Fill; tp.BringToFront(); tp.SetCustNM(cust_name); tp.SetCustSid(cust_sid); tp.SetCustTel(cust_tel); tp.SetCustPw(cust_pw); }
public void Join_Cust() { if (GetLoginId() == String.Empty) { if (MessageBox.Show("비회원으로 예매 하시겠습니까?", "", MessageBoxButtons.YesNo) == DialogResult.Yes) { JoinCust jc = new JoinCust(this); mainPanel.Controls.Add(jc); jc.Dock = DockStyle.Fill; jc.BringToFront(); } else { MessageBox.Show("회원으로 로그인 해주세요!"); } } else { TicketingPage tp = new TicketingPage(this); mainPanel.Controls.Add(tp); tp.Dock = DockStyle.Fill; tp.BringToFront(); } }