Ejemplo n.º 1
0
 public override void Run()
 {
     _attrPad      = WorkbenchSingleton.Workbench.GetPad(typeof(AttributesPad)).PadContent.Control as GIS.Common.Dialogs.Attributes;
     _featureLayer = _attrPad.GetLayer();
     if (_featureLayer == null)
     {
         MessageBox.Show("please add a attributes table");
         return;
     }
     renameField();
 }
Ejemplo n.º 2
0
 public override void Run()
 {
     _attrPad      = WorkbenchSingleton.Workbench.GetPad(typeof(AttributesPad)).PadContent.Control as GIS.Common.Dialogs.Attributes;
     _featureLayer = _attrPad.GetLayer();
     _dataGridView = _attrPad.GetDgv();
     if (_featureLayer == null || _dataGridView == null)
     {
         MessageBox.Show("please add a attribute table");
         return;
     }
     CreateNewColumn();
 }
Ejemplo n.º 3
0
        public override void Run()
        {
            DataTable    thisDgv          = _attributes.GetTable();
            DataGridView thisDataGridView = _attributes.GetDgv();
            FeatureLayer thisLayer        = _attributes.GetLayer();


            if (thisDgv != null && thisDataGridView != null && thisLayer != null)
            {
                SQLBulider filter = new SQLBulider(thisDgv, thisDataGridView, thisLayer);
                filter.ShowDialog();
            }
            else
            {
                MessageBox.Show("please add attribute table");
            }
        }