private void FillControlsItems() { //_prefillItems = RestQueryApi.QueryPostJsonRaw("systemconfig", "prefill", "getfillitems", null, null).ToDynamicList(); _prefillItems = new dynamic[] {}; ComplexPrefillEditor.Properties.Items.Clear(); ComplexPrefillEditor.Properties.Items.AddRange(ActionHandlers.BuildImageComboBoxItems().ToList()); ComplexValidationErrorEditor.Properties.Items.Clear(); ComplexValidationErrorEditor.Properties.Items.AddRange(ValidationHandlers.BuildImageComboBoxItems().ToList()); ComplexValidationWarningEditor.Properties.Items.Clear(); ComplexValidationWarningEditor.Properties.Items.AddRange(ValidationHandlers.BuildImageComboBoxItems().ToList()); SimpleValidationWarningEditor.Properties.Items.Clear(); SimpleValidationWarningEditor.Properties.Items.AddRange(ValidationWarnings.BuildImageComboBoxItemsString().ToList()); SimpleValidationErrorEditor.Properties.Items.Clear(); SimpleValidationErrorEditor.Properties.Items.AddRange(ValidationErrors.BuildImageComboBoxItemsString().ToList()); DeletingDocumentValidationErrorEditor.Properties.Items.Clear(); DeletingDocumentValidationErrorEditor.Properties.Items.AddRange(ValidationHandlers.BuildImageComboBoxItems().ToList()); SuccessSaveEditor.Properties.Items.Clear(); SuccessSaveEditor.Properties.Items.AddRange(ActionHandlers.BuildImageComboBoxItems().ToList()); FailSaveEditor.Properties.Items.Clear(); FailSaveEditor.Properties.Items.AddRange(ActionHandlers.BuildImageComboBoxItems().ToList()); DeleteDocumentEditor.Properties.Items.Clear(); DeleteDocumentEditor.Properties.Items.AddRange(ActionHandlers.BuildImageComboBoxItems().ToList()); DefaultProcessCredentialsAction.Properties.Items.Clear(); DefaultProcessCredentialsAction.Properties.Items.AddRange(ActionHandlers.BuildImageComboBoxItems().ToList()); }