internal EditConditionForm(IServiceUI parentEditor, ServiceEntity serviceHandler) { InitializeComponent(); _editor = parentEditor; this._editor.EditVarForm.Completed += new EventHandler(EditVarForm_Completed); this._service = serviceHandler; }
internal EditFieldForm(IServiceUI editor, ServiceAction action, Field field, ServiceEntity service) { InitializeComponent(); _action = action; _field = field; _service = service; _editor = editor; }
internal EditConditionForm(IServiceUI parentEditor, ServiceEntity serviceHandler, Condition condition) { InitializeComponent(); // TODO: Complete member initialization this._service = serviceHandler; this._condition = condition; _editor = parentEditor; this._editor.EditVarForm.Completed += new EventHandler(EditVarForm_Completed); this._service = serviceHandler; }
protected override void OnInitialEditor() { XmlElement definition = ServiceDAL.GetServiceDefinition(_serviceNode.ContractName, _serviceNode.PackageName, _serviceNode.ServiceName); //ServiceEditor service = new ServiceEditor(source, this); //base._editorInstance = service; XmlHelper h = new XmlHelper(definition); string action = h.GetText("Action"); _ui = ServiceFactory.CreateServiceUI(action); string serviceFullName = string.Join(".", _serviceNode.PackageName, _serviceNode.ServiceName); _ui.Initialize(serviceFullName, definition); base.OnEditorChanged(_ui.Editor); _ui.DataChanged += new EventHandler(table_DataChanged); _ui.ChangeRecovered += new EventHandler(table_ChangeRecovered); }