Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody!
I have explored the new format of forms design.(WPF).
I have done a form project in C# control forms. I want to switch to WPF form. please guide me if there is some quick conversion from system form to WPF form.
thank You.
Regards.
Posted

1 solution

Well, if you view the ".designer.cs" file corresponding to the Form, that can mostly be used to create a Window in WPF. You basically create controls and add them to other controls. However, some of the controls are different and some properties are handled differently, so you'll have to handle those manually.

You could also learn XAML and create the controls that ways. Again, this would be manual.

You could make the Form a control, then host that Windows Forms control in the WPF Window (yeah, you can do that).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900