2 Replies - 303 Views - Last Post: 22 October 2011 - 09:48 AM Rate Topic: -----

#1 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,689
  • Joined: 13-March 10

WinForms and WPF

Posted 22 October 2011 - 09:36 AM

Hi. My question is whether i can transfer knowledge from one technology to other.For example, event handlers in WinForms etc. I know that WPF can also be built in C# but lets say if i code the WPF UI in XAML, then will i be able to use "normal" WinForms button clicks etc in WPF?

Hope you get my question.
Is This A Good Question/Topic? 0
  • +

Replies To: WinForms and WPF

#2 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4469
  • View blog
  • Posts: 7,780
  • Joined: 08-June 10

Re: WinForms and WPF

Posted 22 October 2011 - 09:45 AM

The mechanics are basically the same. It's mostly the UI that is different. So, for XAML buttons (System.Windows.Controls.Button), there's a Click event, that you handle in the exact same way as you would in Windows Forms.

My suggestion is to just make a WPF test project and try things.
Was This Post Helpful? 2
  • +
  • -

#3 darek9576  Icon User is offline

  • D.I.C Lover

Reputation: 198
  • View blog
  • Posts: 1,689
  • Joined: 13-March 10

Re: WinForms and WPF

Posted 22 October 2011 - 09:48 AM

Awesome. Thank you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1