Blue Theme Orange Theme Green Theme Red Theme
 
6 Months Free & No Setup Fees ASP.NET Hosting!
Home | Forums | ASP.NET 2.0 Tutorials | Web Services | How Do I...? | Class Browser | WPF Quick Starts | Advertise with Us
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Team Foundation Server Hosting
Search :       Advanced Search »
Home » Pocket PC » Unit Conversion Tool for Pocket PC with Compact Framework

Unit Conversion Tool for Pocket PC with Compact Framework

I have created a Unit conversion tool to calculate conversion from 16 different types.

Author Rank :
Page Views : 2436
Downloads : 30
Rating :
 Rate it
Level : Intermediate
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
Download Files:
PocketUnitConverter.zip
 
 
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 



Though there is long time to go for version 1 for Compact Framework lots of Programmer will start working on it and getting use to it before final version comes in market.

I have created Unit conversion tool to calculate conversion from 16 different types, this tool can be very handy to technical persons any that too when its in PocketPc.

I have taken out Conversion factors from my grand old Lotus Spreadsheet ( Dos Based) which I wrote back in 1992, Although most of conversion factors are correct I cant take responsibility of  there accuracy( I havent got time to recheck ).

ConverterData: I have Implemented Conversion logic in separate Class ConverterData in which I have all data and Method for conversion, I have kept data of Conversion types in to string array, string jagged array contains all units Names. And Double jagged array contains conversion factors for corresponding Names.

frmUnitConverter.cs:
Is a form containing user interface for Unit Converter.

I have used Tab Control for Showing different unit types, one important thing I havent placed my components on panels of tab, they are directly on form, so that I do not have to remove same components from one panel to another panel when user changes panel.

I am dynamically inserting values of panel tab on startup and value of list box that contains conversion units when ever tab changes.

There is very little difference between way of programming in regular windows application and Compact framework PocketPc application but one of the important thing is to take due consideration for processing power available.

Also read articles by John O'Donnell to get started with pocket pc application on C-Sharp Corner.

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Jigar Desai
Jigar Desai is a Microsoft certified professional and has 8 years of experience in Microsoft technologies, he is working in asp.net since pre beta releases and has extensive experience in developing database driven web application. When he is not working with asp.net and SqlServer he likes to do experiments with GDI+ and Content automation in webapplications.
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
Nevron Gauge for SharePoint
Become a Sponsor
 Comments
6 Months Free & No Setup Fees ASP.NET Hosting!
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.