void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gTitle = ((System.Windows.Controls.Grid)(target)); return; case 2: this.spTitle = ((System.Windows.Controls.StackPanel)(target)); #line 34 "..\..\MainWindow.xaml" this.spTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spTitle_MouseDown); #line default #line hidden return; case 3: this.bMini = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.bMini.Click += new System.Windows.RoutedEventHandler(this.bMini_Click); #line default #line hidden return; case 4: this.bMaxi = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\MainWindow.xaml" this.bMaxi.Click += new System.Windows.RoutedEventHandler(this.bMaxi_Click); #line default #line hidden return; case 5: this.bClose = ((System.Windows.Controls.Button)(target)); #line 52 "..\..\MainWindow.xaml" this.bClose.Click += new System.Windows.RoutedEventHandler(this.bClose_Click); #line default #line hidden return; case 6: this.tbxSourceDir = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.bViewDir = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\MainWindow.xaml" this.bViewDir.Click += new System.Windows.RoutedEventHandler(this.bViewDir_Click); #line default #line hidden return; case 8: this.tbxSourceFile = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.bViewFile = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\MainWindow.xaml" this.bViewFile.Click += new System.Windows.RoutedEventHandler(this.bViewFile_Click); #line default #line hidden return; case 10: this.bMatch = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\MainWindow.xaml" this.bMatch.Click += new System.Windows.RoutedEventHandler(this.bMatch_Click); #line default #line hidden return; case 11: this.pgr = ((Fresky.UI.Controls.Pager)(target)); #line 112 "..\..\MainWindow.xaml" this.pgr.ValueChanged += new System.EventHandler <Fresky.ChangedEventArgs <int> >(this.pgr_ValueChanged); #line default #line hidden return; case 12: this.bOpen = ((System.Windows.Controls.Button)(target)); #line 115 "..\..\MainWindow.xaml" this.bOpen.Click += new System.Windows.RoutedEventHandler(this.bOpen_Click); #line default #line hidden return; case 13: this.tbDescription = ((System.Windows.Controls.TextBlock)(target)); return; case 14: this.image1 = ((System.Windows.Controls.Image)(target)); return; case 15: this.image3 = ((System.Windows.Controls.Image)(target)); return; case 16: this.image2 = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\WinMain.xaml" ((MultiMedia.WinMain)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.gTitle = ((System.Windows.Controls.Grid)(target)); return; case 3: this.spTitle = ((System.Windows.Controls.StackPanel)(target)); #line 150 "..\..\WinMain.xaml" this.spTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spTitle_MouseDown); #line default #line hidden return; case 4: this.bMini = ((System.Windows.Controls.Button)(target)); #line 154 "..\..\WinMain.xaml" this.bMini.Click += new System.Windows.RoutedEventHandler(this.bMini_Click); #line default #line hidden return; case 5: this.bMaxi = ((System.Windows.Controls.Button)(target)); #line 157 "..\..\WinMain.xaml" this.bMaxi.Click += new System.Windows.RoutedEventHandler(this.bMaxi_Click); #line default #line hidden return; case 6: this.bClose = ((System.Windows.Controls.Button)(target)); #line 161 "..\..\WinMain.xaml" this.bClose.Click += new System.Windows.RoutedEventHandler(this.bClose_Click); #line default #line hidden return; case 7: this.tbxSourceFile = ((System.Windows.Controls.TextBox)(target)); #line 190 "..\..\WinMain.xaml" this.tbxSourceFile.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxSourceFile_MouseDown); #line default #line hidden return; case 8: this.bOpenSourceFile = ((System.Windows.Controls.Button)(target)); #line 194 "..\..\WinMain.xaml" this.bOpenSourceFile.Click += new System.Windows.RoutedEventHandler(this.bOpenSourceFile_Click); #line default #line hidden return; case 9: this.tbxSourceDir = ((System.Windows.Controls.TextBox)(target)); #line 201 "..\..\WinMain.xaml" this.tbxSourceDir.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tbxSourceDir_MouseDown); #line default #line hidden return; case 10: this.bOpenSourceDir = ((System.Windows.Controls.Button)(target)); #line 205 "..\..\WinMain.xaml" this.bOpenSourceDir.Click += new System.Windows.RoutedEventHandler(this.bOpenSourceDir_Click); #line default #line hidden return; case 11: this.bGo = ((System.Windows.Controls.Button)(target)); #line 209 "..\..\WinMain.xaml" this.bGo.Click += new System.Windows.RoutedEventHandler(this.bGo_Click); #line default #line hidden return; case 12: this.gMain = ((System.Windows.Controls.Grid)(target)); return; case 13: this.iSourceFile = ((System.Windows.Controls.Image)(target)); return; case 14: this.tbHint = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.imgPreview2 = ((System.Windows.Controls.Image)(target)); return; case 16: this.pgrPreview = ((Fresky.UI.Controls.Pager)(target)); #line 232 "..\..\WinMain.xaml" this.pgrPreview.ValueChanged += new System.EventHandler <Fresky.ChangedEventArgs <int> >(this.pgrPreview_ValueChanged); #line default #line hidden return; } this._contentLoaded = true; }