public void buttonSingleInit(UiButton Button, int buttonNumber, int tabPage) { Button.TextBoxLocation = new Vector2(buttonDrawPos.X, buttonDrawPos.Y + (buttonNumber * (buttonSize.Y + 10))); Button.SetStringPos(); tabs.Add(Button, tabPage); Button.TextBoxRectangleSet(); }