コード例 #1
0
ファイル: frmAttributeTable.cs プロジェクト: sishui198/SAAR
 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;
     }
 }
コード例 #2
0
ファイル: frmAttributeTable.cs プロジェクト: sishui198/SAAR
 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;
     }
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: sishui198/SAAR
        private void deleteFieldsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmDeleteField pfrmDelField = new frmDeleteField();

            pfrmDelField.Show();
        }