Example #1
0
 public TempAttributeViewer(MSCFeatureClass fc, ObjectIdCollection ids)
 {
     this._FC = fc;
     if (ids != null)
     {
         this._FieldData = fc.GetDataTable(ids);
     }
     else
     {
         this._FieldData = fc.GetDataTable();
     }
     this.InitializeComponent();
     this.dgTable.ItemsSource       = this._FieldData.DefaultView;
     this.dgTable.FrozenColumnCount = this._FieldData.Columns.Count;
     this.dgTable.CanUserAddRows    = false;
 }
Example #2
0
 public TempAttributeViewer(MSCFeatureClass fc)
 {
     this._FC        = fc;
     this._FieldData = fc.GetDataTable();
     this.InitializeComponent();
     this.dgTable.ItemsSource       = this._FieldData.DefaultView;
     this.dgTable.FrozenColumnCount = this._FieldData.Columns.Count;
     this.dgTable.CanUserAddRows    = false;
 }
 private void updateDataTable(MSCFeatureClass fc)
 {
     this.dataTable = fc.GetDataTable();
 }