private void DropRow (int row)
{
if (Appearance != TabAppearance.Normal)
return;
int bottom = BottomRow;
int direction = Direction;
foreach (TabPage page in TabPages) {
if (page.Row == row) {
page.Row = bottom;
} else if (direction == 1 && page.Row < row) {
page.Row += direction;
} else if (direction == -1 && page.Row > row) {
page.Row += direction;
}
}
}