Esempio n. 1
0
 public TradeWindow()
 {
     InitializeComponent();
     DispatcherHelper.Initialize();
     ViewModel        = ObjFactory.Instance.CreateTradeWindowViewModel();
     this.DataContext = ViewModel;
 }
Esempio n. 2
0
 public void Setup()
 {
     ObjFactory.Instance.Cleanup();
     ViewModel = ObjFactory.Instance.CreateTradeWindowViewModel();
 }