public override object EditValue(
     ITypeDescriptorContext context,
     IServiceProvider provider,
     object value
     )
 {
     VirtuosoDotNetDSNForm f = new VirtuosoDotNetDSNForm ("", (string) value);
     f.ShowDialog ();
     if (f.ConnectString != null)
     {
         value = f.ConnectString;
     }
     f.Close ();
     return value;
 }
Exemplo n.º 2
0
        public override object EditValue(
            ITypeDescriptorContext context,
            IServiceProvider provider,
            object value
            )
        {
            VirtuosoDotNetDSNForm f = new VirtuosoDotNetDSNForm("", (string)value);

            f.ShowDialog();
            if (f.ConnectString != null)
            {
                value = f.ConnectString;
            }
            f.Close();
            return(value);
        }