public int CascadeSize(int screenSize, int minSize) { CheckDisposed(); int retSize = (screenSize * 2) / 3; if (retSize < minSize) retSize = minSize; return retSize; }