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; } }
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; } }
private void deleteFieldsToolStripMenuItem_Click(object sender, EventArgs e) { frmDeleteField pfrmDelField = new frmDeleteField(); pfrmDelField.Show(); }