void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\PatientsWindow.xaml" ((Client.PatientsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.nameFilter = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\PatientsWindow.xaml" this.nameFilter.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.nameFilter_TextChanged); #line default #line hidden return; case 3: this.clearNameFilterButton = ((System.Windows.Controls.Button)(target)); #line 20 "..\..\PatientsWindow.xaml" this.clearNameFilterButton.Click += new System.Windows.RoutedEventHandler(this.clearNameFilterButton_Click); #line default #line hidden return; case 4: this.fromDateFilter = ((Client.BDatePicker)(target)); return; case 5: this.toDateFilter = ((Client.BDatePicker)(target)); return; case 6: this.clearDateFilterButton = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\PatientsWindow.xaml" this.clearDateFilterButton.Click += new System.Windows.RoutedEventHandler(this.clearDateFilterButton_Click); #line default #line hidden return; case 7: this.newPatientBtn = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\PatientsWindow.xaml" this.newPatientBtn.Click += new System.Windows.RoutedEventHandler(this.newPatientBtn_Click); #line default #line hidden return; case 8: this.syncBtn = ((System.Windows.Controls.Button)(target)); return; case 9: this.logoutBtn = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\PatientsWindow.xaml" this.logoutBtn.Click += new System.Windows.RoutedEventHandler(this.logoutBtn_Click); #line default #line hidden return; case 10: this.patientsGrid = ((System.Windows.Controls.DataGrid)(target)); #line 29 "..\..\PatientsWindow.xaml" this.patientsGrid.Loaded += new System.Windows.RoutedEventHandler(this.patientsGrid_Loaded); #line default #line hidden return; case 12: this.label = ((System.Windows.Controls.Label)(target)); return; case 13: this.label_Copy = ((System.Windows.Controls.Label)(target)); return; case 14: this.label_Copy1 = ((System.Windows.Controls.Label)(target)); return; case 15: this.label_Copy2 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\NewPatientWindow.xaml" ((Client.NewPatientWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 8 "..\..\NewPatientWindow.xaml" ((Client.NewPatientWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing); #line default #line hidden return; case 2: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.textBlock_Copy2 = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.textBlock_Copy3 = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.textBlock_Copy4 = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.textBlock_Copy5 = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.startExamineBtn = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\NewPatientWindow.xaml" this.startExamineBtn.Click += new System.Windows.RoutedEventHandler(this.startExamineBtn_Click); #line default #line hidden return; case 11: this.iinTextBox = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\NewPatientWindow.xaml" this.iinTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.iinTextBox_TextChanged); #line default #line hidden return; case 12: this.lastNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.firstNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.middleNameTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.tpTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.scdTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.maleRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 18: this.femaleRadioButton = ((System.Windows.Controls.RadioButton)(target)); return; case 19: this.birthdateDatePicker = ((Client.BDatePicker)(target)); return; } this._contentLoaded = true; }