System.Windows.Point can't be found

System.Windows.Point can't be found

Miralkong
Advocate Advocate
756 Views
1 Reply
Message 1 of 2

System.Windows.Point can't be found

Miralkong
Advocate
Advocate

Hi, I'm practicing the basic of AutoCAD develop. And based on the ".NET developer's Guide", you could set a point for the main window's top left corner using the following code:image.png

 

 

 

 

 

 

 

 

 

 

 

But when I try this code in my VS2017, it shows the followings:

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I've already referenced the "PresentationCore" to the project. What did I miss?

0 Likes
757 Views
1 Reply
Reply (1)
Message 2 of 2

Miralkong
Advocate
Advocate

Problem solved. Only need to refer the WindowsBase to the project.

0 Likes