Ejemplo n.º 1
0
        public void CreateNewTradeWindow(Fund fund)
        {
            Window view = new AddTradeWindow();
            ViewModelWindowBase viewModel = new AddTradeWindowViewModel(_transactionService, _staticReferences, fund);

            view = ApplyWindowAttributes(view, viewModel);
            view.ShowDialog();
        }
Ejemplo n.º 2
0
 public void GetTradeDetails(object sender)
 {
     _context.Send(_ =>
     {
         var window = new AddTradeWindow {
             DataContext = sender
         };
         window.ShowDialog();
     });
 }