public ActionEditorFormControl(ActionEditorControl actionEditor, ActionDataBase actionDataBase, Fields fields)
 {
     _fields                 = fields;
     _connection             = actionDataBase.Connection;
     _formControls           = new List <ActionEditorFormControlBase>();
     _actionEditorControl    = actionEditor;
     _actionEditorFormValues = new ActionEditorFormValues(actionEditor);
 }
Example #2
0
        protected override void CreateChildControls()
        {
            Debug.WriteLine("ActionEdior: CreateChildControls - ReadConfig + ToolBar " + Title);

            try
            {
                // The errorbox control
                _actionEditorError = new SPSErrorBoxControl
                {
                    ShowExtendedErrors = _showExtendedErrors,
                    ConfigErrors       = Config.Errors
                };
                Controls.Add(_actionEditorError);

                // Create the form
                _actionEditorControl          = new ActionEditorControl(Config);
                _actionEditorControl.OnError += TrapSubsystemError;
                Controls.Add(_actionEditorControl);
            }
            catch (Exception ex)
            {
                TrapSubsystemError(this, new SPSErrorArgs("ActionEditor", "CreateChildControls", ex));
            }
        }
Example #3
0
 public ActionEditorFormValues(ActionEditorControl actionEditorControl)
 {
     _actionEditorControl = actionEditorControl;
 }