Sergio,
Perhaps there's another Search class in other Namespaces? Try fully qualifying it to see if it works then. Try either this:
BusinessLayer.Search mySearch = new BusinessLayer.Search(this.txtSearchString.Text);
or this:
Vips.BusinessLayer.Search mySearch = new Vips.BusinessLayer.Search(this.txtSearchString.Text);
~~Bonnie
>I am trying to use a class library which has a class called Search.cs.
>This class library ( business logic ) is one of the project in my Solution.
>
>The problem that I have is that in my main form ,( frmMain.cs ) another project within the same solution, the intellisense does not show one of the members of Search.cs.
>
>Here is the code
>
>/*
>// namespace of Search.cs
>using Vips.BusinessLayer;
>
>// button on my main form
>private void Search_Click(object sender, System.EventArgs e)
>{
> // Now proceed to call the Business object
> Search mySearch = new Search(this.txtSearchString.Text);
> MessageBox.Show(mySearch._StringToSearch);
>}
>*/
>
>When I type on my main form : "mySearch." I should be able to see the members of Search.cs.
>
>Do I have to do something to be able to have intellisence working?
>
>
>Thanks,
>Sergio