Example #1
0
        public LoginPage(CinemaProgram parent)
        {
            InitializeComponent();

            Connect = new Connection();
            Connect.Connecting();

            _parent = parent;
        }
Example #2
0
        public TicketingPage(CinemaProgram parent)
        {
            InitializeComponent();
            _parent = parent;

            showtime_page = new SelectShowTime();
            panel2.Controls.Add(showtime_page);

            showtime_page.BringToFront();
            showtime_page.Dock             = DockStyle.None;
            PaymentPageButton.Visible      = false;
            ChooseSeatPageButton.Visible   = true;
            BackToChooseSeatButton.Visible = false;
            BackToSelcetTimeButton.Visible = false;
        }
Example #3
0
 /*public static LoginCust Instance
  * {
  *  get
  *  {
  *      if (_instance == null)
  *      {
  *          _instance = new LoginCust();
  *      }
  *      return _instance;
  *  }
  * }*/
 public LoginCust(CinemaProgram parent)
 {
     InitializeComponent();
     _parent = parent;
 }
Example #4
0
 public MyPage(CinemaProgram parent)
 {
     InitializeComponent();
     _parent = parent;
     Console.WriteLine(_parent.GetLoginId());
 }
Example #5
0
 public void SetParent(CinemaProgram parent)
 {
     _parent = parent;
 }