开发者

WinForm ScrollViewer

开发者 https://www.devze.com 2023-03-16 23:16 出处:网络
I have an application in WPF that uses ScrollViewr and I want to port it to WinForms, is there an equivalent control for WinForms?

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

精彩评论

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