public TextBox(TextBoxStyle style, string text) { TextBoxStyle = style; btTexture = new ButtonTexture(@"Content\Textures\Resources\Start\TextBox-" + TextBoxStyle.ToString(), "TextBox-" + TextBoxStyle.ToString(), null) { FireEventWhenUnEnable = true }; Cursor = TextBoxStyle.ToString(); MouseOver = false; Visible = true; Enable = true; Text = text; ViewText = Text.WordsSubString(8); //if (Setting.Current.Language == "传统" && !String.IsNullOrEmpty(ViewText)) //{ // ViewText = ViewText.TranslationWords(false, true); //} }