SIL.FieldWorks.IText.InterlinDocForAnalysis.OnPaint C# (CSharp) Method

OnPaint() protected method

As a last resort for making sure the focus box is where we think it should be, check every time we paint. A recursive call may well happen, since an Update() is called if MoveFocusBoxIntoPlace needs to scroll. However, it can't get infinitely recursive, since MoveFocusBoxIntoPlace is guarded against being called again while it is active.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void
		protected override void OnPaint(PaintEventArgs e)
		{
			base.OnPaint(e);
#if !__MonoCS__ // FWNX-419
			if (!MouseMoveSuppressed && IsFocusBoxInstalled)
				MoveFocusBoxIntoPlace(true);
#endif
		}
InterlinDocForAnalysis