void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PosControls.ConfigurationManager)(target)); return; case 3: this.groupBoxList = ((System.Windows.Controls.GroupBox)(target)); return; case 4: this.listBoxEmployees = ((PosControls.DragScrollListBox)(target)); #line 17 "..\..\..\EmployeeEditorControl.xaml" this.listBoxEmployees.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxEmployees_SelectionChanged); #line default #line hidden return; case 5: this.groupBoxProperties = ((System.Windows.Controls.GroupBox)(target)); return; case 6: this.employeeDetailsControl = ((PointOfSale.EmployeeEditorDetailsControl)(target)); return; case 7: this.buttonAdd = ((PosControls.TextBlockButton)(target)); #line 23 "..\..\..\EmployeeEditorControl.xaml" this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click); #line default #line hidden return; case 8: this.buttonModifyJobs = ((PosControls.TextBlockButton)(target)); #line 24 "..\..\..\EmployeeEditorControl.xaml" this.buttonModifyJobs.Click += new System.Windows.RoutedEventHandler(this.buttonModifyJobs_Click); #line default #line hidden return; case 9: this.buttonTerminate = ((PosControls.TextBlockButton)(target)); #line 25 "..\..\..\EmployeeEditorControl.xaml" this.buttonTerminate.Click += new System.Windows.RoutedEventHandler(this.buttonTerminate_Click); #line default #line hidden return; case 10: this.buttonRemove = ((PosControls.TextBlockButton)(target)); #line 26 "..\..\..\EmployeeEditorControl.xaml" this.buttonRemove.Click += new System.Windows.RoutedEventHandler(this.buttonRemove_Click); #line default #line hidden return; case 11: this.buttonUpdate = ((PosControls.TextBlockButton)(target)); #line 29 "..\..\..\EmployeeEditorControl.xaml" this.buttonUpdate.Click += new System.Windows.RoutedEventHandler(this.buttonUpdate_Click); #line default #line hidden return; case 12: this.buttonCancelChanges = ((PosControls.TextBlockButton)(target)); #line 30 "..\..\..\EmployeeEditorControl.xaml" this.buttonCancelChanges.Click += new System.Windows.RoutedEventHandler(this.buttonCancelChanges_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mainPane = ((System.Windows.Controls.DockPanel)(target)); return; case 2: this.Configuration = ((PointOfSale.ConfigurationManager)(target)); return; case 3: this.listBoxEmployees = ((PosControls.DragScrollListBox)(target)); #line 34 "..\..\..\EmployeeEditorControl.xaml" this.listBoxEmployees.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBoxEmployees_SelectionChanged); #line default #line hidden return; case 4: this.employeeDetailsControl = ((PointOfSale.EmployeeEditorDetailsControl)(target)); return; case 5: this.buttonAdd = ((PosControls.PushButton)(target)); #line 37 "..\..\..\EmployeeEditorControl.xaml" this.buttonAdd.Selected += new System.EventHandler(this.buttonAdd_Selected); #line default #line hidden return; case 6: this.buttonRemove = ((PosControls.PushButton)(target)); #line 38 "..\..\..\EmployeeEditorControl.xaml" this.buttonRemove.Selected += new System.EventHandler(this.buttonRemove_Selected); #line default #line hidden return; case 7: this.buttonModifyJobs = ((PosControls.PushButton)(target)); #line 39 "..\..\..\EmployeeEditorControl.xaml" this.buttonModifyJobs.Selected += new System.EventHandler(this.buttonModifyJobs_Selected); #line default #line hidden return; case 8: this.buttonUpdate = ((PosControls.PushButton)(target)); #line 42 "..\..\..\EmployeeEditorControl.xaml" this.buttonUpdate.Selected += new System.EventHandler(this.buttonUpdate_Selected); #line default #line hidden return; case 9: this.buttonCancelChanges = ((PosControls.PushButton)(target)); #line 43 "..\..\..\EmployeeEditorControl.xaml" this.buttonCancelChanges.Selected += new System.EventHandler(this.buttonCancelChanges_Selected); #line default #line hidden return; } this._contentLoaded = true; }