Beispiel #1
0
 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;
 }
Beispiel #2
0
        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);
        }