示例#1
0
 protected PropertyManagerPageBaseControlConstructor(ISldWorks app, swPropertyManagerPageControlType_e type,
                                                     IconsConverter iconsConv)
 {
     m_App      = app;
     m_IconConv = iconsConv;
     m_Type     = type;
 }
 public PMPageControl(swPropertyManagerPageControlType_e controlType)
 {
     ControlType = controlType;
     Align       = swPropertyManagerPageControlLeftAlign_e.swControlAlign_LeftEdge;
     Options     = swAddControlOptions_e.swControlOptions_Enabled |
                   swAddControlOptions_e.swControlOptions_Visible;
     ID = Pid;
     Pid++;
     Caption = "";
     tip     = "";
 }
 public PMPageControl(int iD, string caption, string hint,
                      swPropertyManagerPageControlType_e controlType,
                      swPropertyManagerPageControlLeftAlign_e align,
                      swAddControlOptions_e options)
 {
     ControlType = controlType;
     Align       = align;
     Options     = options;
     ID          = iD;
     Caption     = caption;
     tip         = hint;
 }