void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FrmWindow = ((ContactManagerProject.MainWindow)(target)); return; case 2: #line 51 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddUser_Click); #line default #line hidden return; case 3: #line 52 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAll_Click); #line default #line hidden return; case 4: #line 53 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click); #line default #line hidden return; case 5: #line 54 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); #line default #line hidden return; case 6: #line 55 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Import_Click); #line default #line hidden return; case 7: #line 56 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click); #line default #line hidden return; case 8: #line 57 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FrmWindow = ((ContactManagerProject.MainWindow)(target)); return; case 2: this.lblWelcome = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblWelcome1 = ((System.Windows.Controls.Label)(target)); return; case 4: this.menu = ((System.Windows.Controls.TextBlock)(target)); return; case 5: #line 56 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddUser_Click); #line default #line hidden return; case 6: #line 57 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAll_Click); #line default #line hidden return; case 7: #line 58 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click); #line default #line hidden return; case 8: #line 59 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click); #line default #line hidden return; case 9: #line 60 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Import_Click); #line default #line hidden return; case 10: #line 61 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click); #line default #line hidden return; case 11: this.info = ((System.Windows.Controls.TextBlock)(target)); return; case 12: #line 63 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; } this._contentLoaded = true; }