Exemplo n.º 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;
 }
Exemplo n.º 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);
        }