Exemplo n.º 1
0
        public void Dispose()
        {
            viewModel.UserInterfaceViewModel.UserInterfaceShown  -= ViewModel_UserInterfaceShown;
            viewModel.UserInterfaceViewModel.UserInterfaceHidden -= ViewModel_UserInterfaceHidden;

            UserInterfaceControl.Dispose();
        }
Exemplo n.º 2
0
        void SetupViewModel()
        {
            viewModel.UserInterfaceViewModel.UserInterfaceShown  += ViewModel_UserInterfaceShown;
            viewModel.UserInterfaceViewModel.UserInterfaceHidden += ViewModel_UserInterfaceHidden;

            DataContext = viewModel;

            UserInterfaceControl.Initialize(viewModel.UserInterfaceViewModel);
        }