public void UpdateUserView()
 {
     if (selectedUser.Equals(application.User))
     {
         UserView = new OwnUserView(selectedUser);
     }
     else
     {
         UserView = new SelectedUserView(new ClickDelegate(HandleClick), application.User, selectedUser);
     }
 }
 public MainWindowView(TwitterApplication app, Account curAccount)
 {
     application    = app;
     selectedUser   = app.User;
     currentAccount = curAccount;
     MessageView    = new MessageCollectionView(app, new ClickDelegate(HandleClick));
     SenderView     = new TweetSenderView(app);
     UserView       = new OwnUserView(selectedUser);
     SearchView     = new SearchView(new ClickDelegate(HandleClick));
     FilterView     = new FilterMenuView(app, new ClickDelegate(HandleClick));
     viewMode       = ViewMode.MainView;
     UpdateViewModels(viewMode);
 }