Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
         }
     }
 }
Exemplo n.º 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);
         }
     }
 }
Exemplo n.º 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);
         }
     }
 }
Exemplo n.º 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);
         }
     }
 }
Exemplo n.º 6
0
 private void crmGridView1_RecordClick(object sender, CRMRecordEventArgs e)
 {
     SetPropertySelectedObject(radioCRMGridViewShowProps, propCRMGridView, CrmGridView, e.Entity);
     cdsDataTextBox.Entity = e.Entity;
 }
Exemplo n.º 7
0
 private void CrmGridViewDesignedCols_RecordClick(object sender, CRMRecordEventArgs e)
 {
     cdsDataTextBox.Entity = e.Entity;
 }
 private void crmGridView_RecordDoubleClick(object sender, CRMRecordEventArgs e)
 {
     OpenLogRecord();
 }