« i en utilisant ce code dans le piicturebox1_paintcompensation l'image dans un picturebox
myusercolor=(sysytem.drawing.color.black)
myalpha=100
using g as graphics=graphics.fromimage(picturebox1.image)
g.clear(color.white)
dim currentpen as object=new pen(color.fromargb(myalpha,myusercolor),mypenwidth)
g.drawpath(ctype(currentpen,pen),mousepath)
end using
'using in the form_load '
picturebox1.image=new bitmap(.....)
'in the clearbutton_click '
picturebox1.image=nothing
par ce code j'ai un problème que lorsque je clique sur le bouton Effacer la picturebox est cleared.but dans le mouseover du picturebox dernier l'image dessinée apparaîtra.ainsi je ne peux pas dessiner une nouvelle image ..
quelqu'un sait s'il vous plaît répondre pour moi.merci – user85511