コード例 #1
0
 internal EditConditionForm(IServiceUI parentEditor, ServiceEntity serviceHandler)
 {
     InitializeComponent();
     _editor = parentEditor;
     this._editor.EditVarForm.Completed += new EventHandler(EditVarForm_Completed);
     this._service = serviceHandler;
 }
コード例 #2
0
 internal EditConditionForm(IServiceUI parentEditor, ServiceEntity serviceHandler)
 {
     InitializeComponent();
     _editor = parentEditor;
     this._editor.EditVarForm.Completed += new EventHandler(EditVarForm_Completed);
     this._service = serviceHandler;
 }
コード例 #3
0
 internal EditFieldForm(IServiceUI editor, ServiceAction action, Field field, ServiceEntity service)
 {
     InitializeComponent();
     _action  = action;
     _field   = field;
     _service = service;
     _editor  = editor;
 }
コード例 #4
0
 internal EditFieldForm(IServiceUI editor, ServiceAction action, Field field, ServiceEntity service)
 {
     InitializeComponent();
     _action = action;
     _field = field;
     _service = service;
     _editor = editor;
 }
コード例 #5
0
 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;
 }
コード例 #6
0
 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;
 }
コード例 #7
0
        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);
        }
コード例 #8
0
        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);
        }