Exemplo n.º 1
0
        private void EditSelectedRequestFields(IList <MappedProperty> requestProperties)
        {
            if (requestProperties != null && requestProperties.Count > 0)
            {
                using (EditInterfaceProperty form = new EditInterfaceProperty())
                {
                    form.Owner                = this;
                    form.IsRequestProperty    = true;
                    form.EditMappedProperties = requestProperties;
                    form.SessionProperties    = dialogService.GetUXSessionProperties(FrontendApplication);

                    if (form.ShowDialog() == DialogResult.OK)
                    {
                        if (searchableParameterUpdated == false)
                        {
                            if (form.SearchableParameterUpdated == true)
                            {
                                searchableParameterUpdated = true;
                            }
                        }

                        PopulateRequestList();
                    }
                }
            }
        }
Exemplo n.º 2
0
 private void EditSelectedResponseFields(IList <MappedProperty> responseProperties)
 {
     if (responseProperties != null && responseProperties.Count > 0)
     {
         using (EditInterfaceProperty form = new EditInterfaceProperty())
         {
             form.Owner                = this;
             form.IsRequestProperty    = false;
             form.EditMappedProperties = responseProperties;
             form.SessionProperties    = dialogService.GetUXSessionProperties(FrontendApplication);
             form.IsEditable           = this.IsEditable;
             if (form.ShowDialog() == DialogResult.OK)
             {
                 PopulateResponseList();
             }
         }
     }
 }