private void ChatHistoryView_Loaded(object sender, RoutedEventArgs e) { HisMsgTarget = this.flowDoc; this.Loaded -= ChatHistoryView_Loaded; this.calendar.DisplayDateEnd = DateTime.Now; this.rbtnAll.IsChecked = true; }
private void ChatHistoryView_Unloaded(object sender, RoutedEventArgs e) { HisMsgTarget = null; }