suddenly having to add System.Windows.Forms.

G

Guest

Hi,
I'd been saying DataGrid.HitTestInfo HitInfo = dg.HitTest(e.X, e.Y); for a
while without any problem (of course with using System.Windows.Forms;). Then
suddently I got errors and had to add System.Windows.Forms. in front of
DataGrid.HitTestInfo. Just wondering if anyone knew of possible reasons for
this.
Thanks!
Melanie
 
G

Guest

Hi melanieab,
what are the errors you are getting? It may be that you have a namespace
conflict, so that you have two different types with the same name, so there
is an ambiguity and hence you have to provide a fully qaulified type name.

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top