//close
 private void bunifuThinButton22_Click(object sender, EventArgs e)
 {
     this.Close();
     if (previousPage != null)
     {
         previousPage.Show();
     }
     else if (previousPageAdmin != null)
     {
         previousPageAdmin.Show();
     }
 }
 //ongoing repairs double click
 private void bunifu_DGV_ongoingRepairs_DoubleClick(object sender, EventArgs e)
 {
     if (bunifu_DGV_ongoingRepairs.CurrentRow.Index != -1)
     {
         job jb = new job();
         jb.jobID = Convert.ToInt32(bunifu_DGV_ongoingRepairs.CurrentRow.Cells["jobID"].Value);
         using (sunilGarageDBEntities db = new sunilGarageDBEntities())
         {
             jb = db.jobs.Where(x => x.jobID == jb.jobID).FirstOrDefault();
             jobDetailsForAdmin jdfa = new jobDetailsForAdmin(jb);
             jdfa.Show();
         }
     }
 }