Пример #1
0
 private void DabaoItem_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
 {            
     if (grid.GetFocusedRow() != null)
     {
         string m_dl = grid.GetFocusedRowCellValue(sDamagedPhoneNo).ToString().Trim();
         QLThuebaoDomainContext db = new QLThuebaoDomainContext();
         InvokeOperation<System.Nullable<int>> p = db.Excute_p_Dathongbao_119(m_dl);
         p.Completed += new EventHandler(GetData);          
     }
     else
         MessageBox.Show("Chưa chọn số !");
 }