void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.uc = ((BigRedButtonOfDeath.WPF.MainWindow)(target)); #line 12 "..\..\MainWindow.xaml" this.uc.Closed += new System.EventHandler(this.OnClosed); #line default #line hidden #line 14 "..\..\MainWindow.xaml" this.uc.SizeChanged += new System.Windows.SizeChangedEventHandler(this.OnSizeChanged); #line default #line hidden return; case 2: #line 26 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClose); #line default #line hidden return; case 3: #line 33 "..\..\MainWindow.xaml" ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDown); #line default #line hidden return; case 4: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnConnect); #line default #line hidden return; case 5: #line 93 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnChangeSelfDestruct); #line default #line hidden return; case 6: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnReset); #line default #line hidden return; case 7: #line 102 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnChangeAbortSelfDestruct); #line default #line hidden return; case 8: #line 165 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSelfDestruct); #line default #line hidden return; case 9: #line 180 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnResetSelfDestruct); #line default #line hidden return; } this._contentLoaded = true; }