void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Сандвичи = ((WpfApplication6.ОкноСендвичей)(target)); return; case 2: this.Большой_Бутерброд = ((System.Windows.Controls.Button)(target)); #line 6 "..\..\..\Window1.xaml" this.Большой_Бутерброд.Click += new System.Windows.RoutedEventHandler(this.F1); #line default #line hidden return; case 3: this.Бутерброд_с_колбасой = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\..\Window1.xaml" this.Бутерброд_с_колбасой.Click += new System.Windows.RoutedEventHandler(this.F2); #line default #line hidden return; case 4: this.Соус = ((System.Windows.Controls.CheckBox)(target)); return; case 5: this.Ок = ((System.Windows.Controls.Button)(target)); #line 9 "..\..\..\Window1.xaml" this.Ок.Click += new System.Windows.RoutedEventHandler(this.Ок_Click); #line default #line hidden return; case 6: this.Отмена = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\..\Window1.xaml" this.Отмена.Click += new System.Windows.RoutedEventHandler(this.Отмена_Click); #line default #line hidden return; case 7: this.ОкноВывода = ((System.Windows.Controls.ListBox)(target)); return; case 8: this.Объем = ((System.Windows.Controls.ComboBox)(target)); return; case 9: this.Бутерброд_с_сыром = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\..\Window1.xaml" this.Бутерброд_с_сыром.Click += new System.Windows.RoutedEventHandler(this.F3); #line default #line hidden return; case 10: this.Биф_Ролл = ((System.Windows.Controls.Button)(target)); #line 19 "..\..\..\Window1.xaml" this.Биф_Ролл.Click += new System.Windows.RoutedEventHandler(this.F4); #line default #line hidden return; } this._contentLoaded = true; }