Ejemplo n.º 1
0
 private void deleteFieldToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         frmDeleteField pfrmDelField = new frmDeleteField();
         pfrmDelField.cboLayer.Text = m_pLayer.Name;
         pfrmDelField.intHandle     = this.Handle;
         pfrmDelField.Show();
     }
     catch (Exception ex)
     {
         frmErrorLog pfrmErrorLog = new frmErrorLog(); pfrmErrorLog.ex = ex; pfrmErrorLog.ShowDialog();
         return;
     }
 }
Ejemplo n.º 2
0
 private void deleteFieldToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     try
     {
         frmDeleteField pfrmDelField = new frmDeleteField();
         pfrmDelField.cboLayer.Text = m_pLayer.Name;
         for (int i = 0; i < pfrmDelField.clistFields.Items.Count; i++)
         {
             if (pfrmDelField.clistFields.Items[i].ToString() == m_strFldName)
             {
                 pfrmDelField.clistFields.SetItemChecked(i, true);
             }
         }
         pfrmDelField.intHandle = this.Handle;
         pfrmDelField.Show();
     }
     catch (Exception ex)
     {
         frmErrorLog pfrmErrorLog = new frmErrorLog(); pfrmErrorLog.ex = ex; pfrmErrorLog.ShowDialog();
         return;
     }
 }
Ejemplo n.º 3
0
        private void deleteFieldsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDeleteField pfrmDelField = new frmDeleteField();

            pfrmDelField.Show();
        }