void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dp_TypesCheck = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.rbtnAll = ((System.Windows.Controls.RadioButton)(target)); #line 24 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.rbtnAll.Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 3: #line 25 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 4: #line 26 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked); #line default #line hidden return; case 5: this.pbtnMore = ((IMCustomControls.PopupToggleButton)(target)); return; case 6: this.ptbtnCalendar = ((IMCustomControls.PopupToggleButton)(target)); return; case 7: this.ppMore = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 8: #line 37 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); #line default #line hidden return; case 9: this.ppCalendar = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 10: this.calendar = ((System.Windows.Controls.Calendar)(target)); #line 42 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged); #line default #line hidden #line 42 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.calendar.AddHandler(System.Windows.ContentElement.PreviewMouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.calendar_PreviewMouseUp)); #line default #line hidden return; case 11: this.sv = ((System.Windows.Controls.ScrollViewer)(target)); return; case 12: this.rictBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 13: this.cmMenu = ((System.Windows.Controls.ContextMenu)(target)); return; case 14: this.flowDoc = ((IMClient.Helper.FlowDocumentEx)(target)); return; case 15: this.grid_LoadWithoutContent = ((System.Windows.Controls.Grid)(target)); return; case 16: this.grid_SearchWithoutContent = ((System.Windows.Controls.Grid)(target)); return; case 17: this.btn_BackToAll = ((System.Windows.Controls.Button)(target)); #line 251 "..\..\..\..\Views\Panels\ChatHistoryView.xaml" this.btn_BackToAll.Click += new System.Windows.RoutedEventHandler(this.btn_BackToAll_Click); #line default #line hidden return; case 18: this.aniLoading = ((IMClient.Views.Controls.AnimationLoading)(target)); return; } this._contentLoaded = true; }
private static void OnItemsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { FlowDocumentEx doc = d as FlowDocumentEx; doc.RefreshContent(); }