public int BarCursorHeigthConvert() { temp = (float)graphics.PreferredBackBufferHeight / barCursorHeigthFloat; barCursorHeigth = Convert.ToInt32(temp - 19); return barCursorHeigth; }