Ejemplo n.º 1
0
 public PropertyControlMap(IPageViewSite pageViewSite, 
     IPropertyPageUI propertyPageUI, PropertyControlTable propertyControlTable)
 {
     this.propertyControlTable = propertyControlTable;
     this.pageViewSite = pageViewSite;
     this.propertyPageUI = propertyPageUI;
 }
Ejemplo n.º 2
0
        public void Activate(IntPtr hWndParent, RECT[] pRect, int bModal)
        {
#if DEBUG
            if (pRect == null)
            {
                throw new ArgumentNullException(nameof(pRect));
            }

            if (pRect.Length == 0)
            {
                throw new ArgumentOutOfRangeException(nameof(pRect));
            }
#endif
            _propertyPageUI = CreatePropertyPageUI();

            var vsRect = pRect[0];
            var rect   = new Rectangle(vsRect.left, vsRect.top, vsRect.right - vsRect.left, vsRect.bottom - vsRect.top);

            var modal = bModal.ToBoolean();

            _propertyPageUI.Activate(hWndParent, rect, modal);
        }
Ejemplo n.º 3
0
 public PropertyControlMap(IPageViewSite pageViewSite, IPropertyPageUI propertyPageUI, PropertyControlTable propertyControlTable)
 {
     m_propertyControlTable = propertyControlTable;
     m_pageViewSite         = pageViewSite;
     m_propertyPageUI       = propertyPageUI;
 }
Ejemplo n.º 4
0
 public PropertyPage()
 {
     _propertyPageUI = CreatePropertyPageUI();
 }