void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 13 "..\..\..\..\View\AddScreen\AddCakeWindow.xaml" ((CakeShop.View.AddScreen.AddCakeWindow)(target)).ContentRendered += new System.EventHandler(this.Window_ContentRendered); #line default #line hidden return; case 2: this.AnswerHLTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 3: this.OKButton = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\..\..\View\AddScreen\AddCakeWindow.xaml" this.OKButton.Click += new System.Windows.RoutedEventHandler(this.OKButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TitleTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 2: #line 31 "..\..\..\..\View\AddScreen\CakeForm.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.EditImageButton_Click); #line default #line hidden return; case 3: this.CakeImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.NameTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 5: this.DescriptionTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 6: this.CategoryComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.PriceTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 8: this.SubmitButton = ((System.Windows.Controls.Button)(target)); #line 133 "..\..\..\..\View\AddScreen\CakeForm.xaml" this.SubmitButton.Click += new System.Windows.RoutedEventHandler(this.SubmitButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 25 "..\..\..\..\View\AddScreen\AddScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OrderAddButton_Click); #line default #line hidden return; case 2: this.NameTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 3: this.EmailTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 4: this.PhoneTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 5: this.AddressTextBox = ((CakeShop.View.AddScreen.HLTextBox)(target)); return; case 6: #line 126 "..\..\..\..\View\AddScreen\AddScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddCake_Click); #line default #line hidden return; case 7: this.TotalTextBox = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.OCListView = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }