private void Event_ShowBriefcaseQuestionnaire(int QId, int vetid)
        {
            int qid = QId;

            if (qid == -1)
            {
                if (this.dataGridViewQuestionnaires.SelectedRows.Count == 1)
                {
                    DataGridViewRow dgvr = this.dataGridViewQuestionnaires.SelectedRows[0];
                    DataRowView     drv  = dgvr.DataBoundItem as DataRowView;

                    qid = (int)drv["qid"];
                }
                else
                {
                    return;
                }
            }

            WindowsFormsApplication1.FormQuestionnaire frmq = new FormQuestionnaire();
            frmq.FormClosed += new FormClosedEventHandler(FormQuestionnaire__FormClosed);
            object title = null, author = null, adate = DateTime.MinValue, questions = null;

            if (vetid == -1 && !Questionnaire.FillTableFromBriefcase(this.m_filepath, this.m_password, qid, frmq.attendance.Questionnaire, out title, out author, out adate, out questions))
            {
                MessageBox.Show("Failed to retrieve questionnaire");
                return;
            }

            frmq.QuestionnaireOrigin = WindowsFormsApplication1.FormQuestionnaire.BasicOrigin.Briefcase;
            frmq.QId = qid;
            frmq.BriefcaseFilenName = this.m_filepath;
            frmq.Title        = title;
            frmq.Author       = author;
            frmq.RegDate      = adate;
            frmq.FilePassword = this.m_password;
            frmq.ViewerApp    = Questionnaire.ViewerApplication.Attendance;

            frmq.VetId = vetid;
            frmq.Show();
        }