Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void DeleteLineOnImage2Button_Click(object sender, EventArgs e)
- {
- if (listBox2.SelectedIndex == -1)
- return;
- int index = listBox2.SelectedIndex;
- lista2.RemoveAt(index);
- listBox2.Items.RemoveAt(index);
- pictureBox1.Image = originalImage2;
- ReDrawLines(lista2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement