private void btnGetEntities_Click(object sender, RoutedEventArgs e)
        {
            K2.Demo.CRM.Functions.CRMEntityList el = new Functions.CRMEntityList();

            cbEntities.ItemsSource = functions.CRMGetAllEntities(el).Entities;
        }
        private void btnGetEntities_Click(object sender, RoutedEventArgs e)
        {

            K2.Demo.CRM.Functions.CRMEntityList el = new Functions.CRMEntityList();

            cbEntities.ItemsSource = functions.CRMGetAllEntities(el).Entities;

        }