private void AWBTabControl_SelectedIndexChanged( object sender, EventArgs e ) { UpdateUpDown(); Invalidate(); // we need to update border and background colors }