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

            GetMovies();
            GetUsers();
            SetUpRecentMovies();
        }
Exemplo n.º 2
0
 private void logButton_Click(object sender, EventArgs e)
 {
     logIn = new Form3();
     logIn.Show();
 }
Exemplo n.º 3
0
 public Form4()
 {
     logIn = new Form3();
     InitializeComponent();
 }
Exemplo 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;
            }
        }