Hi I have a problem with my code after I click undo I can't draw on the image and I don't know whythis is my code
Imports
Public
undo.Push(Image.Clone())
redo.Clear()
btnredo.Enabled =
Xstart = e.X
Ystart = e.Y
BoolErasing =
BoolDrawing =
GraphFun.DrawLine(ErasingPen, Xstart, Ystart, e.X, e.Y)
GraphFun.DrawLine(DrawingPen, Xstart, Ystart, e.X, e.Y)
PictureBox1.Image = Image
Xend = e.X
Yend = e.Y
redo.Push(Image.Clone())
Image = undo.Pop()
btnundo.Enabled =
Image = redo.Pop()
End
pleas help me