using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TradeIdeas.TIProGUI
{
///
/// TextResultDialog Form
///
public partial class TextResultDialog : Form
{
///
/// Constructor for the TextResultDialog
///
///
///
///
public TextResultDialog(string title, string question, string defaultAnswer="")
{
InitializeComponent();
questionLabel.Text = question;
Text = title;
answerTextBox.Text = defaultAnswer;
answerTextBox.Select();
this.Font = GuiEnvironment.FontSettings;
}
///
/// Returns the contents in the answerTextBox
///
public string Answer
{
get { return answerTextBox.Text; }
set { answerTextBox.Text = value; }
}
}
}