How can I use Windows.Forms in C# WPF?(ex. FolderBrowserDialog)

 To use elements of windows.forms in WPF, you need to do as follows..

1. Select a project in the solution window.

2. Right click and select properties.



3. Select a Application tab.
4. Find "Windows.Forms".
5. Check the "Enable Windows Forms for this project".

6. And save.

Finally,





For example, you can use "FolderBrowserDialog"..





댓글

가장 많이 본 글