void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Root = ((AutoService.MainWindow)(target)); return; case 2: #line 23 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: this.AdminButton = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.AdminButton.Click += new System.Windows.RoutedEventHandler(this.AdminButton_Click); #line default #line hidden return; case 4: this.ExitButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click); #line default #line hidden return; case 5: #line 45 "..\..\MainWindow.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked); #line default #line hidden return; case 6: #line 46 "..\..\MainWindow.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Root = ((AutoService.MainWindow)(target)); return; case 2: #line 28 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddService_Click); #line default #line hidden return; case 3: this.AdminButton = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\MainWindow.xaml" this.AdminButton.Click += new System.Windows.RoutedEventHandler(this.AdminButton_Click); #line default #line hidden return; case 4: this.ExitButton = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\MainWindow.xaml" this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click); #line default #line hidden return; case 5: this.MainDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 9: #line 175 "..\..\MainWindow.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked); #line default #line hidden return; case 10: #line 182 "..\..\MainWindow.xaml" ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked); #line default #line hidden return; case 11: this.DiscountFilterComboBox = ((System.Windows.Controls.ComboBox)(target)); #line 192 "..\..\MainWindow.xaml" this.DiscountFilterComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DiscountFilterComboBox_SelectionChanged_1); #line default #line hidden return; case 12: this.SearchFilterTextBox = ((System.Windows.Controls.TextBox)(target)); #line 200 "..\..\MainWindow.xaml" this.SearchFilterTextBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp); #line default #line hidden return; } this._contentLoaded = true; }