///<summary> ///Raises the <see cref="E:System.Web.UI.Control.Init" /> event. ///</summary> /// ///<param name="e">An <see cref="T:System.EventArgs" /> object that contains the event data. </param> protected override void OnInit(EventArgs e) { base.OnInit(e); _actionDataBase = new ActionDataBase(_config); _actionDataBase.OnError += OnError; _actionDataBase.InitializeConnection(); }
public ActionEditorFormControl(ActionEditorControl actionEditor, ActionDataBase actionDataBase, Fields fields) { _fields = fields; _connection = actionDataBase.Connection; _formControls = new List <ActionEditorFormControlBase>(); _actionEditorControl = actionEditor; _actionEditorFormValues = new ActionEditorFormValues(actionEditor); }