| 123456789101112131415161718192021222324252627282930 |
- 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();
- }
- }
- }
|