private void btnStaffLogin_Click(object sender, EventArgs e)
        {
            frmStaffLogin frmStaff = new frmStaffLogin(this);

            frmStaff.Show();
            this.Visible = false;
        }
 public frmStaffUI(frmStaffLogin prev)
 {
     InitializeComponent();
     this.lsbJourneys.DataSource   = formatData(SetOfJourneys.Instance.getAllJourneys());
     this.cboLineFilter.DataSource = RailMap.Instance.getLineNames();
     this.lblPassengers.Text      += this.lsbJourneys.Items.Count;
     this.prevForm = prev;
 }