コード例 #1
0
 private void frmAdmin_Load(object sender, EventArgs e)
 {
     try
     {
         DLL.AccountInfo(lblIDText, lblFirstNameText, lblLastNameText, lblAgeText, lblStateText, lblCityText, lblAddressText, lblZipText, lblGradText, lblWorkText, lblSalaryText, lblEducationText, lblStoryText, pbxPhoto);
         hlpAdmin.HelpNamespace = Application.StartupPath + "\\HelpFile.chm";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "An Unexpected Error Occured (Admin).", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return;
     }
 }