void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\URLDownLoadWin.xaml" ((myThunder.URLDownLoadWin)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.myf_WinMove); #line default #line hidden return; case 2: this.Quit_btn = ((myWPFCustomControls.myImageButton)(target)); #line 33 "..\..\..\URLDownLoadWin.xaml" this.Quit_btn.Click += new System.Windows.RoutedEventHandler(this.Quit_NewTask); #line default #line hidden return; case 3: this.ctrl_download = ((System.Windows.Controls.RichTextBox)(target)); return; case 4: this.ctrl_RenameFile = ((System.Windows.Controls.TextBox)(target)); return; case 5: #line 77 "..\..\..\URLDownLoadWin.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.myf_Select_download_file); #line default #line hidden return; case 6: #line 79 "..\..\..\URLDownLoadWin.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.myf_StartDownload); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWin = ((myThunder.MainWindow)(target)); #line 8 "..\..\..\MainWindow.xaml" this.mainWin.MouseMove += new System.Windows.Input.MouseEventHandler(this.myf_DragWindow); #line default #line hidden return; case 2: this.row1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Setting = ((myWPFCustomControls.myImageButton)(target)); #line 60 "..\..\..\MainWindow.xaml" this.Setting.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 4: this.ResizeWindow_min = ((myWPFCustomControls.myImageButton)(target)); #line 71 "..\..\..\MainWindow.xaml" this.ResizeWindow_min.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 5: this.ResizeWindow_mxn = ((myWPFCustomControls.myImageButton)(target)); #line 82 "..\..\..\MainWindow.xaml" this.ResizeWindow_mxn.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 6: this.ResizeWindow_xn = ((myWPFCustomControls.myImageButton)(target)); #line 93 "..\..\..\MainWindow.xaml" this.ResizeWindow_xn.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 7: this.NewUrl = ((myWPFCustomControls.myImageButton)(target)); #line 114 "..\..\..\MainWindow.xaml" this.NewUrl.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 8: this.Pause_Play = ((myWPFCustomControls.myImageButton)(target)); #line 125 "..\..\..\MainWindow.xaml" this.Pause_Play.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 9: this.Stop = ((myWPFCustomControls.myImageButton)(target)); #line 136 "..\..\..\MainWindow.xaml" this.Stop.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 10: this.ctrl_download_list = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainWin = ((myThunder.MainWindow)(target)); #line 8 "..\..\..\MainWindow.xaml" this.mainWin.MouseMove += new System.Windows.Input.MouseEventHandler(this.myf_DragWindow); #line default #line hidden return; case 2: this.row1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.Setting = ((myWPFCustomControls.myImageButton)(target)); #line 60 "..\..\..\MainWindow.xaml" this.Setting.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 4: this.ResizeWindow_min = ((myWPFCustomControls.myImageButton)(target)); #line 71 "..\..\..\MainWindow.xaml" this.ResizeWindow_min.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 5: this.ResizeWindow_mxn = ((myWPFCustomControls.myImageButton)(target)); #line 82 "..\..\..\MainWindow.xaml" this.ResizeWindow_mxn.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 6: this.ResizeWindow_xn = ((myWPFCustomControls.myImageButton)(target)); #line 93 "..\..\..\MainWindow.xaml" this.ResizeWindow_xn.Click += new System.Windows.RoutedEventHandler(this.myf_ResizeWindow); #line default #line hidden return; case 7: this.NewUrl = ((myWPFCustomControls.myImageButton)(target)); #line 114 "..\..\..\MainWindow.xaml" this.NewUrl.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 8: this.Pause_Play = ((myWPFCustomControls.myImageButton)(target)); #line 125 "..\..\..\MainWindow.xaml" this.Pause_Play.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 9: this.Stop = ((myWPFCustomControls.myImageButton)(target)); #line 136 "..\..\..\MainWindow.xaml" this.Stop.Click += new System.Windows.RoutedEventHandler(this.myf_Task); #line default #line hidden return; case 10: this.ctrl_download_list = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\URLDownLoadWin.xaml" ((myThunder.URLDownLoadWin)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.myf_WinMove); #line default #line hidden return; case 2: this.Quit_btn = ((myWPFCustomControls.myImageButton)(target)); #line 33 "..\..\..\URLDownLoadWin.xaml" this.Quit_btn.Click += new System.Windows.RoutedEventHandler(this.Quit_NewTask); #line default #line hidden return; case 3: this.ctrl_download = ((System.Windows.Controls.RichTextBox)(target)); return; case 4: this.ctrl_RenameFile = ((System.Windows.Controls.TextBox)(target)); return; case 5: #line 77 "..\..\..\URLDownLoadWin.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.myf_Select_download_file); #line default #line hidden return; case 6: #line 79 "..\..\..\URLDownLoadWin.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.myf_StartDownload); #line default #line hidden return; } this._contentLoaded = true; }