private void TileAccessReport_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            FormAccessRep far = new FormAccessRep(this.GetId);

            far.Visible = true;
        }
 private void BtnAccessRep_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrWhiteSpace(this.txtPatId.Text))
     {
         this.Visible = false;
         this.PatId   = this.txtPatId.Text;
         FormAccessRep far = new FormAccessRep(this.GetId, this.PatId);
         far.Visible = true;
     }
     else
     {
         MessageBox.Show("Pleaes select Patient first from the list!");
     }
 }