I love the way this has become Paul's group. Poor Paul! *grin*
My two cents on this: yes WPF is more complex than WinForms. To me,
WinForms made things easier by hiding a lot of the detail.
Unfortunately that translated into limitations with what you can do.
To allow full freedom with UI, you have to expose that complexity and
let the developers deal with it themselves. This makes solutions more
complex, and greater developer discipline is required to keep things in
line. I think this has driven demand for patterns (MVC, MVP, MVVM etc)
and frameworks (CAB, Unity, Magellan, etc) that help to achieve this
end. Tooling is improving out of sight as well; looks like VS2010 will
have pattern validation models to ensure standards are adhered to in a
nice visual way.
It's not all one way though. It sure is a lot easier to construct basic
views in WPF than it is in WinForms; binding is so much more complete
and robust in WPF. For me, binding is a huge factor in bringing the fun
back into development.
I believe WPF is magnificent. Once you get the hang of it, you can
wield an awful lot of power with minimal effort.
Carl.
From: [email protected] [mailto:[email protected]]
On Behalf Of Greg Keogh <[email protected]>
Sent: Wednesday, 24 March 2010 6:23 AM
To: "'ozWPF'" <[email protected]>
Subject: RE: Export to image
Hi Paul et al, the tip you gave me led to the correct sample code to
convert my drawing elements into images, to save the on the clipboard
and as files.
I must say, the way this works in WPF compared to the old GDI days is
startlingly different. The use of classes like RenderTargetBitmap,
BmpBitmapEncoder and BitmapFrame.Create() are obscure to say the least.
To figure out how to do this without specific clues and examples might
have taken hours.
More and more classes, abstraction, traps, tricks and obscurity. Why is
it all getting so hard?
Greg
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf
_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.
This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.
We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf