public void Unload() { m_Inst = null; GC.Collect(); GC.WaitForPendingFinalizers(); }
public void LoadInst(IPXV_Inst inst) { Inst = inst; IUIX_Inst uiInst = (IUIX_Inst)Inst.GetExtension("UIX"); Rectangle rcCl = ClientRectangle; tagRECT rc; rc.left = rcCl.Left; rc.top = rcCl.Top; rc.right = rcCl.Right; rc.bottom = rcCl.Bottom; UIX_CreateObjParams cp = new UIX_CreateObjParams(); cp.nStdClass = (int)UIX_StdClasses.UIX_StdClass_Blank; cp.hWndParent = (uint)Handle.ToInt32(); cp.rc = rc; parentBase = uiInst.CreateObj(ref cp); pagesPreviewCtl = Inst.CreatePagesPreviewCtl(parentBase, rc, "ctrl.01", (long)PXV_PagesPreviewStyleFlags.PXV_PagesPreviewStyle_NoHandTool | (long)PXV_PagesPreviewStyleFlags.PXV_PagesPreviewStyle_NonInertialHand | (long)PXV_PagesPreviewStyleFlags.PXV_PagesPreviewStyle_InteractiveLayout, (long)UIX_ScrollStyleFlags.UIX_ScrollStyle_Horz | (long)UIX_ScrollStyleFlags.UIX_ScrollStyle_Vert); }
public CmdBarTree(IPXV_Inst Inst, ref MyTreeView Tree) { m_Inst = Inst; m_uiInst = (IUIX_Inst)Inst.GetExtension("UIX"); m_Tree = Tree; }
public void ReleaseInst() { m_doc?.Close(); pagesPreviewCtl = null; Inst = null; }
public void Setup(PXV_Inst pInstance) { m_Inst = pInstance; }