Traitement des tickets : #2 , #6 , #7 , #8

This commit is contained in:
2020-12-06 21:54:59 +01:00
parent c945890625
commit 3efd7948a0
14 changed files with 320 additions and 111 deletions

26
InputWindow.xaml.cs Normal file
View File

@@ -0,0 +1,26 @@
using System.Windows;
namespace Hermes {
public partial class InputWindow : Window {
private string inputText = null;
public InputWindow(string title, string message, Window parent) {
InitializeComponent();
msgTextBlock.Text = message;
Title = title;
Owner = parent;
}
private void Valider_Click(object sender, RoutedEventArgs e) {
inputText = inputTextBox.Text;
DialogResult = true;
Close();
}
private void Annuler_Click(object sender, RoutedEventArgs e) {
Close();
}
public string InputText => inputText;
}
}