ComponentFactory.Krypton.Toolkit.VisualControl.EndInit C# (CSharp) Method

EndInit() public method

Signals the object that initialization is complete.
public EndInit ( ) : void
return void
        public virtual void EndInit()
        {
            // We are now initialized
            _initialized = true;

            // We are no longer initializing
            _initializing = false;

            // Need to recalculate anything relying on the palette
            DirtyPaletteCounter++;

            // We always need a paint and layout
            OnNeedPaint(this, new NeedLayoutEventArgs(true));

            // Should layout once initialization is complete
            ResumeLayout(true);

            // Raise event to show control is now initialized
            OnInitialized(EventArgs.Empty);
        }