Jump to content

New To C#

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Mojo

Mojo

    Newbie

  • Members
  • PipPip
  • 16 posts
Hi guyz iam a bit new to C# cuz i've been working professionally in developing oracle forms and database developments, i've decided to switch and to work with visual studio and start a career in visual studio development i have been experminting in C# but i came across WPF and iam a bit confused in like how is it different from Windows forms and if its much better why does windows forms still exist, does it replace it or is there limitations in the regular windows forms or the WPF.

Can some1 please advise me and advise me on which to stick with the WPF or the regular windows forms :)
No iam not a Doctor but i'll have a look

#2
zeroradius

zeroradius

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,406 posts
depends on the job. I haven't used WPF but from what I read it is just has a really cool UI. So if you need some snazy apps it is better to use WPF, but where memory and simplicity is in order you should stick to forms.
Posted Image

#3
Davide

Davide

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 506 posts
WPF is used to make pretty forms. Now it depends on if you want to use some extra things in your application such as the ribbon (from office 2007/2010/paint in windows 7), still i find it hard to use, and i rather use windows forms with some ribbon plug in such as DotNetBar (you can also find other free solutions on the internet).

WPF uses XML for designer, for example to make a ribbon you use:


<Application xmlns="h.t.t.p:/ /schemas.microsoft.com/windows/2009/Ribbon">

  <Application.Commands>

    <Command Name="TabHome" Symbol="cmdTabHome" Id="30000" />

  </Application.Commands>

  <Application.Views>

    <Ribbon>

      <Ribbon.Tabs>

        <Tab CommandName="TabHome">

        </Tab>

      </Ribbon.Tabs>

    </Ribbon>

  </Application.Views>

</Application>


It's not actually hard, you just need to get used to it. I still suggest you stick to windows forms.