Esempio n. 1
0
        public Form1()
        {
            searchExtra = false;
            advSearch = new Form2();
            logIn = new Form3();
            movie = new Form4();
            InitializeComponent();
            tableLayoutPanel4.Hide();

            GetMovies();
            GetUsers();
            SetUpRecentMovies();
        }
Esempio n. 2
0
 private void logButton_Click(object sender, EventArgs e)
 {
     logIn = new Form3();
     logIn.Show();
 }
Esempio n. 3
0
 public Form4()
 {
     logIn = new Form3();
     InitializeComponent();
 }
Esempio n. 4
0
        private void logBtn_Click(object sender, EventArgs e)
        {
            logIn = new Form3(Users);
            //logIn.Show();
            var dialogResult = logIn.ShowDialog();
            if (dialogResult != System.Windows.Forms.DialogResult.Cancel)
            {
                currentUser = logIn.SelectedUser;

                if(logIn.UserRegistered == true) //if we have a new user/users registered
                Users = logIn.GetModifiedUserList;
            }
        }