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. Why... [modified]

Why... [modified]

Scheduled Pinned Locked Moved The Lounge
csharpwpfquestion
56 Posts 28 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.
  • R RichardGrimmer

    Rob Graham wrote:

    Why should you have to use two different tools, one to "design" the appearance, and another to program the behavior.

    That's one of the main POINTS of Expression - most devs couldn't design a decent UI in a fit, and most designers would puke at having to use VS - the point of the shared project / file formats is so that you can code up what you want in VS, then pass to someone with an eye for the aesthetics to tart it up in Expression.

    C# has already designed away most of the tedium of C++.

    R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #26

    RichardGrimmer wrote:

    most devs couldn't design a decent UI in a fit

    And most "designers" wouldn't know "usability" if it came up and bit them in the ass, so where does that leave us?

    "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

    1 Reply Last reply
    0
    • N NormDroid

      Use Expression Blend for designing and the IDE for code behind.

      Software Kinetics - Moving software

      R Offline
      R Offline
      realJSOP
      wrote on last edited by
      #27

      Does Expression Blend cost money? Like $600/seat? I refuse to spend that kind of money for development at home, especially for something that's probably a half-assed tool to start out with.

      "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

      C 1 Reply Last reply
      0
      • R Rohde

        Your issue is probably more of a VS issue than anything to do with the WPF API. I actually think WPF is way nicer than Winforms, for many things (not all). But sure, it is not as mature as Winforms. Also the VS designer suuuuuuuuuucks big time. And yes, WWF is one ridiculously bad API - what a waste of developer time.


        "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
        -Atlas Shrugged, Ayn Rand

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #28

        Rohde wrote:

        I actually think WPF is way nicer than Winforms

        In what possible way is it "nicer" than winforms? I want to put some controls on a freakin' form. WPF apparently can't do that (through the VS IDE). If I can't use the tools Ive already paid for to implement one of Microsoft's new half-implemented technologies, what the f*ck good is it?

        "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

        R S 2 Replies Last reply
        0
        • N Nish Nishant

          John Simmons / outlaw programmer wrote:

          When the freakin' IDE breaks when you're trying to design a form, it sucks.

          That's really a VS issue there. Have you tried using Expression Blend? It's a lot stabler than VS is for designing WPF UI. What a lot of folks do is to create UI in Blend, and then copy/paste the Xaml into VS.

          Regards, Nish


          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
          My latest book : C++/CLI in Action / Amazon.com link

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #29

          If the tools don't work, what the hell good is the technology?

          "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 1 Reply Last reply
          0
          • R realJSOP

            Rohde wrote:

            I actually think WPF is way nicer than Winforms

            In what possible way is it "nicer" than winforms? I want to put some controls on a freakin' form. WPF apparently can't do that (through the VS IDE). If I can't use the tools Ive already paid for to implement one of Microsoft's new half-implemented technologies, what the f*ck good is it?

            "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

            R Offline
            R Offline
            Rohde
            wrote on last edited by
            #30

            If you're having problems with arranging controls on the form, you need to read up on the various layout managers. Although, yes the designer sucks.


            "When you have made evil the means of survival, do not expect men to remain good. Do not expect them to stay moral and lose their lives for the purpose of becoming the fodder of the immoral. Do not expect them to produce, when production is punished and looting rewarded. Do not ask, `Who is destroying the world?' You are."
            -Atlas Shrugged, Ayn Rand

            1 Reply Last reply
            0
            • R realJSOP

              ...does WPF have to suck as bad as WWF? [EDIT] Ouch - those '1' votes really hurt. I think I'm going to cry... not. Almost an hour later, and WPF still sucks. All the '1' votes in the world won't change that.

              "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

              modified on Sunday, December 28, 2008 9:21 AM

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #31

              No, it could suck more, or suck less. I guess Microsoft opted for consistency.

              Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

              1 Reply Last reply
              0
              • N Nish Nishant

                John Simmons / outlaw programmer wrote:

                When the freakin' IDE breaks when you're trying to design a form, it sucks.

                That's really a VS issue there. Have you tried using Expression Blend? It's a lot stabler than VS is for designing WPF UI. What a lot of folks do is to create UI in Blend, and then copy/paste the Xaml into VS.

                Regards, Nish


                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                My latest book : C++/CLI in Action / Amazon.com link

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #32

                Nishant Sivakumar wrote:

                What a lot of folks do is to create UI in Blend, and then copy/paste the Xaml into VS.

                I'm sorry, but that is totally lame. Not that I expect an IDE to do everything, and in fact would actually prefer that the VS IDE were pared down a bit--all this massive integration ends up, IMO, as a badly put together product (TFS comes to mind). I guess all this XML stuff makes is a different world and Microsoft hasn't figured out yet how to support it in a seamless, professional, manner. Marc

                Available for consulting and full time employment. Contact me. Interacx

                1 Reply Last reply
                0
                • R realJSOP

                  Does Expression Blend cost money? Like $600/seat? I refuse to spend that kind of money for development at home, especially for something that's probably a half-assed tool to start out with.

                  "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

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

                  Blend really only helps if you have a lot of time to learn how it works, and then only for layout of XAML, that's what it is, a WYSIWYG UI editor.

                  Christian Graus Driven to the arms of OSX by Vista.

                  1 Reply Last reply
                  0
                  • R realJSOP

                    ...does WPF have to suck as bad as WWF? [EDIT] Ouch - those '1' votes really hurt. I think I'm going to cry... not. Almost an hour later, and WPF still sucks. All the '1' votes in the world won't change that.

                    "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

                    modified on Sunday, December 28, 2008 9:21 AM

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

                    I helped you out with a 5. Until more developers master the fundamentals no Windows Technology will matter much. All they are doing is lowering the bar making it easier for people to come in and write bad code. .NET 2.0 was mostly perfect. I think MS should have just focused on fixing and improving the framework rather than adding new "features". But then that is my opinion.

                    Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
                    Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
                    Most of this sig is for Google, not ego.

                    1 Reply Last reply
                    0
                    • R Rob Graham

                      That's a pretty crappy excuse, you must admit. If the VS design time support is unstable, why should anyone bother getting Yet-Another-Microsoft-Tool just to begin learning it? Why should you have to use two different tools, one to "design" the appearance, and another to program the behavior. I agree with John: if the native tool set doesn't work,then it is beta crap that Microsoft is dumping on customers. The fact that they have Expression Blend working makes the offense of not fixing the VS designers in a service pack even less forgivable. This seems to be the only industry in which a supplier can sell defective product to its customers and not get sued. It's a damn good thing Microsoft doesn't build bridges.

                      R Offline
                      R Offline
                      Roger Wright
                      wrote on last edited by
                      #35

                      Rob Graham wrote:

                      It's a damn good thing Microsoft doesn't build bridges.

                      Oh, I don't know. If they did design bridges, they'd probably put them under things, instead of over them. That would make them more survivable in the inevitable crash.

                      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                      1 Reply Last reply
                      0
                      • R realJSOP

                        If the tools don't work, what the hell good is the technology?

                        "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
                        Serguei
                        wrote on last edited by
                        #36

                        And if the developers are incompetent what the hell good are the tools?

                        J 1 Reply Last reply
                        0
                        • R realJSOP

                          ...does WPF have to suck as bad as WWF? [EDIT] Ouch - those '1' votes really hurt. I think I'm going to cry... not. Almost an hour later, and WPF still sucks. All the '1' votes in the world won't change that.

                          "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

                          modified on Sunday, December 28, 2008 9:21 AM

                          S Offline
                          S Offline
                          Super Lloyd
                          wrote on last edited by
                          #37

                          I don't know WWF. But I think it's you, probably you are too old to adapt? Or maybe this is the whole XAML thing? I, myself, I will admit it has a certain tendancy to raise the expectency only to unexpectedly frustratingly refusing to deliver at times...

                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                          R 1 Reply Last reply
                          0
                          • S Super Lloyd

                            I don't know WWF. But I think it's you, probably you are too old to adapt? Or maybe this is the whole XAML thing? I, myself, I will admit it has a certain tendancy to raise the expectency only to unexpectedly frustratingly refusing to deliver at times...

                            A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                            R Offline
                            R Offline
                            realJSOP
                            wrote on last edited by
                            #38

                            Super Lloyd wrote:

                            But I think it's you, probably you are too old to adapt?

                            If that were the case, I would still be doing C++. And being able/unable to adapt doesn't have anything to do with the fact that the current tools (the WPF designer in the IDE) suck.

                            "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

                            U S 2 Replies Last reply
                            0
                            • R realJSOP

                              Super Lloyd wrote:

                              But I think it's you, probably you are too old to adapt?

                              If that were the case, I would still be doing C++. And being able/unable to adapt doesn't have anything to do with the fact that the current tools (the WPF designer in the IDE) suck.

                              "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

                              U Offline
                              U Offline
                              User of Users Group
                              wrote on last edited by
                              #39

                              If you think WPF is bad after all those years, give a go to the lightweight Silverlight. Your browser will start hanging more than ever before, 8GB of RAM won't help you and be prepared for some odd UIs, designed for Vista-bloat candy lovers. And it is 2009.. wow. Redmond has been high on flowers since 2006.. it is darn obvious, but as with all MS-related, they managed to sell it real well via blogs, PDCs etc to the 'high-tech' Java Swing 4.0 + XML crowd. No wonder Adobe and Google people keep laughing their socks off.. [On the topic of adaptation and catching up, it is the .NET crowd that is light years behind. It takes some adaptation, decades and playing with all their bloat to realise that fact :) Please continue to invalidate an entire cache with a WPF button and simple control, it is Space Oddysey 2010 after all ]

                              modified on Monday, December 29, 2008 6:21 AM

                              B 1 Reply Last reply
                              0
                              • R realJSOP

                                ...does WPF have to suck as bad as WWF? [EDIT] Ouch - those '1' votes really hurt. I think I'm going to cry... not. Almost an hour later, and WPF still sucks. All the '1' votes in the world won't change that.

                                "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

                                modified on Sunday, December 28, 2008 9:21 AM

                                P Offline
                                P Offline
                                Paul A Howes
                                wrote on last edited by
                                #40

                                I totally agree with you on this. At work, my boss thinks that WPF and WWF are the best inventions ever. Personally, I can't stand either one, and I have used both in fairly involved applications. One thing that makes WPF a little more bearable is to code the UI directly in C# rather than using XAML. I know it's a throw-back to the pre-UI designer days, but the fact that nothing is hidden and you can understand all of the connections is a wonderful thing. you don't have half defined in the XAML and half in the code-behind with the (non-) Intellisense being the only thing to connect the two in the editor. Give it a go in plain C# and see if that doesn't help restore a little of your sanity.

                                Paul

                                A .NET developer who now drinks the Ruby and Cocoa Koolaid.

                                B 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Gary R. Wheeler wrote:

                                  Non-standard and counter-intuitive menus and controls, a layout that varies from run to run without rhyme or reason, and a color scheme that is unusable unless you're under the age of 30 and have a very high-end flat panel.

                                  Agreed. Keeps reminding me of old versions of Blender; a UI written by programmers who spent too much time with one particular tool and decided to use it for everything.

                                  ----

                                  You're right. These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets.

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

                                  Shog9 wrote:

                                  old versions

                                  Old? You haven't used it recently - it hasn't changed much! :)

                                  ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                  1 Reply Last reply
                                  0
                                  • S Serguei

                                    And if the developers are incompetent what the hell good are the tools?

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

                                    But that doesn't really answer the question. If Microsoft fails at *multiple* levels to provide consistent, useful, *stable* tools for *its* technology, what is the point of hassling with it? Other than just playing around with new toys, that is.

                                    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                    1 Reply Last reply
                                    0
                                    • R realJSOP

                                      ...does WPF have to suck as bad as WWF? [EDIT] Ouch - those '1' votes really hurt. I think I'm going to cry... not. Almost an hour later, and WPF still sucks. All the '1' votes in the world won't change that.

                                      "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

                                      modified on Sunday, December 28, 2008 9:21 AM

                                      N Offline
                                      N Offline
                                      Nemanja Trifunovic
                                      wrote on last edited by
                                      #43

                                      John Simmons / outlaw programmer wrote:

                                      ...does WPF have to suck as bad as WWF?

                                      At least WTL is robust and stable and resource editors work just fine.

                                      Programming Blog utf8-cpp

                                      P 1 Reply Last reply
                                      0
                                      • R realJSOP

                                        Rohde wrote:

                                        I actually think WPF is way nicer than Winforms

                                        In what possible way is it "nicer" than winforms? I want to put some controls on a freakin' form. WPF apparently can't do that (through the VS IDE). If I can't use the tools Ive already paid for to implement one of Microsoft's new half-implemented technologies, what the f*ck good is it?

                                        "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
                                        Scott Dorman
                                        wrote on last edited by
                                        #44

                                        John Simmons / outlaw programmer wrote:

                                        In what possible way is it "nicer" than winforms? I want to put some controls on a freakin' form. WPF apparently can't do that (through the VS IDE). If I can't use the tools Ive already paid for to implement one of Microsoft's new half-implemented technologies, what the f*ck good is it?

                                        The problem is that the "design experience" with WPF is completely different than it was with WinForms because everything in WPF is compositional in nature. The piece that's missing is an "intermediate" design experience that allows you to design a WPF interface in the same way you would as a WinForms interface but with limitations on what you can actually make the XAML do. The thing about WPF and XAML that makes it nicer than WinForms is the level of customizability you get for making the controls look how you need them to look without sacrificing functionality or forcing you to create your own. For instance, if you need the behavior of a list box but want it to display pictures in a film-strip style layout you use a list box as the actual UI control and then style it to look like a film-strip. While I don't do a lot of WPF work, the people in my company that do don't rely on either Blend or the VS editor and write the XAML mostly by hand. I think it will still be a little while before we get a design experience that feels as "natural" as the WinForms experience, partly due to the learning curve for WPF and partly due to the lack of good tool support.

                                        Scott Dorman

                                        Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines]


                                        Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

                                        1 Reply Last reply
                                        0
                                        • R realJSOP

                                          Super Lloyd wrote:

                                          But I think it's you, probably you are too old to adapt?

                                          If that were the case, I would still be doing C++. And being able/unable to adapt doesn't have anything to do with the fact that the current tools (the WPF designer in the IDE) suck.

                                          "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
                                          Super Lloyd
                                          wrote on last edited by
                                          #45

                                          Just taunting! ;) You should watch the video at the bottom of this blog: http://karlshifflett.wordpress.com/xaml-power-toys/[^] It made me realize the XAML designer is better that I thought! Anyway I mostly just type in my XAML...

                                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                                          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