void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnState = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 2: this.btnOpenBlacklist = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\..\Views\Panels\PrivacyView.xaml" this.btnOpenBlacklist.Click += new System.Windows.RoutedEventHandler(this.btnOpenBlacklist_Click); #line default #line hidden return; case 3: this.popupState = ((IMCustomControls.TopMostPopup)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gridLayout = ((System.Windows.Controls.Grid)(target)); return; case 2: this.rectLeft = ((System.Windows.Shapes.Rectangle)(target)); #line 187 "..\..\MainWindow.xaml" this.rectLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rect_MouseLeftButtonDown); #line default #line hidden return; case 3: this.img = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 4: this.loginICON = ((System.Windows.Media.ImageBrush)(target)); return; case 5: #line 200 "..\..\MainWindow.xaml" ((System.Windows.Controls.DockPanel)(target)).AddHandler(System.Windows.ContentElement.PreviewMouseLeftButtonDownEvent, new System.Windows.Input.MouseButtonEventHandler(this.DockPanel_PreviewMouseLeftButtonDown)); #line default #line hidden return; case 6: this.BtnMessage = ((IMCustomControls.IconStateButton)(target)); return; case 7: this.BtnOfflineMessage = ((IMCustomControls.IconStateButton)(target)); return; case 8: this.BtnHistoryMessage = ((IMCustomControls.IconStateButton)(target)); return; case 9: this.BtnSet = ((IMCustomControls.IconStateButton)(target)); return; case 10: this.rectTop = ((System.Windows.Shapes.Rectangle)(target)); #line 245 "..\..\MainWindow.xaml" this.rectTop.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rect_MouseLeftButtonDown); #line default #line hidden return; case 11: this.rectTop2 = ((System.Windows.Shapes.Rectangle)(target)); #line 246 "..\..\MainWindow.xaml" this.rectTop2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rect_MouseLeftButtonDown); #line default #line hidden return; case 12: this.rectTemp = ((System.Windows.Shapes.Rectangle)(target)); return; case 13: this.btnState = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 14: this.tbSearch = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.btnSearch = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 16: this.bdListView = ((System.Windows.Controls.ContentControl)(target)); return; case 17: this.bdContentView = ((System.Windows.Controls.ContentControl)(target)); return; case 18: this.stkpState = ((System.Windows.Controls.StackPanel)(target)); return; case 19: this.btnMin = ((System.Windows.Controls.Button)(target)); #line 297 "..\..\MainWindow.xaml" this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click); #line default #line hidden return; case 20: this.btnMax = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 298 "..\..\MainWindow.xaml" this.btnMax.Click += new System.Windows.RoutedEventHandler(this.btnMax_Click); #line default #line hidden return; case 21: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 299 "..\..\MainWindow.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 22: this.popupState = ((IMCustomControls.TopMostPopup)(target)); return; case 24: this.ppBusinessCard = ((IMCustomControls.TopMostPopup)(target)); return; case 25: #line 343 "..\..\MainWindow.xaml" ((System.Windows.Controls.Grid)(target)).AddHandler(System.Windows.Controls.Primitives.Thumb.DragDeltaEvent, new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Size_DragDelta)); #line default #line hidden return; } this._contentLoaded = true; }