示例#1
0
 private void BindGridDialogs()
 {
     m_FetchingData = true;
     BPContext = new BrightPlatformEntities(UserSession.EntityConnection);
     BPContext.CommandTimeout = 0;
     var dialogQuery = BPContext.FIGetDialogs();
     gridControlDialog.DataSource = dialogQuery;
     m_FetchingData = false;
     gridSelection.ClearSelection();
     this.SetDefaultSelectedRow();
 }