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 or WinForms

WPF or WinForms

Scheduled Pinned Locked Moved The Lounge
csharpwpfwinformsquestion
13 Posts 12 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.
  • L Offline
    L Offline
    LucianPopescu
    wrote on last edited by
    #1

    I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

    R H R N N 8 Replies Last reply
    0
    • L LucianPopescu

      I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      When your boss tells you to? :-)

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      1 Reply Last reply
      0
      • L LucianPopescu

        I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

        H Offline
        H Offline
        Hiren solanki
        wrote on last edited by
        #3

        When design have more priority.

        Rating is Always appreciated.
        Regards,
        Hiren Solanki.
        Indian Forum | My Articles | My Profile


        "You will always find me near 127.0.0.1"

        1 Reply Last reply
        0
        • L LucianPopescu

          I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

          R Offline
          R Offline
          Ravi Sant
          wrote on last edited by
          #4

          WPF is new technology and better. A new language learning curve is involved for .Net programmer. But, WPF allows for much easier data binding through its model and this can result in faster development time. Winforms is comparatively stable and has been for long time. Customer has more trust in this. RAM can go up or down depending on your implementation. WPF stores its data more efficiently so individual objects are smaller, but there tend to be more objects in WPF than in WinForms so this balances out, and either one can come out ahead. WPF is a huge win over WinForms when it comes to maintenance. Choice is Yours! If i had to choose, to develop only, i would got for WPF. But, If i am told i have to maintain it later, WPF pays bad.

          R 1 Reply Last reply
          0
          • R Ravi Sant

            WPF is new technology and better. A new language learning curve is involved for .Net programmer. But, WPF allows for much easier data binding through its model and this can result in faster development time. Winforms is comparatively stable and has been for long time. Customer has more trust in this. RAM can go up or down depending on your implementation. WPF stores its data more efficiently so individual objects are smaller, but there tend to be more objects in WPF than in WinForms so this balances out, and either one can come out ahead. WPF is a huge win over WinForms when it comes to maintenance. Choice is Yours! If i had to choose, to develop only, i would got for WPF. But, If i am told i have to maintain it later, WPF pays bad.

            R Offline
            R Offline
            R Giskard Reventlov
            wrote on last edited by
            #5

            RaviSant wrote:

            But, If i am told i have to maintain it later, WPF pays bad.

            Says it all, really.

            "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

            OriginalGriffO 1 Reply Last reply
            0
            • R R Giskard Reventlov

              RaviSant wrote:

              But, If i am told i have to maintain it later, WPF pays bad.

              Says it all, really.

              "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              :thumbsup:

              Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • L LucianPopescu

                I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #7

                WPF for Desktop, Niche, Bespoke App (Monitoring Apps, Chat, Diagramming Tools, Etc) Windows Forms for Database Applications (Customer Screens Etc).

                Software Kinetics - Moving Software

                D 1 Reply Last reply
                0
                • L LucianPopescu

                  I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

                  N Offline
                  N Offline
                  NMehta83
                  wrote on last edited by
                  #8

                  If your window application needs rich UI then you should use WPF otherwise WinForms.

                  NMehta83 “We cannot fail until we fail to try”

                  1 Reply Last reply
                  0
                  • L LucianPopescu

                    I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

                    K Offline
                    K Offline
                    Keith Barrow
                    wrote on last edited by
                    #9

                    IMO WPF every time, Apply the M-V-VM pattern and it works like a peach (and more code is testable). Winforms is old and clunky. The only problem with WPF is the learning curve, it is different to traditional Winforms development. Also get Snoop[^], it is invaluable and should have been part of the framework.

                    Sort of a cross between Lawrence of Arabia and Dilbert.[^]

                    1 Reply Last reply
                    0
                    • N NormDroid

                      WPF for Desktop, Niche, Bespoke App (Monitoring Apps, Chat, Diagramming Tools, Etc) Windows Forms for Database Applications (Customer Screens Etc).

                      Software Kinetics - Moving Software

                      D Offline
                      D Offline
                      devenv exe
                      wrote on last edited by
                      #10

                      so true, my 5

                      M..X...E

                      1 Reply Last reply
                      0
                      • L LucianPopescu

                        I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

                        R Offline
                        R Offline
                        Richard A Dalton
                        wrote on last edited by
                        #11

                        Lucian-aSterX wrote:

                        In which situations i should use WPF instead of WinForms to create a application ?

                        That depends. Do you already know WPF? If not then use WinForms. Your first job is to deliver working software. If you can meet the requirements with a technology that you already know then that's what you use. The only reasons to use WPF are 1. You've gone and learned WPF and the opportunity arises to join a WPF project. 2. You've got some requirements that you know will be too difficult to implement in WinForms, and sufficiently easy to implement in WPF that the time saved will compensate for the time lost on the learning curve. -Richard

                        Hit any user to continue.

                        P 1 Reply Last reply
                        0
                        • R Richard A Dalton

                          Lucian-aSterX wrote:

                          In which situations i should use WPF instead of WinForms to create a application ?

                          That depends. Do you already know WPF? If not then use WinForms. Your first job is to deliver working software. If you can meet the requirements with a technology that you already know then that's what you use. The only reasons to use WPF are 1. You've gone and learned WPF and the opportunity arises to join a WPF project. 2. You've got some requirements that you know will be too difficult to implement in WinForms, and sufficiently easy to implement in WPF that the time saved will compensate for the time lost on the learning curve. -Richard

                          Hit any user to continue.

                          P Offline
                          P Offline
                          Peter Mulholland
                          wrote on last edited by
                          #12

                          Like the sig, made me laugh :-D

                          Pete

                          1 Reply Last reply
                          0
                          • L LucianPopescu

                            I was just wondering about this: In which situations i should use WPF instead of WinForms to create a application ?

                            A Offline
                            A Offline
                            AspDotNetDev
                            wrote on last edited by
                            #13

                            Lucian-aSterX wrote:

                            i should use WPF

                            Indeed. :-D

                            [Forum Guidelines]

                            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