C#, WinCE Listview : opening a form when list view item is clicked
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.
精彩评论