Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DDX equivalents in C# Window Forms

Posted on 2009-07-08
4
Medium Priority
?
482 Views
Last Modified: 2012-05-07
In MFC I made several DDX routines to handle edit box data for Dialogs.

For example,  DDX_Dist would convert inches to Ft/Inch and back. if the user typed in 1' 3", DDX_Dist would convert to 15.0 for internal storage. The user would always see the value in the current unit (Ft/In or Meter).

Another one if DDX_Angle. The user sees 180.0° when converted from 3.14159

Do you know of anything like this in C# WinForms?

Thanks, Matt
0
Comment
Question by:MTB2440
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 750 total points
ID: 24807615
This is solved with data binding. You associate (bind) a control with a datasource.
Have a look to this tutorial:
http://www.akadia.com/services/dotnet_databinding.html
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 24997507
I think I have provided a valid answer.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question