コード例 #1
0
        private void FormBriefcase_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'attendance.VIQInfo' table. You can move, or remove it, as needed.
            //this.vIQInfoTableAdapter.Fill(this.attendance.VIQInfo);
            if (this.m_filepath != "")
            {
                try
                {
                    Portable.LoadQuestionnaires(this.m_filepath, this.m_password, this.attendance.VIQInfo);
                    Portable.LoadAllVettingInfos(this.m_filepath, this.m_password, this.attendance.VettingInfo);
                }
                catch (Exception e2)
                {
                    MessageBox.Show(e2.Message);

                    this.Hide();
                    this.Dispose();
                }
            }
            this.Text = "Briefcase { " + this.m_filepath + " }";
        }
コード例 #2
0
 private void RefreshQuestionnaires()
 {
     this.attendance.VIQInfo.Clear();
     Portable.LoadQuestionnaires(this.m_filepath, this.m_password, this.attendance.VIQInfo);
 }