简体   繁体   中英

Making a C# console application interact with wpf

If this is possible, I would like to make in C# a wpf application that has a console window in it. Also, I would like to have the console interact with the WPF form so that if you are complete with a console activity it can tell the wpf application and close. I guess this would be a basic inheritance program, but with a console/simulated console included.

You want something called interprocess communication.

There is a lot of ways of do that , but the easiest is the Named Pipes IMHO.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM