When I compile IPLAB 2.7 from source using visual studio 2010, I got 10 errors.
The errors are all the same:
Point is ambiguous between System.Drawing.Point and AForge.Point
I fixed 6 errors by specified System.Drawing.Point.
But the following 4 errors remained.
ImageDoc.cs: Line 2008, 2012, 2016, 2023.
- Code: Select all
// Selection arguments
public class SelectionEventArgs : EventArgs
{
private Point location;
private Size size;
// Constructors
public SelectionEventArgs(Point location)
{
this.location = location;
}
public SelectionEventArgs(Point location, Size size)
{
this.location = location;
this.size = size;
}
// Location property
public Point Location
{
get { return location; }
}
// Size property
public Size Size
{
get { return size; }
}
}
Please help, really appreciate.