void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window1 = ((AdventureWorksOrdersViewer.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.window1.Closed += new System.EventHandler(this.closeIt); #line default #line hidden return; case 2: this.buttonLogin = ((System.Windows.Controls.Button)(target)); #line 7 "..\..\..\MainWindow.xaml" this.buttonLogin.Click += new System.Windows.RoutedEventHandler(this.buttonLogin_Click); #line default #line hidden return; case 3: this.user = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 5: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 6: this.pass = ((System.Windows.Controls.PasswordBox)(target)); return; case 7: this.programmTitle = ((System.Windows.Controls.DataVisualization.Title)(target)); return; case 8: this.textNewUser = ((System.Windows.Controls.TextBlock)(target)); #line 13 "..\..\..\MainWindow.xaml" this.textNewUser.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.newUser); #line default #line hidden return; case 9: this.border1 = ((System.Windows.Controls.Border)(target)); return; } this._contentLoaded = true; }
public void NewInstance() { Title title = new Title(); Assert.IsNotNull(title); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\CreateUser.xaml" ((AdventureWorksOrdersViewer.CreateUser)(target)).Closed += new System.EventHandler(this.closeIt); #line default #line hidden #line 4 "..\..\..\CreateUser.xaml" ((AdventureWorksOrdersViewer.CreateUser)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.closeIt); #line default #line hidden return; case 2: this.title1 = ((System.Windows.Controls.DataVisualization.Title)(target)); return; case 3: this.txtName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 5: this.txtEmail = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblEmail = ((System.Windows.Controls.Label)(target)); return; case 7: this.txtPass = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtUser = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblUser = ((System.Windows.Controls.Label)(target)); return; case 11: this.comboBox1 = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.datePicker1 = ((Microsoft.Windows.Controls.DatePicker)(target)); return; case 13: this.lblGender = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblBirthday = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnCreate = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window1 = ((AdventureWorksOrdersViewer.MainWindow)(target)); #line 4 "..\..\..\MainWindow.xaml" this.window1.Closed += new System.EventHandler(this.closeIt); #line default #line hidden return; case 2: this.border1 = ((System.Windows.Controls.Border)(target)); return; case 3: this.buttonLogin = ((System.Windows.Controls.Button)(target)); #line 8 "..\..\..\MainWindow.xaml" this.buttonLogin.Click += new System.Windows.RoutedEventHandler(this.buttonLogin_Click); #line default #line hidden return; case 4: this.user = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 6: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 7: this.pass = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.programmTitle = ((System.Windows.Controls.DataVisualization.Title)(target)); return; case 9: this.textNewUser = ((System.Windows.Controls.TextBlock)(target)); #line 14 "..\..\..\MainWindow.xaml" this.textNewUser.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.newUser); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\CreateUser.xaml" ((AdventureWorksOrdersViewer.CreateUser)(target)).Closed += new System.EventHandler(this.closeIt); #line default #line hidden #line 4 "..\..\..\CreateUser.xaml" ((AdventureWorksOrdersViewer.CreateUser)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.closeIt); #line default #line hidden return; case 2: this.title1 = ((System.Windows.Controls.DataVisualization.Title)(target)); return; case 3: this.txtName = ((System.Windows.Controls.TextBox)(target)); return; case 4: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 5: this.txtEmail = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.lblEmail = ((System.Windows.Controls.Label)(target)); return; case 7: this.txtPass = ((System.Windows.Controls.PasswordBox)(target)); return; case 8: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 9: this.txtUser = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblUser = ((System.Windows.Controls.Label)(target)); return; case 11: this.comboBox1 = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.datePicker1 = ((Microsoft.Windows.Controls.DatePicker)(target)); return; case 13: this.lblGender = ((System.Windows.Controls.Label)(target)); return; case 14: this.lblBirthday = ((System.Windows.Controls.Label)(target)); return; case 15: this.btnCreate = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }