From 703710cbc4dbb96d20a5c54a1f77e241f24ff7fc Mon Sep 17 00:00:00 2001 From: thchazot1 Date: Fri, 15 Apr 2022 12:35:07 +0200 Subject: [PATCH] Avancement add a shark --- WpfApp1/AddAShark.xaml | 32 ++++++++++++++++++++++++++------ WpfApp1/AddAShark.xaml.cs | 5 +++++ WpfApp1/MainWindow.xaml | 4 +++- WpfApp1/UserControlBoite.xaml | 3 ++- WpfApp1/UserControlBoite.xaml.cs | 9 +++++++++ 5 files changed, 45 insertions(+), 8 deletions(-) diff --git a/WpfApp1/AddAShark.xaml b/WpfApp1/AddAShark.xaml index 1e7a803..4e5b814 100644 --- a/WpfApp1/AddAShark.xaml +++ b/WpfApp1/AddAShark.xaml @@ -26,12 +26,32 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + diff --git a/WpfApp1/UserControlBoite.xaml b/WpfApp1/UserControlBoite.xaml index debf689..8f2e146 100644 --- a/WpfApp1/UserControlBoite.xaml +++ b/WpfApp1/UserControlBoite.xaml @@ -12,7 +12,8 @@ - + diff --git a/WpfApp1/UserControlBoite.xaml.cs b/WpfApp1/UserControlBoite.xaml.cs index a99ccc9..2fa01b3 100644 --- a/WpfApp1/UserControlBoite.xaml.cs +++ b/WpfApp1/UserControlBoite.xaml.cs @@ -24,5 +24,14 @@ namespace WpfApp1 { InitializeComponent(); } + + public string Message + { + set + { + leTextBlock.Text = value; + } + } + } }