protected override void Initialize(System.Windows.Forms.ToolStrip toolStrip)
        {
            base.Initialize(toolStrip);

            this.rendererFor = toolStrip;

            toolStrip.FindForm().Activated  += this.Form_Activated;
            toolStrip.FindForm().Deactivate += this.Form_Deactivated;
        }
Exemplo n.º 2
0
        protected override void Initialize(ToolStrip toolStrip)
        {
            base.Initialize(toolStrip);

            this.rendererFor = toolStrip;

            toolStrip.FindForm().Activated += this.Form_Activated;
            toolStrip.FindForm().Deactivate += this.Form_Deactivated;
        }