예제 #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAlterApplication faa = new frmAlterApplication(applicationInfo);
         faa.GetEditState();
         if (faa.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
 }
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (applicationInfo.TransNo != null)
     {
         frmAlterApplication faa = new frmAlterApplication(applicationInfo);
         faa.GetEditState();
         if (faa.ShowDialog() == DialogResult.OK)
         {
             this.GetApplicationDetail();
         }
     }
     else
     {
         MessageBox.Show("请选择一行记录", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }