I'm not sure how this relates to the .NET forum support but you need to use the Native API SHDoneButton.
By default it's set to "SHDB_HIDE
" which then shows the "Windows Mobile" "X" button (or any application that overrides X button like LGE's 'X' button application, or the HTC one).
If you set it to "SHDB_SHOW
" it will show a "ok" button which sends a IDOK to the window if pressed.
If you set it to "SHDB_SHOWCANCEL
" it will show a "x" button which sends a IDCANCEL to the window if pressed. SHDB_SHOWCANCEL
is not documented by MSDN but it's in the header file (aygshell.h).