public string Show(string previewInput, string Title, string TheMessage) { eMode = gtiCore.eTweakMode.Normal; this.Text = Title; lblTitulo.Text = TheMessage; this.txtInput.Text = previewInput; base.ShowDialog(); return(this.txtInput.Text); }
public string Show(string previewInput, string Title, string TheMessage, int length, gtiCore.eTweakMode Mode) { eMode = Mode; if (length > 0) { this.txtInput.MaxLength = length; } this.Text = Title; lblTitulo.Text = TheMessage; this.txtInput.Text = previewInput; base.ShowDialog(); return(this.txtInput.Text); }