Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WPF--Why? No, Really!

WPF--Why? No, Really!

Scheduled Pinned Locked Moved The Lounge
csharphtmlc++cssvisual-studio
117 Posts 49 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D ddoutel

    Yup; both are very cool (databinding and customization). It's just that there's no sensible bridge to WPF from WinForms, no way to ease the transition. Most frustrating of all, I'm already bald, so I can't even tear my hair out, as any self-respecting bit-banger would do...!

    R Offline
    R Offline
    Ray Cassick
    wrote on last edited by
    #12

    That is a shame. I was wishing that there would be some basic conversion tools to get a basic windows forms app converted over to using WPF. That would be a huge help I think, until it came to controls outside the ones available in WPF, but that could still be handled to some degree. The problem I think IS that there is no real great knowledge transfer between windows forms and WPF. They are two very different approaches to the same task (building a UI) and I am starting to get the feeling that unless you completely stop using WinForms and move to using WPF for all the new stuff you do that you may have continued problems trying to get your head around the new paradigm. I for one have fallen in love with data binding and the new template layout features. I fought far too long with owner-drawn controls just to get some cool features into things like list boxes and list views. The new template stuff is great.


    LinkedIn[^] | Blog[^] | Twitter[^]

    S 1 Reply Last reply
    0
    • R realJSOP

      Shog9 wrote:

      BTW: the correct place for rants is The Soapbox 2.0

      That's completely wrong. Rants about programming are welcomed here in the Lounge. It's certainly more programmer-centric than the other inane (and complete unrelated to computers or programming) crap we see here every day.

      "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

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #13

      Then what the hell is The Soapbox for? Dirty jokes? :~

      C T R C 4 Replies Last reply
      0
      • R Rama Krishna Vavilala

        Judah Himango wrote:

        UI extensibilities.

        Like using a treeview in a menu? ;)

        J Offline
        J Offline
        Judah Gabriel Himango
        wrote on last edited by
        #14

        What's wrong with that? My users love navigating deep hierarchies inside a sub menu of a context menu. ;)

        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

        1 Reply Last reply
        0
        • D ddoutel

          Yup; both are very cool (databinding and customization). It's just that there's no sensible bridge to WPF from WinForms, no way to ease the transition. Most frustrating of all, I'm already bald, so I can't even tear my hair out, as any self-respecting bit-banger would do...!

          H Offline
          H Offline
          Henry Minute
          wrote on last edited by
          #15

          ddoutel wrote:

          Most frustrating of all, I'm already bald

          You are in luck! I received an Email only this morning which guarantees hair growth, I could forward it to you if you like. :-D Oh, and it also had a product to increase my size, but I'm a bit too large already.

          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.”

          D 1 Reply Last reply
          0
          • R Ray Cassick

            That is a shame. I was wishing that there would be some basic conversion tools to get a basic windows forms app converted over to using WPF. That would be a huge help I think, until it came to controls outside the ones available in WPF, but that could still be handled to some degree. The problem I think IS that there is no real great knowledge transfer between windows forms and WPF. They are two very different approaches to the same task (building a UI) and I am starting to get the feeling that unless you completely stop using WinForms and move to using WPF for all the new stuff you do that you may have continued problems trying to get your head around the new paradigm. I for one have fallen in love with data binding and the new template layout features. I fought far too long with owner-drawn controls just to get some cool features into things like list boxes and list views. The new template stuff is great.


            LinkedIn[^] | Blog[^] | Twitter[^]

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #16

            Ray Cassick wrote:

            I was wishing that there would be some basic conversion tools to get a basic windows forms app converted over to using WPF.

            Nowhere near done, but interesting... http://wf2wpf.codeplex.com/[^]

            P 1 Reply Last reply
            0
            • D ddoutel

              Yup; both are very cool (databinding and customization). It's just that there's no sensible bridge to WPF from WinForms, no way to ease the transition. Most frustrating of all, I'm already bald, so I can't even tear my hair out, as any self-respecting bit-banger would do...!

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #17

              Yeah, I hear you. Fortunately, I have a full head of hair remaining, so I figure once WPF is deprecated by SUX (Simple User eXperience framework) for Midori Windows 2016, I'll need to invest in some Rogaine. :)

              Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

              J 1 Reply Last reply
              0
              • D ddoutel

                Like most of you, I spend my days (and many nights) in the trenches, and have for nearly 30 years. I came up through assembly to C through C++ to C#, and a bunch of other stuff as side trips along the way. Having come from a place where there were NO IDE's to ease my pain, I'm supremely grateful for the ability to drag controls onto a form, smoosh 'em around, set some properties and be up and running with a skeleton to flesh out and deliver. I do NOT work with or have access to a graphic artist, nor do I wish to. Anyway, for the last several months on and off, I have attempted to come to grips with WPF, and I've finally arrived at the conclusion that it's just not worth the effort! In general, it's more work and more frustration for MUCH less functionality! Come on, MS! If I want to tinker endlessly with markup, I'll write in HTML, and likely have something that works in much less time and effort. To obtain the same level of useability I get with Windows Forms apps using WPF takes unbelieveable amounts of time and effort. Latest and greatest, my achin' posterior! Am I wrong? What am I missing here, folks?? Too busy for the MS merry-go-round, Duane Doutel

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #18

                You're right, and wrong. WPF is too complex, too verbose, too buggy, and too incomplete. But, the apps you build with WPF would be a hell of a lot of work to try to get working without it. It's worth the hassle, I just hope they fix it with time.

                Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                J 1 Reply Last reply
                0
                • R realJSOP

                  ddoutel wrote:

                  Am I wrong?

                  No.

                  ddoutel wrote:

                  What am I missing here, folks??

                  You're missing the need to be a real programmer. MS is trying to dumb it down so that anyone that's ever written HTML in a web page can feel empowered to write an enterprise-level application. Feel free to join the rest of us that hate WPF.

                  "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

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #19

                  John Simmons / outlaw programmer wrote:

                  MS is trying to dumb it down so that anyone that's ever written HTML in a web page can feel empowered to write an enterprise-level application.

                  That a framework can be accused simultaneously of being too complex and too dumbed down shows that it truly is a damned-if-you-do-damned-if-you-don't kind of situation for MS.

                  Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                  J D R E 4 Replies Last reply
                  0
                  • S Shog9 0

                    Then what the hell is The Soapbox for? Dirty jokes? :~

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #20

                    I don't think anyone knows....

                    Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                    1 Reply Last reply
                    0
                    • S Shog9 0

                      Then what the hell is The Soapbox for? Dirty jokes? :~

                      T Offline
                      T Offline
                      Todd Smith
                      wrote on last edited by
                      #21

                      Shog9 wrote:

                      Then what the hell is The Soapbox for?

                      It's for compliments and/or positive reviews about Microsoft products which inevitably lead to flamewars and riots. It's like telling an oppressed people that their ruler really is a nice person if you get to know them :D

                      Todd Smith

                      E 1 Reply Last reply
                      0
                      • C Christian Graus

                        You're right, and wrong. WPF is too complex, too verbose, too buggy, and too incomplete. But, the apps you build with WPF would be a hell of a lot of work to try to get working without it. It's worth the hassle, I just hope they fix it with time.

                        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                        J Offline
                        J Offline
                        Judah Gabriel Himango
                        wrote on last edited by
                        #22

                        Christian Graus wrote:

                        I just hope they fix it with time.

                        I think they will. Given they're using it all over the place in the next version of VS, I suspect they'll hit many of the pain points we've experienced and, unless they're masochists, fix them. :)

                        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                        J 1 Reply Last reply
                        0
                        • J Judah Gabriel Himango

                          John Simmons / outlaw programmer wrote:

                          MS is trying to dumb it down so that anyone that's ever written HTML in a web page can feel empowered to write an enterprise-level application.

                          That a framework can be accused simultaneously of being too complex and too dumbed down shows that it truly is a damned-if-you-do-damned-if-you-don't kind of situation for MS.

                          Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                          J Offline
                          J Offline
                          Jorgen Sigvardsson
                          wrote on last edited by
                          #23

                          I think your conclusion is spelled out too nice...

                          1 Reply Last reply
                          0
                          • H Henry Minute

                            ddoutel wrote:

                            Most frustrating of all, I'm already bald

                            You are in luck! I received an Email only this morning which guarantees hair growth, I could forward it to you if you like. :-D Oh, and it also had a product to increase my size, but I'm a bit too large already.

                            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.”

                            D Offline
                            D Offline
                            ddoutel
                            wrote on last edited by
                            #24

                            AH! SO it was YOU seen escaping the scene of a rape on a pogo stick! :-D

                            1 Reply Last reply
                            0
                            • D ddoutel

                              Like most of you, I spend my days (and many nights) in the trenches, and have for nearly 30 years. I came up through assembly to C through C++ to C#, and a bunch of other stuff as side trips along the way. Having come from a place where there were NO IDE's to ease my pain, I'm supremely grateful for the ability to drag controls onto a form, smoosh 'em around, set some properties and be up and running with a skeleton to flesh out and deliver. I do NOT work with or have access to a graphic artist, nor do I wish to. Anyway, for the last several months on and off, I have attempted to come to grips with WPF, and I've finally arrived at the conclusion that it's just not worth the effort! In general, it's more work and more frustration for MUCH less functionality! Come on, MS! If I want to tinker endlessly with markup, I'll write in HTML, and likely have something that works in much less time and effort. To obtain the same level of useability I get with Windows Forms apps using WPF takes unbelieveable amounts of time and effort. Latest and greatest, my achin' posterior! Am I wrong? What am I missing here, folks?? Too busy for the MS merry-go-round, Duane Doutel

                              I Offline
                              I Offline
                              Ian Shlasko
                              wrote on last edited by
                              #25

                              Just gotta realize that there is no direct path from WinForms to WPF. Two completely different ways of thinking... Drove me crazy for a while too, but I'm slowly adapting. I'll tell ya, maintaining a large WinForms application and a medium-sized WPF application at the same time really taxes the mental processors... Talk about context-switching... I really only have two gripes with WPF... 1) The WYSIWYG part of the designer just plain sucks. I only use it to position buttons on panels by coordinates. The XAML section is a lot nicer, though it would be nice if it was a little better with local namespaces. 2) DependencyProperty syntax is clumsy and ugly. There has to be a better way to do this. Seriously, if you have more than a few in one class, you might as well just make a partial class file ("MyClass.DependencyProps.cs") just to get them out of the way... Makes the code horrible to read.

                              D 1 Reply Last reply
                              0
                              • S Shog9 0

                                ddoutel wrote:

                                What am I missing here, folks?

                                I suspect that XAML, unlike HTML, was designed to be machine-generated (good luck finding a machine to generate it just the way you want it... Anyone doing forms entirely in Expression yet?). WPF however, can be used without XAML, and stands a reasonably good chance of being The Way Forward when it comes to graphics APIs on Windows. At least until the Windows team puts their foot down and completely refuses to use it. BTW: the correct place for rants is The Soapbox 2.0

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #26

                                TWF (The Way Forward) is an anagram of WTF though By the way, have they fixed their terrible font renderer yet?

                                1 Reply Last reply
                                0
                                • S Shog9 0

                                  Then what the hell is The Soapbox for? Dirty jokes? :~

                                  R Offline
                                  R Offline
                                  Rob Graham
                                  wrote on last edited by
                                  #27

                                  SoapBox 2.0 is for posting things you'd really rather not be read...

                                  R 1 Reply Last reply
                                  0
                                  • J Judah Gabriel Himango

                                    Yeah, I hear you. Fortunately, I have a full head of hair remaining, so I figure once WPF is deprecated by SUX (Simple User eXperience framework) for Midori Windows 2016, I'll need to invest in some Rogaine. :)

                                    Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                    J Offline
                                    J Offline
                                    Jim Crafton
                                    wrote on last edited by
                                    #28

                                    That's *really* not funny! :)

                                    ¡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

                                    1 Reply Last reply
                                    0
                                    • J Judah Gabriel Himango

                                      Christian Graus wrote:

                                      I just hope they fix it with time.

                                      I think they will. Given they're using it all over the place in the next version of VS, I suspect they'll hit many of the pain points we've experienced and, unless they're masochists, fix them. :)

                                      Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                      J Offline
                                      J Offline
                                      Jim Crafton
                                      wrote on last edited by
                                      #29

                                      Judah Himango wrote:

                                      Given they're using it all over the place in the next version of VS

                                      You do realize that all they are using it for is the text editor (and related intellisense pop-ups) right? Unless that's recently changed...

                                      ¡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

                                      R J 2 Replies Last reply
                                      0
                                      • J Judah Gabriel Himango

                                        John Simmons / outlaw programmer wrote:

                                        MS is trying to dumb it down so that anyone that's ever written HTML in a web page can feel empowered to write an enterprise-level application.

                                        That a framework can be accused simultaneously of being too complex and too dumbed down shows that it truly is a damned-if-you-do-damned-if-you-don't kind of situation for MS.

                                        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                        D Offline
                                        D Offline
                                        ddoutel
                                        wrote on last edited by
                                        #30

                                        Well, I've never had a problem with complexity, as long as the gain outweighs the pain... If not, there's a good chance the designers have missed the mark, at least in my experience.

                                        1 Reply Last reply
                                        0
                                        • T Todd Smith

                                          Shog9 wrote:

                                          Then what the hell is The Soapbox for?

                                          It's for compliments and/or positive reviews about Microsoft products which inevitably lead to flamewars and riots. It's like telling an oppressed people that their ruler really is a nice person if you get to know them :D

                                          Todd Smith

                                          E Offline
                                          E Offline
                                          Ennis Ray Lynch Jr
                                          wrote on last edited by
                                          #31

                                          Todd Smith wrote:

                                          It's like telling an oppressed people that their ruler really is a nice person if you get to know them

                                          :laugh:

                                          Need custom software developed? I do C# development and consulting all over the United States. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups