Пример #1
0
        private void comboBoxConnectionSource_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.comboBoxWorkflows.Items.Clear();
            if (comboBoxConnectionSource.SelectedItem == null)
            {
                return;
            }
            List <MSCRMWorkflow> workflows = man.ReadWorkflows(comboBoxConnectionSource.SelectedItem.ToString());

            this.Workflows = workflows;
            foreach (MSCRMWorkflow workflow in workflows)
            {
                this.comboBoxWorkflows.Items.AddRange(new object[] { workflow.Name });
            }
        }