internal FollowManagerWindow(StatusesListBoxCommandHandler commandHandler, ClientParameters cp) { InitializeComponent(); this.Title += " (" + cp.Accounts.Single() + ")"; this.ViewModel.RequestMessageBox += (sender, e) => e.Value(this); this.ViewModel.Apply(commandHandler, cp); }
internal void Apply(StatusesListBoxCommandHandler commandHandler, ClientParameters cp) { this.CommandHandler = commandHandler; this.cp = cp; BeginRefreshFollows(); BeginRefreshBlocks(); }