Example #1
0
 private void fillProjects()
 {
     if (UserOptions != null && ProjectProvider != null)
     {
         var             user = UserOptions.getOptions().Username;
         IList <Project> projects;
         new Action(() =>
         {
             //May Take a while
             projects = ProjectProvider.getProjectsForUser(user);
             DispatcherHelper.CheckBeginInvokeOnUI(() =>
             {
                 Projects = projects;
             });
         }).BeginInvoke(null, null);
     }
 }