public MainWindowViewModel()
        {
            BaseIntelligence = new FrameWork.Intelligence.CoreIntelligence(this);
            BaseIntelligence.CoreIntelligence.UserIntelligence.UserLoggedIn += new FrameWork.Intelligence.Accounting.UserIntelligence.UserLoggedInEventHandler(UserIntelligence_UserLoggedIn);
            LoginViewViewModel = new LoginViewModel();
            LoginViewViewModel.BaseIntelligence = BaseIntelligence;
            initPages();

            _closingCommand = new EasySocial.FrameWork.Commands.BaseCommand(new Action<object>(updateIntelligence));
            _closeCommand = new EasySocial.FrameWork.Commands.BaseCommand(new Action<object>(closeApplication));
            _showConfigCommand = new EasySocial.FrameWork.Commands.BaseCommand(new Action<object>(showConfig));
            BaseIntelligence.CoreIntelligence.ThreadingIntelligence.StartThread(updateTime);
            _loginState = new Views.LoginView();
            _loginState.DataContext = LoginViewViewModel;
            LoginViewViewModel.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(LoginViewViewModel_PropertyChanged);
            _contextMenuItems = new AsyncObservableCollection<EasySocial.FrameWork.Controls.ContextMenuItem>();
            PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(MainWindowViewModel_PropertyChanged);
        }
 public ConfigurationViewModel(FrameWork.Intelligence.CoreIntelligence intelligence)
 {
     // TODO: Complete member initialization
     this.intelligence = intelligence;
 }