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

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

            _parent = parent;
        }
Exemple #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;
        }
Exemple #3
0
 /*public static LoginCust Instance
  * {
  *  get
  *  {
  *      if (_instance == null)
  *      {
  *          _instance = new LoginCust();
  *      }
  *      return _instance;
  *  }
  * }*/
 public LoginCust(CinemaProgram parent)
 {
     InitializeComponent();
     _parent = parent;
 }
Exemple #4
0
 public MyPage(CinemaProgram parent)
 {
     InitializeComponent();
     _parent = parent;
     Console.WriteLine(_parent.GetLoginId());
 }
Exemple #5
0
 public void SetParent(CinemaProgram parent)
 {
     _parent = parent;
 }