private void btnFieldCalculator_Click(object sender, RoutedEventArgs e)
 {
     if (m_FieldCalculatorDlg == null)
     {
         FieldCalculatorDlg f = new FieldCalculatorDlg();
         f.Show();
     }
 }
Exemplo n.º 2
0
 private void btnFieldCalculator_Click(object sender, RoutedEventArgs e)
 {
     if (this.cboLayer.SelectedIndex >= 0)
     {
         FieldCalculatorDlg f = new FieldCalculatorDlg(m_FealyrList[this.cboLayer.SelectedIndex] as IFeatureLayer);
         if (f.ShowDialog() == true)
         {
             LayerDataTable = (m_FealyrList[this.cboLayer.SelectedIndex] as FeatureLayer).FeatureSet.DataTable;
         }
     }
 }