Пример #1
0
        private void crmGridView1_RecordClick(object sender, CRMRecordEventArgs e)
        {
            var entity = e.Entity;
            var value  = e.Value;

            if (entity != null)
            {
                MessageBox.Show("Entity: " + entity.Id + "\nValue: " + value);
            }
        }
Пример #2
0
 private void crmGridView1_RecordDoubleClick(object sender, CRMRecordEventArgs e)
 {
     if (e.Entity != null)
     {
         string url = GetEntityUrl(e.Entity);
         if (!string.IsNullOrEmpty(url))
         {
             form.LogUse("OpenRecord");
             Process.Start(url);
         }
     }
 }
Пример #3
0
 private void crmGridView1_RecordClick(object sender, CRMRecordEventArgs e)
 {
     if (e.Value is EntityReference)
     {
         string url = GetEntityReferenceUrl(e.Value as EntityReference);
         if (!string.IsNullOrEmpty(url))
         {
             form.LogUse("OpenParentRecord");
             Process.Start(url);
         }
     }
 }
Пример #4
0
 private void crmGridView1_RecordDoubleClick(object sender, CRMRecordEventArgs e)
 {
     if (e.Entity != null)
     {
         var url = form.ConnectionDetail.GetEntityUrl(e.Entity);
         if (!string.IsNullOrEmpty(url))
         {
             form.LogUse("OpenRecord");
             FetchXmlBuilder.OpenURL(url);
         }
     }
 }
Пример #5
0
 private void crmGridView1_RecordClick(object sender, CRMRecordEventArgs e)
 {
     if (e.Value is EntityReference)
     {
         string url = form.ConnectionDetail.GetEntityReferenceUrl(e.Value as EntityReference);
         if (!string.IsNullOrEmpty(url))
         {
             form.LogUse("OpenParentRecord");
             FetchXmlBuilder.OpenURL(url);
         }
     }
 }
Пример #6
0
 private void crmGridView1_RecordClick(object sender, CRMRecordEventArgs e)
 {
     SetPropertySelectedObject(radioCRMGridViewShowProps, propCRMGridView, CrmGridView, e.Entity);
     cdsDataTextBox.Entity = e.Entity;
 }
Пример #7
0
 private void CrmGridViewDesignedCols_RecordClick(object sender, CRMRecordEventArgs e)
 {
     cdsDataTextBox.Entity = e.Entity;
 }
 private void crmGridView_RecordDoubleClick(object sender, CRMRecordEventArgs e)
 {
     OpenLogRecord();
 }