예제 #1
0
파일: Form1.cs 프로젝트: MarkMpn/CRMWinForm
        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();
 }