internal EditConditionForm(IServiceUI parentEditor, ServiceEntity serviceHandler)
 {
     InitializeComponent();
     _editor = parentEditor;
     this._editor.EditVarForm.Completed += new EventHandler(EditVarForm_Completed);
     this._service = serviceHandler;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 4
0
        public static void AddService(string contractName, string packageName, ServiceEntity service)
        {
            XmlHelper req = new XmlHelper();
            req.AddElement(".", "ContractName", contractName);
            req.AddElement(".", "PackageName", packageName);
            req.AddElement(".", service.GetServiceXml());
         
            MainForm.CurrentProject.SendRequest("UDSManagerService.CreateService", new Envelope(req));

        }
 internal void AddService(ServiceEntity sh)
 {
     ServiceDAL.AddService(this.Contract.Name, this.Name, sh);
     LoadServices();
 }
 internal EditVariableForm(ServiceEntity service)
 {
     InitializeComponent();
     _service = service;
 }