Extending a C # console application in a WPF application

What is the best way to convert a simple console application to WPF? and I'm FULL newb, so be careful! The console application displays information according to the user's choices. The real simple stuff, but I would like to create a GUI for it in WPF .. and I am looking for the first steps to use it.

+3
source share
2 answers

This and this (video) may be worth checking out. They will start by creating a WPF application, you will need to figure out how to port an existing interface to WPF, although this may not be so simple because there is a big shift in creating a console application (Console.WriteLine / Console.Read) and a GUI application with GUI objects with events and display properties.

I recommend jumping over with the links above and asking additional questions here when you're stuck.

+1
source

First you need to think about how the new interface will behave. Guy is different from console interaction. Draw the paper you want, buttons, text areas, etc. Think about logic, and it should behave like a wizard, button interactions, etc.

WPF, , ths

+1

Source: https://habr.com/ru/post/1741293/


All Articles