private void btnEditSchema_Click(object sender, EventArgs e)
 {
     CustomPropertySchemaEditor schemaEditor = new CustomPropertySchemaEditor(_schema);
     schemaEditor.ShowDialog();
     schemaEditor.Dispose();
     propertyGrid.SelectedObject = new CustomPropertyBag(_schema, _properties, _showPropertiesThatApplyTo);
 }
示例#2
0
        private void btnEditSchema_Click(object sender, EventArgs e)
        {
            CustomPropertySchemaEditor schemaEditor = new CustomPropertySchemaEditor(_schema);

            schemaEditor.ShowDialog();
            schemaEditor.Dispose();
            propertyGrid.SelectedObject = new CustomPropertyBag(_schema, _properties, _showPropertiesThatApplyTo);
        }