private void ListViewItemDoubleClickedCommandHandler(Debtor doubleClickedDebtor)
        {
            AddDebtWindow          addDebtWindow          = new AddDebtWindow();
            AddDebtWindowViewModel addDebtWindowViewModel = new AddDebtWindowViewModel(ref doubleClickedDebtor, ref addDebtWindow);

            addDebtWindow.DataContext = addDebtWindowViewModel;
            addDebtWindow.Owner       = Application.Current.MainWindow;

            addDebtWindow.ShowDialog();
        }
 public AddDebtWindowViewModel(ref Debtor debtorToModify, ref AddDebtWindow window)
 {
     CurrentDebt    = new Debt();
     DebtorToModify = debtorToModify;
     _window        = window;
 }