How to refresh PictureBox

前端 未结 2 1390
悲哀的现实
悲哀的现实 2021-01-17 15:24

I\'ve little question to ask.

Let\'s say I\'ve written an ellipse on pictureBox, then clicked a button. I want pictureBox to refresh itself.

I\'ve tried

相关标签:
2条回答
  • 2021-01-17 15:25

    Have you tried PictureBox.Update(); ? Or try something like this http://msdn.microsoft.com/en-us/library/system.windows.forms.picturebox.image.aspx

    0 讨论(0)
  • 2021-01-17 15:31

    Try the method PictureBox.Refresh() (inherited from Control).

    0 讨论(0)
提交回复
热议问题