private void AS_Click(object sender, EventArgs e) { this.Hide(); ArrivalSummary arrivalSummary = new ArrivalSummary(users); arrivalSummary.Show(); }
private void arrival_button_Click(object sender, EventArgs e) { if (loggedIn.userTypeIdFK == 2) { this.Hide(); var form = new ConfirmArrival(loggedIn); form.Closed += (s, args) => this.Close(); form.Show(); } else { this.Hide(); var form = new ArrivalSummary(loggedIn); form.Closed += (s, args) => this.Close(); form.Show(); } }