private void addCookieToolStripMenuItem_Click(object sender, EventArgs e) { if (NowEditMode == RuleEditMode.EditResponseRule) { MessageBox.Show("your are in Response Edit Mode ", "Stop"); return; } tabControl_Modific.SelectedIndex = 0; EditKeyVaule f = new EditKeyVaule(requestAddHeads.ListDataView, "Cookie", ": "); f.ShowDialog(); }
private void pictureBox_add_Click(object sender, EventArgs e) { if (IsKeyValue) { EditKeyVaule f = new EditKeyVaule(lv_dataList, true, IsItemUnique, SplitStr); f.ShowDialog(); } else { RemoveHead f = new RemoveHead(lv_dataList, true, IsItemUnique); f.ShowDialog(); } }
private void lv_dataList_DoubleClick(object sender, EventArgs e) { if (lv_dataList.SelectedItems.Count > 0) { if (IsKeyValue) { EditKeyVaule f = new EditKeyVaule(lv_dataList, false, IsItemUnique, SplitStr); f.ShowDialog(); } else { RemoveHead f = new RemoveHead(lv_dataList, IsItemUnique, false); f.ShowDialog(); } } }