DEVBUZZ Homepage RESCO MobileSales .NET – a modern way of creating mobile UI
 
Web www.devbuzz.com
  HOME PAGE
  All Articles
  Advertise
  Consulting

 Development
  Discuss - Forums
  Still in the box?
  .Compact Framework
  Code Snippets
  SQL Server CE
  Database
  MS Resources
 Stores
  Developer Controls
  Pocket PC Hardware
  Pocket PC Software
  Pocket PC Books
  .NET CF Books
  Book Reviews
  SPB SW Discounts
  RESCO SW Discounts
 DEVBUZZ Info
  About Us
  Help
  Join our email list
  Links & Ratings
  Press & Comments
  Pocket PC version
  Software Reviews
  Hardware Reviews
 Authors
  Authors
  Article Guide
  Competitions
 Resources
  Developers
  Register
  Login

  SPB Discounts!
 Columnists
  Rick Winscot
 Past Blast
  Personal Media Ctr
  Gizmobility
  eVB Legacy
  Old news
  Hosted Software
  Wireless
  Newsletters
  Carl Davis
  Upton Au

 Pocket PC Registry
  Join the registry
  View current list
 Current Poll
Are you converting to .NET Compact Framework?
Yes, it has changed my life!
No, I'm sticking with eVB
.NET CF what's that`?

Current results
3431 votes so far
 Recent Forum Threads [goto forums]

Get Computername
read... (67 hits)


Great aid to development productivity
read... (82 hits)


ThreadingTimer sample code
read... (143 hits)


Multithreading with .NET CF
read... (194 hits)


Moving from eMbedded Visual Basic to Visual Basic .NET
read... (166 hits)


.NET Compact Framework 2.0 Service Pack 2
read... (226 hits)


Transfer Data from SQL Server 2000 to SQL Server Compact Edition
read... (298 hits)


This protocol version is not supported
read... (236 hits)


Converting Lowercase to uppercase wont work
read... (203 hits)


Direct access to MS SQL Server 2000
read... (374 hits)


Creating SDF file in Desktop
read... (513 hits)


Winsock in CF.NET
read... (316 hits)


Using Pocket Outlook to submit HTML page form with MAILTO action
read... (420 hits)


Missing file "System.Data.PocketPC.asmmeta.dll"
read... (268 hits)


HP iPAQ hw6915 Serial Port Issue
read... (309 hits)


Info on the recent forum changes
read... (341 hits)


SqlServer tools from Redgate
read... (383 hits)


Arrow keys and Hardware navigation button
read... (393 hits)


O2 XDA lls pin sync cable to comport
read... (322 hits)


Creating dynamic folders on Pocket PC OS
read... (299 hits)

Custom Windows Mobile software development.
LBS Challenge 2007
LBS Challenge Eight previous NAVTEQ Global LBS Challenge® participants have received venture capital funding and nine past LBS Challenge winners have launched commercial applications on major wireless carriers. Register your non-commercial LBS application in the 2007 NAVTEQ Global LBS Challenge in one of three regions: Americas, Europe-Middle East-Africa (EMEA) or Asia-Pacific(APAC). You could win a share of $2 million in prizes. This could be your year.
Dream. Develop. Win.

Development | .NET Compact Framework

RESCO MobileSales .NET – a modern way of creating mobile UI
Written by Radomir Vozar  [author's bio]  [read 15911 times]
Edited by Derek

.NET Compact Framework   

Page 1 

MobileSales .NET – a modern way of creating mobile UI

The user interface is an integral part of each business software application and in many cases a quality user interface plays the key role in success and popularity of the application. The main goal of this article is to show a modern way of developing stylish and easy-to-use interfaces for mobile sales force automation applications in Microsoft Visual Studio .NET and .NET Compact Framework.

Even though Microsoft Visual Studio .NET provides developers with a reasonable environment for smart device application development, the standard controls included with it have been designed for the desktop environment and using them in mobile application projects can be tedious and sometimes problematic.

Stylish customers list

The first thing I’m going to create is a form containing a list of customers.

This seems like an easy task. The corresponding table contains contact data, such as company name, address, telephone, etc., so I only need to display this information in the list. The problem is that the screen width of Pocket PC devices is just 240 pixels wide, so there is not enough space to show all the information in one row.

The solution is to use the Resco AdvancedList .NET control. It allows me to define custom row templates of greater height, so I can conveniently distribute customer related data represented as text cells across the row.

Moreover, I can define one row template for the preview row and a second one (containing more detailed information) for the selected row.

Customer list

As you can see from the picture above, this form shows all important customer data without the need for a horizontal scrollbar, which consumes screen real estate as well as making the form layout confusing.

In addition, the AdvancedList .NET control ensures the selected row can provide additional functionality which makes the form even more intuitive. In this case I have used the Link type cell (company name), which is used for redirection to a customer detail form and two Image type cells containing Delete and Basket buttons to allow the user to perform those respective actions. You have the option of placing any other buttons; such as Sales report, Open bills, etc.; on the selected row template as well.

To make the form look more attractive you could also use an Image cell containing a specific color gradient as the row background.

Similar techniques also apply to other list forms, like the list of products and orders, where I placed the Resco OutlookCalendar .NET control to allow easy navigation between week days.

Customer list

Standardized detailed forms

Although the AdvancedList allows us to display all important data, but it doesn’t natively support data modification. To do this we need to use another form and the powerful Resco DetailView .NET control. This control supports all standard simple edit controls, in addition to providing a standardized and consistent look and feel to your application.

Customer list

All I need to do now is to link all items to a corresponding data column and let the DetailView .NET take care of data editing.

Order processing

There are many ways to design an ordering form, here is one example.

I have divided the form into three parts - Order header, Order details and Signature and I placed every part on a separate tab of the TabControl.

The first one contains order header related data and the whole tab consists basically of the DetailView .NET control, which allows data editing through the respective edit controls.

Customer list

The second tab provides for entering of order details, again implemented using the AdvancedList .NET control to fill the entire tab. The control displays specific order details, such as the product name, its current price and ordered quantity. Entering/editing of order details can be performed directly in the selected row, which contains special editable cells for product selection (showing the Product list form) and quantity editing (showing the TextBox control). This behavior together with the delete button located directly within the selected row makes the form very intuitive and easy to use.

Customer list

The third tab contains only the Resco SignatureBox .NET control, allowing the user to insert a customer signature.

Customer list

Outlook-like main screen

The main form of the application behaves like an Outlook navigation bar providing easy access to all modules of the application and any other applications which you may use in the process. The main screen consists of the Resco OutlookShortcutBar .NET control containing three groups of shortcuts:

  • Modules — application modules such as Customers, Products and Orders
  • Pocket Outlook — Calendar, Contacts, Inbox, Notes, Tasks
  • Other — other applications such as Internet Explorer, File Explorer, Calculator

Customer list

In conclusion

I hope the above examples have given you some ideas on how you can use the MobileForms Toolkit as a suite of powerful .NET controls to give your mobile application a stylish and intuitive user interface.

Click here to learn more about the Resco MobileForms Toolkit or download the free evaluation version.

The MobileSales sample together with the Visual Basic source code is included in the MobileForms Toolkit Professional Edition.

Back to .NET Compact Framework | [Article Index]

 

Back to the top of the page.
Franson GPS tools for the Pocket PC Chris De Herrera's Windows CE Website Windows CE News & Information Source RESCO Software discounts
Copyright ©2000-2008 by DEVBUZZ.COM, Inc., TX. USA.