Advertisement
Guest User

Untitled

a guest
May 26th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. private void DeleteLineOnImage2Button_Click(object sender, EventArgs e)
  2. {
  3. if (listBox2.SelectedIndex == -1)
  4. return;
  5. int index = listBox2.SelectedIndex;
  6. lista2.RemoveAt(index);
  7. listBox2.Items.RemoveAt(index);
  8. pictureBox1.Image = originalImage2;
  9. ReDrawLines(lista2);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement