public WhisperWindow(Conversation conversation, Participant participant, SeriousBusinessCat seriousBusiness, string info)
{
this.conversation = conversation;
this.participant = participant;
this.seriousBusiness = seriousBusiness;
InitializeComponent();
this.DataContext = this;
InitCommands();
this.Activated += (s,e) => { FlashWindow.Stop(this); };
lbWhispers.ItemsSource = _whispers;
string bob = "neighbor cat";
if (participant != null)
{
bob = participant.Contact.GetContactInformation(ContactInformationType.DisplayName).ToString();
}
textBlock.Text = bob;
if (!string.IsNullOrEmpty(info))
{
textBlock.ToolTip = info;
}
this.Title = $"Whispering with {bob}";
FocusManager.SetFocusedElement(this, tbMessage);
}