Click here to Skip to main content
14,668,804 members
Rate this:
Please Sign up or sign in to 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.

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

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
Member 8358207 3-Nov-11 17:24pm
So what are the refrences and namespace that we have to add in the solution.
[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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100