private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AddHeaderForm addHeaderForm = new AddHeaderForm(this, null, null, -1);

            addHeaderForm.ShowDialog();
            saveConfig();
        }
예제 #2
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     try
     {
         String        fieldName     = HeaderListview.SelectedItems[0].SubItems[0].Text;
         String        fieldValue    = HeaderListview.SelectedItems[0].SubItems[1].Text;
         AddHeaderForm addHeaderForm = new AddHeaderForm(this, fieldName, fieldValue, HeaderListview.SelectedItems[0].Index);
         addHeaderForm.ShowDialog();
     }
     catch { }
 }