diff --git a/WPF/MainWindow.xaml b/WPF/MainWindow.xaml
index 73bcc69..b986596 100644
--- a/WPF/MainWindow.xaml
+++ b/WPF/MainWindow.xaml
@@ -15,7 +15,7 @@
-
+
+
+
+
@@ -64,5 +133,7 @@
+
+
diff --git a/WPF/MainWindow.xaml.cs b/WPF/MainWindow.xaml.cs
index 0bf2805..6c80970 100644
--- a/WPF/MainWindow.xaml.cs
+++ b/WPF/MainWindow.xaml.cs
@@ -1,4 +1,5 @@
-using System.Text;
+using System.Media;
+using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
@@ -16,43 +17,13 @@ namespace WPF
///
public partial class MainWindow : Window
{
- public ICommand ShowMessageBox { get; set; }
public MainWindow()
{
InitializeComponent();
- ShowMessageBox = new RelayCommand(LoginShowBox);
- DataContext = this;
}
private void LoginShowBox(object parameter)
{
MessageBox.Show("Вход");
}
}
- public class RelayCommand : ICommand
- {
- private readonly Action