internal PropertyManagerPageGroupBase(int id, object tag, SwPropertyManagerPageHandler handler,
                                       ISldWorks app, PropertyManagerPagePage parentPage) : base(id, tag)
 {
     Handler    = handler;
     App        = app;
     ParentPage = parentPage;
 }
예제 #2
0
        internal PropertyManagerPageGroupControl(int id, object tag, SwPropertyManagerPageHandler handler,
                                                 IPropertyManagerPageGroup group,
                                                 ISldWorks app, PropertyManagerPagePage parentPage, IMetadata metadata, bool isCheckable, bool collapse)
            : base(id, tag, handler, app, parentPage)
        {
            Group            = group;
            m_ToggleMetadata = metadata;

            m_IsCheckable = isCheckable;
            m_Collapse    = collapse;

            Handler.GroupChecked += OnGroupChecked;

            if (m_ToggleMetadata != null)
            {
                m_ToggleMetadata.Changed += OnToggleChanged;
            }

            Handler.Opened += OnPageOpened;
        }
 internal PropertyManagerPageGroupControl(int id, object tag, SwPropertyManagerPageHandler handler,
                                          IPropertyManagerPageGroup group,
                                          ISldWorks app, PropertyManagerPagePage parentPage) : base(id, tag, handler, app, parentPage)
 {
     Group = group;
 }
예제 #4
0
 internal PropertyManagerPageTabControl(int id, object tag, SwPropertyManagerPageHandler handler,
                                        IPropertyManagerPageTab tab,
                                        ISldWorks app, PropertyManagerPagePage parentPage, IMetadata[] metadata) : base(id, tag, handler, app, parentPage, metadata)
 {
     Tab = tab;
 }