void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tbcLineControl = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.lineControl = ((IAS.DisplayControl)(target)); return; case 3: this.stationControl = ((IAS.addModifyDeleteControl)(target)); return; case 4: #line 73 "..\..\..\LineManagement\LineManagement.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
private void supportGroupManagementLink_Click(object sender, RoutedEventArgs e) { SupportGroupManagement supportGroupManagement = new SupportGroupManagement(contacts); addModifyDeleteControl lineControl = new addModifyDeleteControl(); NavigationService.Navigate(supportGroupManagement); supportGroupManagement.Return += new ReturnEventHandler <ContactCollection>(supportGroupManagement_Return); }
private void lineManageMentLink_Click(object sender, RoutedEventArgs e) { LineManagement lineManagement = new LineManagement(_dbConnectionString); addModifyDeleteControl lineControl = new addModifyDeleteControl(); NavigationService.Navigate(lineManagement); lineManagement.Return += new ReturnEventHandler <string>(lineManagement_Return); }