The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
I spent a little time a few years ago playing with WPF and found it to be a real overkill for the types of stuff I write. I'm not so much into making pretty pictures as just presenting data which WinForms is fine for; it's consistent, mature and just plain works.
Yeah - it does appear to be fairly large in scope!
But, I can nob about with Winforms and I just thought that I should really start getting to grips with it - just for the fun of it.
Winforms won;t be going away any time soon, but (at the moment at least) WPf is the future
"Benjamin is nobody's friend. If Benjamin were an ice cream flavor, he'd be pralines and dick." ~ Garth Algar
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." ~ Paul Neal "Red" Adair
The thing I didn't care about with WPF was having to constantly deal with XAML, which is fine I guess but if I wanted to deal with an HTML type language I'd just write a web application. I just felt that doing that on the desktop when I had gotten used to a GUI designer was just too much work for what I was trying to accomplish. With WinForms most of my time is focused on the application itself (making things work, etc.) whereas with WPF I felt like I was spending an inordinate amount of time trying to get the GUI right. I mean, how many methods must I ingest into my head for presenting a grid of data, or a list of items to choose, etc?
I'm not at-all against these technologies per-se you might just say I've finally settled down and decided to be an expert at a few with which I can solve business problems instead of constantly trying to keep up with all these different technologies. I've been at this 38 years and as far as the type of stuff I develop I can't tell you that all the presentation technologies they've come up with since WinForms would enhance my presentations in any meaningful way. Heck ... I could have completed my last project as a character-based DOS application and it would have served the needs of my client very well!
Like you said, WinForms ain't going anywhere. The output generated by VS2008 (my preferred tool) runs on everything from Windows XP right on up to Windows 8.1 desktop. That's a pretty huge audience. I think I'll just focus on solving these business problems with technology I already have and leave off chasing the "latest" stuff all the time. I suspect I'll have enough work to do without having constantly to upgrade and spin my wheels.
Embrace XML. Not just the idea of angle-bracket delimited text. Understand how namespaces (i.e. xmlns) work. Understand why some tags have a prefix. If you have the time, learn XML schema.
THis might already be in your wheelhouse, but it never ceases to amaze me how many C#/VB.NET guys claim they know XML but then attack XAML and don't know why their XAML code says Some tag not found! I've been to user group meetings where the presenter is introducing XAML and he tries to go through what all those attributes in the root Window element mean and everyone is literally, "Can we skip this and start writing our app?" No, understand that first.
My only other tip is that if it seems difficult to get what you want done in VS, try it in Blend.
Reminds me of the latest episode of "Game of Thrones" (season 4, episode 8)
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
I type like that whenever I decide (yet again) that it's time I learned to touch-type.
I have been typing while looking at the keyboard occasionally for over 30 years... oops I gave it away! Yes, I invented Tetris - although I didn't call it that back then.
- I would love to change the world, but they won’t give me the source code.
If she closes her eyes, she won't be able to see DD sneaking up on her...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)