Developing smartphone software using C #: Push Chests (eight)

Source: Internet
Author: User

yesterday, according to the user "mobile" requirements, completed the push box Smartphone version, you can clickheredownload. Put the extracted PushBoxStd.exe file in the Pocket PC Phone version after extracting the Pushbox directory, and then copy the entire Pushbox directory to Smartphone for use. Because Smartphone does not have a touchscreen and has fewer supported controls, all features of menu-and data are canceled in this version. But it uses the same data file as the Pocket PC Phone version, so if you need to design the level, you can use PushBox.exe's computer to design and then copy it to Smartphone.
developing programs for Pocket PC Phone devices requires the use of Windows Mobile 6 ProfessionalSDK Refresh while using Windows Mobile 6 for the Smartphone Device Development program StandardSDK Refresh. These two SDKs can beheredownload. There is a good article on the Microsoft Web site about developing smartphone programs:new features for developers in Windows Mobile 6.
to change the push box program to Smartphone version, the following changes are mainly made:
1. On Smartphone, the primary menu (MAINMENU) of the main form has a maximum of two menu items (MenuItem), otherwise the run-time throws a NotSupportedException exception. This should be due to the Smartphone without touch screen, two first-level menu items just through the "left", "right" soft key control. The second and above menu items will automatically be preceded by "1", "2", "3" and other Arabic numerals, easy to control via the phone's digital keypad.
2. Because Smartphone does not support the status bar (StatusBar) control, the status information is in the main form:
    protected override void OnPaint(PaintEventArgs e)
method, the E.graphics.drawstirng () method is called directly below the client area.
3. Because Smartphone does not support button controls, buttons such as "OK" and "Cancel" in dialog boxes such as "options" are replaced directly with the corresponding first-level menu item (MenuItem).
4. The digital selection (Numbericupdown) control is replaced with a text box (textbox) control.
5. The track bar (TrackBar) control is replaced with a text box (textbox) control.
6. The list box (ListBox) control is replaced with a list view (ListView) control.
7. The tab (Tabcontrol) control cannot find the appropriate control instead.
8. Since Smartphone does not support touch screen, all functions of "menu--Data" are canceled. Because it is difficult to control the design of the level time using the keyboard.
  
    

Copyright NOTICE: This article for Bo Master http://www.zuiniusn.com original article, without Bo Master permission not reproduced.

Developing smartphone software using C #: Push Chests (eight)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.