简体   繁体   中英

Dialog that can be use in winform and wpf

Good day.

I created a dll. In this library i need to embed a dialog(which shows some values on textbox) which can run on windows form and wpf . i use winform in my dll but the problem is i can't show the dialog in wpf. i can't use Messagebox because i have a multiline textbox for user input.

Here is the screenshot of my dialog

在此处输入图片说明 Thank you.

您可以使用WindowsFormsHost,这是一个文档告诉您如何使用它: 在WPF中托管Windows Forms控件

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