Esempio n. 1
0
        public void ShowTransactionRoll(AccountItem accItem)
        {
            TransactionRoll          window  = new TransactionRoll();
            TransactionRollService   service = new TransactionRollService(window);
            TransactionRollViewModel vm      = new TransactionRollViewModel(accItem, service);

            window.DataContext = vm;
            window.Owner       = mainWindow;
            window.ShowDialog();
        }
 public TransactionRollService(TransactionRoll rollWindow)
 {
     this.rollWindow = rollWindow;
 }