SIL.FieldWorks.FwCoreDlgs.CharContextCtrl.gridContext_ClientSizeChanged C# (CSharp) Method

gridContext_ClientSizeChanged() private method

Adjust the width of the columns so they just fit inside the client area of the grid.
private gridContext_ClientSizeChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event /// data.
return void
		private void gridContext_ClientSizeChanged(object sender, EventArgs e)
		{
			if (m_tokenGrid != null && m_tokenGrid.CurrentRow != null)
				AdjustContextGridColumnWidths();
		}