using System.Windows; namespace TeamAAS_VP.Views.Dialogs { public partial class TextInputDialog : Window { public TextInputDialog() { InitializeComponent(); } public string InputText { get { return InputBox.Text; } set { InputBox.Text = value; } } private void Ok_Click(object sender, RoutedEventArgs e) { DialogResult = true; Close(); } private void Cancel_Click(object sender, RoutedEventArgs e) { DialogResult = false; Close(); } } }