public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value)
        {
            //if (value.GetType() != typeof(ScriptCollection))
            //    return null;

            GridObject designer = new GridObject(value);
            designer.ShowDialog();
            designer.Dispose();

            return value;
        }