void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Downloader.MainWindow)(target)); return; case 2: this.underHeader = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Left = ((System.Windows.Controls.Grid)(target)); return; case 4: this.DownLoadList = ((System.Windows.Controls.TreeView)(target)); return; case 5: this.Middle = ((System.Windows.Controls.Grid)(target)); return; case 6: this.searchBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.downloadTask = ((System.Windows.Controls.ListBox)(target)); return; case 8: this.Right = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((Downloader.MainWindow)(target)); return; case 2: this.underHeader = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Left = ((System.Windows.Controls.Grid)(target)); return; case 4: this.DownLoadList = ((System.Windows.Controls.TreeView)(target)); #line 146 "..\..\MainWindow.xaml" this.DownLoadList.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DownLoadList_SelectItemChanged); #line default #line hidden return; case 5: #line 147 "..\..\MainWindow.xaml" ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_PreviewMouseRightButtonDown); #line default #line hidden return; case 6: this.FinishList = ((System.Windows.Controls.TreeView)(target)); #line 156 "..\..\MainWindow.xaml" this.FinishList.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.FinishList_SelectItemChanged); #line default #line hidden return; case 7: #line 157 "..\..\MainWindow.xaml" ((System.Windows.Controls.TreeViewItem)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_PreviewMouseRightButtonDown); #line default #line hidden return; case 8: this.Middle = ((System.Windows.Controls.Grid)(target)); return; case 9: this.searchBox = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.downloadTask = ((System.Windows.Controls.ListBox)(target)); return; case 11: this.Right = ((System.Windows.Controls.Grid)(target)); return; } this._contentLoaded = true; }