suddenly having to add System.Windows.Forms.

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top