// Autodesk.AutoCAD.EditorInput.Editor
public unsafe event PointMonitorEventHandler PointMonitor
{
add
{
if (this.m_pointMonitor == null)
{
AcMgPointMonitor* ptr = <Module>.@new(32uL);
AcMgPointMonitor* pointMonitor;
try
{
if (ptr != null)
{
pointMonitor = <Module>.Autodesk.AutoCAD.EditorInput.AcMgPointMonitor.{ctor}(ptr, this);
}
else
{
pointMonitor = 0L;
}
}
catch
{
<Module>.delete((void*)ptr);
throw;
}
this.m_pointMonitor = pointMonitor;
}
<Module>.Autodesk.AutoCAD.EditorInput.AcMgPointMonitor.add(this.m_pointMonitor, value);
}
remove
{
AcMgPointMonitor* pointMonitor = this.m_pointMonitor;
if (pointMonitor != null && <Module>.Autodesk.AutoCAD.EditorInput.AcMgPointMonitor.remove(pointMonitor, value))
{
AcMgPointMonitor* pointMonitor2 = this.m_pointMonitor;
if (pointMonitor2 != null)
{
object arg_27_0 = calli(System.Void* modopt(System.Runtime.CompilerServices.CallConvCdecl)(System.IntPtr,System.UInt32), pointMonitor2, 1, *(*(long*)pointMonitor2));
}
this.m_pointMonitor = null;
}
}
}