
while (TheBit)
{ // panel is busy
  WaitTimeAccumultor++
}