void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Картофель = ((WpfApplication6.Window2)(target)); return; case 2: this.КартФириБПорция = ((System.Windows.Controls.Button)(target)); #line 6 "..\..\..\Window2.xaml" this.КартФириБПорция.Click += new System.Windows.RoutedEventHandler(this.КартФириБПорция_Click); #line default #line hidden return; case 3: this.КартФриСредПорц = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\..\Window2.xaml" this.КартФриСредПорц.Click += new System.Windows.RoutedEventHandler(this.КартФриСредПорц_Click); #line default #line hidden return; case 4: this.КартФриМалПорция = ((System.Windows.Controls.Button)(target)); #line 8 "..\..\..\Window2.xaml" this.КартФриМалПорция.Click += new System.Windows.RoutedEventHandler(this.КартФриМалПорция_Click); #line default #line hidden return; case 5: this.КартПоДерев = ((System.Windows.Controls.Button)(target)); #line 9 "..\..\..\Window2.xaml" this.КартПоДерев.Click += new System.Windows.RoutedEventHandler(this.КартПоДерев_Click); #line default #line hidden return; case 6: this.button5 = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\..\Window2.xaml" this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click); #line default #line hidden return; case 7: this.button6 = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\..\Window2.xaml" this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click); #line default #line hidden return; case 8: this.ОкноВывода = ((System.Windows.Controls.ListBox)(target)); return; } this._contentLoaded = true; }