在wpf中查找对话框. [英] Find Dialog Box in wpf.

查看:122
本文介绍了在wpf中查找对话框.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我在wpf应用程序中使用查找"对话框.我使用的代码如下所示,出现错误找不到类型或名称空间名称"FindDialogBox"(您是否缺少
using指令还是程序集引用?)".
所以请帮帮我.

Hi I am using a Find dialog box in my wpf application.The code that I have used is as written below is giving an error "The type or namespace name ''FindDialogBox'' could not be found (are you missing
a using directive or an assembly reference?)".
So please help me out.

FindDialogBox dlg = new FindDialogBox(this.documentTextBox);
dlg.Owner = this;
dlg.TextFound += new TextFoundEventHandler(dlg_TextFound);
dlg.Show();

推荐答案

FindDialogBox在任何标准的系统库中都不存在,这就是为什么出现此错误的原因. 您要使用的是家用酿造窗口吗?
如果是这样,则需要添加对该库的引用,然后添加名称空间.
FindDialogBox does not exist in any of the standard System libs and that is why you are getting that error.
Is it a home brew window that you are trying to use?
If so you need to add a reference to that library and then add the namespace.


这篇关于在wpf中查找对话框.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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