Visual Studio / C# / WPF Tutorials

  • 1
  • Question
  • Updated 4 years ago
  • (Edited)
Years ago, I programmed in C and C++, I've never used C# or WPF. I've downloaded and installed the free version of Visual Studio 2013 and have been able to compile and build the latest FlexLib API, but I'm pretty much stumbling through things. Can some of you recommend a good tutorial for getting starting into writing my own WPF applications in C# / Visual Studio. Free online would be fine, but a physical book is okay.
Photo of Mark Erbaugh

Mark Erbaugh

  • 392 Posts
  • 34 Reply Likes

Posted 4 years ago

  • 1
Photo of Peter K1PGV

Peter K1PGV, Elmer

  • 541 Posts
  • 315 Reply Likes

Unless you're a designer, you'll find it easier to create a visual application using Windows Forms than WPF... though WPF is the "newer" interface (and the one SSDR uses).

The MSFT online tutorial isn't bad:

https://msdn.microsoft.com/en-us/library/dd492132.aspx

Once you've started to play with C#, I think you'll be hooked.  It's soooo easy to create a GUI program it's almost scary.

For help with the FlexLib API, just come here and we'll help you out!

Peter

K1PGV

Photo of Mark Erbaugh

Mark Erbaugh

  • 392 Posts
  • 34 Reply Likes
Peter,

Thanks. I just worked through the tutorial.  I've already been messing the FlexLib API using Python, so I'm hoping that it will be easy to transfer what I've learned to C#.

Do you know of a similar tutorial for WPF? I looked through the other tutorials at Getting Started with Visual Studio (where this tutorial is) and they are all Windows Forms based.
Photo of Richard Clafton W4/G7EIX

Richard Clafton W4/G7EIX, Elmer

  • 455 Posts
  • 117 Reply Likes

The Big Yellow Book of C# is where I started with C#

http://www.robmiles.com/c-yellow-book/

Direct link....

http://www.robmiles.com/s/Rob-Miles-CSharp-Yellow-Book-2014-m2e4.pdf

And.... here are some WPF Books - not sure of the legality of this site, but I normally download them from Amazon and pay for them if a book good enough.    Don't like taking food out of a good authors mouth! :-)

http://it-ebooks.info/tag/wpf/

Regards

Richard W4/G7EIX

(Edited)
Photo of Mark Erbaugh

Mark Erbaugh

  • 392 Posts
  • 34 Reply Likes
Richard,

Thanks, I've loaded my iPad with several books.
Photo of Steve - N5AC

Steve - N5AC, VP Engineering / CTO

  • 1030 Posts
  • 1000 Reply Likes
Mark,

When we started there were a lot of good books.  We bought some and passed them around the office.  I would just go to Amazon or Nerd Books and see what has high marks today and buy one.  WPF is quite a bit trickier than Windows Forms for several reasons.  You really should spend a little time studying the MVVM (a.k.a. MVC) pattern and internalize it before you start coding in WPF.  Understanding XAML (pronounced "zamel" and rhymes with camel) is also important, but you can get by at the start without too much knowledge of XAML.

The world of software has transitioned to this model with UIs for IxD, reusability and separation of concerns reasons and I would recommend investing the time in WPF if you want to understand this new world.  The applications look better and you'll be up with current technology.  It would be tough to convince me to do much of anything in Windows Forms today.

Steve
Photo of Mark Erbaugh

Mark Erbaugh

  • 392 Posts
  • 34 Reply Likes
Steve,

Thanks. I am familiar with MVC programming, so that should help me. I'm not interested in getting back into programming professionally, been there, done that, but I would like to be able to write some little utility type apps for my Flex.
Photo of Jim - N7CXI

Jim - N7CXI

  • 124 Posts
  • 8 Reply Likes
Mark,
coming from a similar background I found that the language syntax itself isn't that big a leap from C/C++, but the object model and some of the built-in's are very different. GL !
Photo of Mark Erbaugh

Mark Erbaugh

  • 392 Posts
  • 34 Reply Likes
Jim, Thanks for the encouragement