private void RemoveFromWindow() { if (this.window != null) { this.window.Remove(this); this.window = null; } }
private void AddToWindow() { if (((this.window == null) && (this.control.Created || this.control.RecreatingHandle)) && ((this.control.Visible && (this.control.ParentInternal != null)) && (this.error.Length > 0))) { this.window = this.provider.EnsureErrorWindow(this.control.ParentInternal); this.window.Add(this); if (this.provider.BlinkStyle != ErrorBlinkStyle.NeverBlink) { this.StartBlinking(); } } }