Visual studio 2005 C#.Net
-
I am developing application in VS2005 C#, Windows Mobile 5. Please help, I have some doubts.. 1. How to code for softkeys in Windows Mobile? 2. How to add background image? 3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this? 4.How to install exe file with icon/logo to Windows Mobile programs collection? I am a newbie for WM development,So, please bear with my questions. Thanks in advance
-
I am developing application in VS2005 C#, Windows Mobile 5. Please help, I have some doubts.. 1. How to code for softkeys in Windows Mobile? 2. How to add background image? 3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this? 4.How to install exe file with icon/logo to Windows Mobile programs collection? I am a newbie for WM development,So, please bear with my questions. Thanks in advance
1. Same way as Win Forms. Select the softkey menu in the designer. In Properties change to events view and double click the event you want to handle. 2. Only the
PictureBox
support BackgoundImage unless you overrideOnPaint
and paint it yourself. 3. That's just the way WM5 handles things. It's 'trying' to be clever. X = minimise not close. You can get apps that override this. I, for example, use sqb Pocket Plus for this. 4. Same way as WinForms. Choose an Icon from the properties of the Form in VS designer.