如何在我的WPF应用程序中显示C#文件输出? [英] How to display C# file output in my WPF application?

查看:94
本文介绍了如何在我的WPF应用程序中显示C#文件输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个在输出窗口中显示输出的项目。我想在我的WPF应用程序中打印它。



如何做到这一点?



我的尝试: <当我点击一个按钮而不是在输出窗口显示结果时,必须在另一个.XAML页面中显示


输出

解决方案

看看这个:在C#应用程序中嵌入控制台 [

I have created a project which shows output in output window. I want to print it in my WPF application itself.

How to do this?

What I have tried:

output have to be displayed in another .XAML page when i click a button, instead of displaying result in output window

解决方案

Take a look at this: Embedding a Console in a C# Application[.]


这篇关于如何在我的WPF应用程序中显示C#文件输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆