public ExGripDrag(ObjectId id, ExGripManager pOwner) { ObjectId[] arrId = new ObjectId[1]; arrId[0] = id; subentPath = new FullSubentityPath(arrId, SubentityId.Null); m_pOwner = pOwner; }
public ExGripData(FullSubentityPath entPath, GripData pData, Point3d pt, ExGripManager pOwner) { m_status = GripData.DrawType.WarmGrip; m_bInvisible = false; m_bShared = false; m_point = pt; m_pData = pData; m_entPath = entPath; m_pOwner = pOwner; }
public ExGripData() { m_status = GripData.DrawType.WarmGrip; m_bInvisible = false; m_bShared = false; m_point = Point3d.Origin; m_entPath = new FullSubentityPath(); m_pOwner = null; m_pData = null; }
public ExGripData(ObjectId id, Point3d pt, ExGripManager pOwner) { m_status = GripData.DrawType.WarmGrip; m_bInvisible = false; m_bShared = false; m_point = pt; ObjectId[] arrId = new ObjectId[1]; arrId[0] = id; m_entPath = new FullSubentityPath(arrId, SubentityId.Null); m_pOwner = pOwner; m_pData = null; }
public Form1() { dd = new Teigha.Runtime.Services(); SystemObjects.DynamicLinker.LoadApp("GripPoints", false, false); SystemObjects.DynamicLinker.LoadApp("PlotSettingsValidator", false, false); InitializeComponent(); this.MouseWheel += new MouseEventHandler(Form1_MouseWheel); HostApplicationServices.Current = new HostAppServ(dd); Environment.SetEnvironmentVariable("DDPLOTSTYLEPATHS", ((HostAppServ)HostApplicationServices.Current).FindConfigPath(String.Format("PrinterStyleSheetDir"))); gripManager = new ExGripManager(); mouseMode = Mode.Quiescent; //DisableAero(); }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { if (selRect != null) { helperDevice.ActiveView.Erase(selRect); } selRect = null; gripManager.uninit(); gripManager = null; if (graphics != null) { graphics.Dispose(); } if (helperDevice != null) { helperDevice.Dispose(); } if (database != null) { database.Dispose(); } dd.Dispose(); }
public ExGripDrag(FullSubentityPath entPath, ExGripManager pOwner) { subentPath = entPath; m_pOwner = pOwner; }
public void uninit() { cloneEnt = null; m_pOwner = null; }
public ExGripDrag() { m_pOwner = null; }