Beispiel #1
0
            public override void Initialize(IComponent component)
            {
                base.Initialize(component);

                // Record instance of control we're designing
                _pad = (SEPad)component;
                this.EnableDesignMode(_pad.ContentPanel, "contentPanel");
            }
Beispiel #2
0
            public TitlePanel(SEPad pad)
            {
                Pad = pad;

                this.SetStyle(ControlStyles.DoubleBuffer |
                              ControlStyles.UserPaint |
                              ControlStyles.AllPaintingInWmPaint,
                              true);
                this.UpdateStyles();

                this.ResizeRedraw = true;
            }