开发者

C#, WinCE Listview : opening a form when list view item is clicked

开发者 https://www.devze.com 2023-02-03 16:54 出处:网络
I just want to ask what is the best way to open a new form when a list view item is clicked? Right now, I\'m just using ShowDialog().

I just want to ask what is the best way to open a new form when a list view item is clicked? Right now, I'm just using ShowDialog().

Thanks! :)开发者_StackOverflow中文版


In WinCE, using ShowDialog is the best way to open a new form, since the call's modal nature means the stacking of forms (z-order) is handled for you. You could use Show, but then you have to manage your forms (i.e. which one is on top) yourself.

0

精彩评论

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