public void Clean() { if (card != null) { card.Dispose(); } }
private void OnClosing(object sender, CancelEventArgs e) { _cardViewModel.Dispose(); }