// Methods
 public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
 {
     if (((context == null) || (context.Instance == null)) || (provider == null))
     {
         return base.EditValue(context, provider, value);
     }
     IWindowsFormsEditorService service = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService;
     if (service != null)
     {
         ServersManagerForm dialog = new ServersManagerForm();
         dialog.Init(context.Instance as EsunnyProvider);
         service.ShowDialog(dialog);
     }
     return value;
 }
        // Methods
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            if (((context == null) || (context.Instance == null)) || (provider == null))
            {
                return(base.EditValue(context, provider, value));
            }
            IWindowsFormsEditorService service = provider.GetService(typeof(IWindowsFormsEditorService)) as IWindowsFormsEditorService;

            if (service != null)
            {
                ServersManagerForm dialog = new ServersManagerForm();
                dialog.Init(context.Instance as EsunnyProvider);
                service.ShowDialog(dialog);
            }
            return(value);
        }