开发者

WinForm ScrollViewer

I have an application in WPF that uses ScrollViewr and I want to port it to WinForms, is there an equivalent control for WinForms?

Reason:

WPF program is slow and I can't seem to learn how to render the program properly (GameOfLife). Code:

    <ScrollViewer  Name="displayPlaceHolder" HorizontalScrollBarVisibility="Auto">
        <Canvas Name="display" MouseMove="display_MouseMove" Mou开发者_开发知识库seDown="display_MouseDown" Cursor="Cross" KeyDown="global_KeyDown" Focusable="True" />
    </ScrollViewer>


You could try to use Panel with AutoScroll property enabled.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜