private void Submit_Click(object sender, RoutedEventArgs e)
 {
     if (ManagerDB.checkLogin(login.Text, password.Password))
     {
         new Profil().Show();
         this.Close();
     }
     else
     {
         error.Visibility = Visibility.Visible;
     }
 }