private void backButton_Click(object sender, EventArgs e)
        {
            Passenger_Module pm = new Passenger_Module();

            pm.Show();
            this.Hide();
        }
 private void enterButton_Click(object sender, EventArgs e)
 {
     try
     {
         // open the connection string
         con.Open();
         SqlDataAdapter sda = new SqlDataAdapter("SELECT COUNT(*) from passenger_signup where pEmail='" + passengerEmailBox.Text + "' and pPassword='******'", con);
         DataTable      dt  = new DataTable();
         sda.Fill(dt);
         if (dt.Rows[0][0].ToString() == "1")
         {
             MessageBox.Show("Login Successfully ");
             Passenger_Module pm = new Passenger_Module();
             pm.Show();
             this.Hide();
         }
         else
         {
             MessageBox.Show("Your Login Email or Password is incorrect !..");
         }
         con.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }