Click here to Skip to main content
15,885,084 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
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.

C#
FindDialogBox dlg = new FindDialogBox(this.documentTextBox);
dlg.Owner = this;
dlg.TextFound += new TextFoundEventHandler(dlg_TextFound);
dlg.Show();
Posted
Updated 3-Nov-11 11:08am
v4

1 solution

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.
 
Share this answer
 
v3
Comments
Member 8358207 3-Nov-11 17:24pm    
So what are the refrences and namespace that we have to add in the solution.
Thanks
[no name] 3-Nov-11 17:38pm    
Well the group that informed you to use the control would have provided you the assembly and what namespace the control is in.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900