示例#1
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     try
     {
         String    keyword      = ConfigListView.SelectedItems[0].SubItems[1].Text;
         String    code         = ConfigListView.SelectedItems[0].SubItems[2].Text;
         String    callPageCode = ConfigListView.SelectedItems[0].SubItems[3].Text;
         AddConfig addConfig    = new AddConfig(this, keyword, code, callPageCode, ConfigListView.SelectedItems[0].Index);
         addConfig.ShowDialog();
     }
     catch { }
 }
示例#2
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AddConfig addConfig = new AddConfig(this, null, null, null, -1);

            addConfig.ShowDialog();
        }