9 Nov 2011 15:12
VC 2008 dynamic dialogs
Alan Baljeu <alanbaljeu <at> yahoo.com>
2011-11-09 14:12:59 GMT
2011-11-09 14:12:59 GMT
I'm looking for hints on development in C++/CLI and/or C# with VS2008, following a test-driven
approach.
Windows-based application.
Modeless dialog.
Data entry immediately invokes handlers.
Data-binding is a possible approach.
May migrate to VS2010 midproject.
I'm familiar with WinForms in VS2003, but I understand things are radically better now. So I'm looking
for a clue on technology, and instruction on developing this stuff through TDD.
Alan Baljeu
[Non-text portions of this message have been removed]
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/testdrivendevelopment/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/testdrivendevelopment/join
(Continue reading)
WPF is much improved over WinForms. So, IMHO you should definitely go that way.
The whole XAML story is very interesting and useful. And I guess you might actually TDD the creation of XAML
which would then run in the test. Interesting idea - but I didn't work like that. I used the visual editor to
get a rough draft of the screen I wanted, then subsequent mods by modifying the XAML. But I did not test drive
the visual surface - the TDD started with a button press, or the selection of a list item etc.
By the way adding a method to get a control works easily - just inherit the "testing" interface which
includes GetControl.
TDDing a dynamic UI? Hmm! What would the story be? Something like:
- a user can select a control from a list and add it to the current surface. ?
I wonder if you could just inspect the resulting XAML? Perhaps it would be enough. Especially if one of your
controls has a button and you manage to press it? Then have some kind of event wiring?
Sounds interesting.
John D.
-----Original Message-----
From: testdrivendevelopment <at> yahoogroups.com [mailto:testdrivendevelopment <at> yahoogroups.com] On
Behalf Of Alan Baljeu
Sent: 10 November 2011 13:38
To: testdrivendevelopment <at> yahoogroups.com
RSS Feed