/// <summary> /// Método do botão 1, mouse up. (OK) /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void Button_1_MouseUp(object sender, EngineEventArgs e) { EngineMultimedia.Play(EngineSoundEnum.Click); //delete if (InputBoxAction == EngineInputBoxAction.Delete) { if (TextBox.Text.CompareTo("deletar") == 0) { WorldPacket.DeleteCharacter((byte)WindowCharacter.SelectedIndex); Hide(); } else { TextBox.Text = string.Empty; } } }