/// <summary> /// Handle text entered /// </summary> /// <param name="sender">Object sender</param> /// <param name="e">Event arguments</param> private void TextEntered(object sender, SFML.Window.TextEventArgs e) { if (GuiManager.CurrentFocus is TextBox) { TextBox tControl = (TextBox)GuiManager.CurrentFocus; tControl.Add(e.Unicode); } }