"ok" vs "Cross" button in right top corner of form RRS feed

  • Question

  • Hi to all

    As you all know that in WM there is an "ok" button in top right corner of form while in WinCE there is a "Cross" button in top right corner.

    I am developing an application using cf .net 2.0. What i want to show "Cross" button in all cases, whether it is WM or WinCE. I check all properties for Form but couldn't get any solution. Do you have any idea? please help me in this case.


    Thanks in advance




    Wednesday, July 4, 2007 1:07 PM


  • VB:


    Me.MaximizeBox = False




    this.MaximizeBox = false;


    You might have to do it conditionally on WM only.

    Wednesday, July 4, 2007 5:05 PM