Why It Sucks To Be Me Today
-
Christopher Duncan wrote:
s there something a WPF app can do that I can't accomplish with Winforms?
Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.
Maybe the question should have been. "Specifically, is there something a WPF app can do that I can't accomplish with Winforms with less hassle ?"
Cheers Garth I don't really care whether or not i really care or not.
-
John, may I point you here http://www.viz.co.uk/profanisaurus.html[^] for some light entertainment. Dalek Dave, may appriciate this as well.
Software Kinetics (requires SL3 beta) - Moving software
Very cool! Going to have to bookmark that!
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh
-
I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
It's easier to do some of the flashy stuff, but as far as adding functional value to the application, no.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
I've been plodding along, writing our WPF app, and thinking I've got stuff pretty much ironed out regarding code organization. I put our custom templates and styles into a AppResources project, and user controls and minor windows into the AppControls project. Everything was fine until I decided I needed a custom
TabItem
class. So I implement that class, compile and run the app. All of a sudden, the tab items don't have borders - at all. Everything else seems to be there, but not the borders, unless the mouse is hovering over the tab. After a brief inspection, I thought that theTargetType
property on my customTabItem
template should be changed fromTabItem
toMyTabItem
(the customTabItem
class' name). Well, I can't do that because it will create a circular assembly reference, which is verboten in .Net. Now I have to go through ALL of my code to change crap around. Specifically, I have to move all the custom XAML code into the AppControls assembly, and change all of the control/window XAML that uses it to make sure all the references are correct. And I don't even know if this is going to fix the fraklking problem until I try it! One step forward, two steps back. What a royal frakking pain in the anal pore..."Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001"WPF" seems to be turning into "WTF" with a mouthful of doughnut.
I wanna be a eunuchs developer! Pass me a bread knife!
-
I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
Christopher Duncan wrote:
Specifically, is there something a WPF app can do that I can't accomplish with Winforms MFC or native SDK?
FTFY. :) :-O I see I'm a little late to the party. Many others have voiced the same question. :cool:
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
-
Christopher Duncan wrote:
s there something a WPF app can do that I can't accomplish with Winforms?
Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.
Define 'better'.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."
Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!
-
John, may I point you here http://www.viz.co.uk/profanisaurus.html[^] for some light entertainment. Dalek Dave, may appriciate this as well.
Software Kinetics (requires SL3 beta) - Moving software
I looooove dodd.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Maybe the question should have been. "Specifically, is there something a WPF app can do that I can't accomplish with Winforms with less hassle ?"
Cheers Garth I don't really care whether or not i really care or not.
There actually is believe it or not. If your application needed you to put some text labels that changed value and were overlayed on to an image. Sure, it is a minor one, but it is still there! :)
-
Christopher Duncan wrote:
s there something a WPF app can do that I can't accomplish with Winforms?
Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.
Rama Krishna Vavilala wrote:
Can something be done better in MFC over raw Win32? -> Yes
Uhmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm. :rolleyes:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]