Ejemplo n.º 1
0
        public MessageCollectionView(TwitterApplication app, ClickDelegate click)
        {
            //maybe create with a currentSelection object?
            Messages = new ObservableCollection <IMessageView>();

            application   = app;
            clickDelegate = click;
        }
Ejemplo n.º 2
0
        public FilterMenuView(TwitterApplication app, ClickDelegate del)
        {
            application   = app;
            clickDelegate = del;

            UserWhitelist = String.Empty;
            UserBlacklist = String.Empty;
            WordBlacklist = String.Empty;
            WordWhitelist = String.Empty;
            Visibility    = Visibility.Collapsed;
        }
Ejemplo n.º 3
0
 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);
 }
 public DirectMessageSenderView(TwitterApplication app, string name)
 {
     application = app;
     Username    = name;
 }
Ejemplo n.º 5
0
 public TweetSenderView(TwitterApplication app, string username = "")
 {
     application = app;
     Text        = (username == "") ? "" : "@" + username;
 }