public PropertyManagerPageOptionBoxEx(int id, object tag,
                                       PropertyManagerPageOptionBox optionBox, ReadOnlyCollection <Enum> values,
                                       PropertyManagerPageHandlerEx handler) : base(optionBox, id, tag, handler)
 {
     m_Values = values;
     m_Handler.OptionChecked += OnOptionChecked;
 }
 public PropertyManagerPageComboBoxEx(int id, object tag,
                                      IPropertyManagerPageCombobox comboBox, ReadOnlyCollection <Enum> values,
                                      PropertyManagerPageHandlerEx handler) : base(comboBox, id, tag, handler)
 {
     m_Values = values;
     m_Handler.ComboBoxChanged += OnComboBoxChanged;
 }
 public PropertyManagerPageBitmapEx(IconsConverter iconsConv,
                                    int id, object tag, Size?size,
                                    IPropertyManagerPageBitmap bitmap,
                                    PropertyManagerPageHandlerEx handler) : base(bitmap, id, tag, handler)
 {
     m_Size      = size.HasValue ? size.Value : new Size(18, 18);
     m_IconsConv = iconsConv;
 }
예제 #4
0
        public PropertyManagerPageSelectionBoxEx(ISldWorks app, int id, object tag,
                                                 IPropertyManagerPageSelectionbox selBox,
                                                 PropertyManagerPageHandlerEx handler, Type objType, ISelectionCustomFilter customFilter = null)
            : base(selBox, id, tag, handler)
        {
            m_App          = app;
            m_ObjType      = objType;
            m_CustomFilter = customFilter;

            m_Handler.SelectionChanged += OnSelectionChanged;

            if (m_CustomFilter != null)
            {
                m_Handler.SubmitSelection += OnSubmitSelection;
            }
        }
예제 #5
0
 public PropertyManagerPageNumberBoxEx(int id, object tag,
                                       IPropertyManagerPageNumberbox numberBox,
                                       PropertyManagerPageHandlerEx handler) : base(numberBox, id, tag, handler)
 {
     m_Handler.NumberChanged += OnNumberChanged;
 }
예제 #6
0
 protected PropertyManagerPageControlEx(TSwControl ctrl, int id, object tag, PropertyManagerPageHandlerEx handler)
     : base(id, tag)
 {
     SwSpecificControl = ctrl;
     m_Handler         = handler;
 }
 public PropertyManagerPageCheckBoxEx(int id, object tag,
                                      IPropertyManagerPageCheckbox checkBox,
                                      PropertyManagerPageHandlerEx handler) : base(checkBox, id, tag, handler)
 {
     m_Handler.CheckChanged += OnCheckChanged;
 }
 internal PropertyManagerPageTextBoxEx(int id, object tag,
                                       IPropertyManagerPageTextbox textBox,
                                       PropertyManagerPageHandlerEx handler) : base(textBox, id, tag, handler)
 {
     m_Handler.TextChanged += OnTextChanged;
 }
 public PropertyManagerPageLabelEx(IPropertyManagerPageLabel ctrl, int id, object tag, PropertyManagerPageHandlerEx handler) : base(ctrl, id, tag, handler)
 {
     ValueChanged?.Invoke(this, text);
 }
예제 #10
0
 public PropertyManagerPageWindowFromHandleEx(IPropertyManagerPageWindowFromHandle ctrl, int id, object tag, PropertyManagerPageHandlerEx handler) : base(ctrl, id, tag, handler)
 {
     m_Handler.WindowFromHandleControlCreated += M_Handler_WindowFromHandleControlCreated;
 }
 public PropertyManagerPageButtonEx(int id, object tag,
                                    IPropertyManagerPageButton button,
                                    PropertyManagerPageHandlerEx handler) : base(button, id, tag, handler)
 {
     m_Handler.ButtonPressed += OnButtonPressed;
 }