I'm using VC# to develop application on WIN CE env.
1) I would like to have only the "X" Button on some of my forms. 2) I want the form to occupy the full screen. 3) Form should not be moved. I tried using designer, but was not able to achieve it.
Thank you.
Based on your requirements
1) have only "X" button on some of my forms Set FormBorderStyle, attach your "X" image to right of your top form and implement image Click event to Close the form.
2) want the form to occupy the full screen Set WindowState = Maximized
3) Forms should not be moved Not sure why you want to do that , you can use ShowModal/TopMost to ask user to remind user on the input , but not putting glue on the form and kind of un-user-friendly.
I'm using VC# to develop application on WIN CE env.
1) I would like to have only the "X" Button on some of my forms. 2) I want the form to occupy the full screen. 3) Form should not be moved. I tried using designer, but was not able to achieve it.
Thank you.
Based on your requirements
1) have only "X" button on some of my forms Set FormBorderStyle, attach your "X" image to right of your top form and implement image Click event to Close the form.
2) want the form to occupy the full screen Set WindowState = Maximized
3) Forms should not be moved Not sure why you want to do that , you can use ShowModal/TopMost to ask user to remind user on the input , but not putting glue on the form and kind of un-user-friendly.
0 commentaires:
Enregistrer un commentaire