private void Add_Click(object sender, RoutedEventArgs e)         // кнопка добавления данных
        {
            EditWindow editWindow = new EditWindow();

            editWindow.Title = "Add account";
            if (editWindow.ShowDialog() == true)
            {
                fillData();
            }
        }
        private void EditBtn_Click(object sender, RoutedEventArgs e)
        {
            EditWindow editWindow = new EditWindow((Account)DataGrid.SelectedItem);

            editWindow.Title = "Edit account";
            if (editWindow.ShowDialog() == true)
            {
                fillData();
            }
        }