public static OSGeo.FDO.Schema.FeatureSchema NewSchema() { SchemaInfoDialog dlg = new SchemaInfoDialog(); if (dlg.ShowDialog() == DialogResult.OK) { string name = dlg.txtName.Text; string desc = dlg.txtDescription.Text; return new OSGeo.FDO.Schema.FeatureSchema(name, desc); } return null; }
public static OSGeo.FDO.Schema.FeatureSchema NewSchema() { SchemaInfoDialog dlg = new SchemaInfoDialog(); if (dlg.ShowDialog() == DialogResult.OK) { string name = dlg.txtName.Text; string desc = dlg.txtDescription.Text; return(new OSGeo.FDO.Schema.FeatureSchema(name, desc)); } return(null); }