static int ProgressBarGetChunkSize (int progressBarClientAreaHeight) { int size = (progressBarClientAreaHeight * 2) / 3; return size; }