Ejemplo n.º 1
0
        /// <summary>
        /// Initializes this instance and adds the View to the docking region.
        /// </summary>
        public void Initialize()
        {
            AccountsViewModel accmodel = new AccountsViewModel(eventagg);

            this.regionManager.Regions[RegionNames.DockingRegion].Add(new AccountsView(accmodel), "accountsView");
        }
Ejemplo n.º 2
0
 public AccountsView(AccountsViewModel viewModel)
 {
     InitializeComponent();
     list.DataContext = viewModel;
 }