Пример #1
0
        /// <summary>
        /// Initializes a new instance of the XPanderPanelList class.
        /// </summary>
        public XPanderPanelList()
        {
            // Dieser Aufruf ist für den Windows Form-Designer erforderlich.
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, false);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);

            InitializeComponent();

            this.m_xpanderPanels = new XPanderPanelCollection(this);

            this.ShowBorder         = true;
            this.PanelStyle         = PanelStyle.Default;
            this.LinearGradientMode = LinearGradientMode.Vertical;
            this.CaptionHeight      = 25;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the XPanderPanelList class.
        /// </summary>
        public XPanderPanelList()
        {
            // Dieser Aufruf ist für den Windows Form-Designer erforderlich.
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.ResizeRedraw, false);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);

            InitializeComponent();

            this.m_xpanderPanels = new XPanderPanelCollection(this);

            this.ShowBorder = true;
            this.PanelStyle = PanelStyle.Default;
            this.LinearGradientMode = LinearGradientMode.Vertical;
            this.CaptionHeight = 25;
        }