void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((WpfApp1.Window2)(target)); return; case 2: this.TextBlock_1 = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.Button_1 = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\Window2.xaml" this.Button_1.Click += new System.Windows.RoutedEventHandler(this.Button_1_Click); #line default #line hidden return; case 4: this.Button_2 = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\Window2.xaml" this.Button_2.Click += new System.Windows.RoutedEventHandler(this.Button_2_Click); #line default #line hidden return; case 5: this.image = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((WpfApp1.Window2)(target)); #line 20 "..\..\Window2.xaml" this.window.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown); #line default #line hidden return; case 2: this.TextBlock_1 = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.Button_1 = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\Window2.xaml" this.Button_1.Click += new System.Windows.RoutedEventHandler(this.Button_1_Click); #line default #line hidden return; case 4: this.Button_2 = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\Window2.xaml" this.Button_2.Click += new System.Windows.RoutedEventHandler(this.Button_2_Click); #line default #line hidden return; case 5: #line 42 "..\..\Window2.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Window); #line default #line hidden return; case 6: #line 45 "..\..\Window2.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Minimalize_Window); #line default #line hidden return; case 7: this.image = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }