示例#1
0
 private void dtgSecuritySubjects_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e)
 {
     if (e.AddedItems != null && e.AddedItems.Count > 0)
     {
         var SecuritySubjectDTO = e.AddedItems[0] as SecuritySubjectDTO;
         if (SecuritySubjectDTO != null)
         {
             SecuritySubjectSelectedArg arg = new SecuritySubjectSelectedArg();
             arg.SecuritySubjectID = SecuritySubjectDTO.ID;
             if (SecuritySubjectSelected != null)
             {
                 SecuritySubjectSelected(this, arg);
             }
         }
     }
 }
 private void FrmSecuritySubjectSelect_SecuritySubjectSelected(object sender, SecuritySubjectSelectedArg e)
 {
     SecuritySubjectID = e.SecuritySubjectID;
     GetMessage();
 }