diff --git a/InfoWindow.axaml b/InfoWindow.axaml new file mode 100644 index 0000000..c7fa303 --- /dev/null +++ b/InfoWindow.axaml @@ -0,0 +1,12 @@ + + + + + diff --git a/InfoWindow.axaml.cs b/InfoWindow.axaml.cs new file mode 100644 index 0000000..e5afd29 --- /dev/null +++ b/InfoWindow.axaml.cs @@ -0,0 +1,15 @@ +using Avalonia; +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace PLG_Exam; + +public partial class InfoWindow : Window +{ + public InfoWindow(string cnt) + { + InitializeComponent(); + + LblInfo.Content=cnt; + } +} \ No newline at end of file diff --git a/MainWindow.axaml b/MainWindow.axaml index c738624..92350c2 100644 --- a/MainWindow.axaml +++ b/MainWindow.axaml @@ -18,6 +18,7 @@