public Form1() { searchExtra = false; advSearch = new Form2(); logIn = new Form3(); movie = new Form4(); InitializeComponent(); tableLayoutPanel4.Hide(); GetMovies(); GetUsers(); SetUpRecentMovies(); }
private void logButton_Click(object sender, EventArgs e) { logIn = new Form3(); logIn.Show(); }
public Form4() { logIn = new Form3(); InitializeComponent(); }
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; } }