public void AddTextBox(int index, int x, int y, int width, string text) { MenuTextBox txt = new MenuTextBox(); txt.X = x; txt.Y = y; txt.Width = width; txt.Text = text; mTextBoxs.Add(index, txt); }