本文介绍了在picturebox上移动函数的绘图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我有功能绘制在picturebox上,我可以放大它,当图形超出picturebox我想要用scroolbars移动它或鼠标移动来观看它的部分隐藏。每次我点击滚动条,我清除图片框然后我添加到功能的坐标滚动的值,并再次重绘它。但是我不知道为什么picturebox不干净并且像图形拖动一样出现。我该如何避免这种情况。虽然我不得不等待一段时间,但工作在VB6但不在NET中。我想要一些类似autocad的东西,移动画画和inmediatly我得到画面毫不拖延。 提前感谢 Mike Thompson 我尝试过: 代码到目前为止还没有成功,需要帮助i have function plotted on picturebox, i can zoom it, when graphic are out of picturebox i want with scroolbars move it or mouse movement to watch part hide of it. everytime i click to scrollbar, i clear picturebox then i add to coordinates of functions the value of scroll and redraw it again. however i don`t know why picturebox doesn`t clean and show up like the graphic dragging. how do i avoid that. worked en VB6 but not in NET although i have to wait a while. i want something like autocad, to move draw and inmediatly i get draw without delay.thanks in advanceMike ThompsonWhat I have tried:the code haven´t worked out so far, need help推荐答案 这篇关于在picturebox上移动函数的绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-21 08:16