private void dgvVisit_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         visitHostel = (VisitHostel)dgvVisit.Rows[e.RowIndex].DataBoundItem;
         FillPanel();
         HostelRoom.Clear();
         FillRoom();
     }
 }
 private void bAddVisit_Click(object sender, EventArgs e)
 {
     visitHostel = new VisitHostel();
     dgvVisit.ClearSelection();
     visitHostel.dateVisitHostel  = DateTime.Now.Date;
     visitHostel.causeVisitHostel = "";
     visitHostel.idJournal        = JournalForm.Journal.idJournal;
     FillPanel();
     HostelRoom.Clear();
     FillRoom();
 }