void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BMC.Presentation.CReasonCategory)(target)); #line 7 "..\..\..\Views\CReasonCategory.xaml" this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.ReasonandCategory_Loaded); #line default #line hidden #line 8 "..\..\..\Views\CReasonCategory.xaml" this.UserControl.Unloaded += new System.Windows.RoutedEventHandler(this.ReasonandCategory_Unloaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.cmbCategory = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\..\Views\CReasonCategory.xaml" this.cmbCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbCategory_SelectionChanged); #line default #line hidden return; case 4: this.cmbReason = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.txtComments = ((System.Windows.Controls.TextBox)(target)); #line 40 "..\..\..\Views\CReasonCategory.xaml" this.txtComments.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtComments_PreviewMouseUp); #line default #line hidden return; case 6: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\..\Views\CReasonCategory.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 7: this.lstRC = ((System.Windows.Controls.ListView)(target)); return; case 9: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\..\Views\CReasonCategory.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 10: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\..\Views\CReasonCategory.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((BMC.Presentation.CReasonCategory)(target)); #line 7 "..\..\..\Views\CReasonCategory.xaml" this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.ReasonandCategory_Loaded); #line default #line hidden #line 8 "..\..\..\Views\CReasonCategory.xaml" this.UserControl.Unloaded += new System.Windows.RoutedEventHandler(this.ReasonandCategory_Unloaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.cmbCategory = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\..\Views\CReasonCategory.xaml" this.cmbCategory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbCategory_SelectionChanged); #line default #line hidden return; case 4: this.cmbReason = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.txtComments = ((System.Windows.Controls.TextBox)(target)); #line 40 "..\..\..\Views\CReasonCategory.xaml" this.txtComments.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtComments_PreviewMouseUp); #line default #line hidden return; case 6: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\..\Views\CReasonCategory.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 7: this.lstRC = ((System.Windows.Controls.ListView)(target)); return; case 9: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\..\Views\CReasonCategory.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 10: this.btnCancel = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\..\Views\CReasonCategory.xaml" this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click); #line default #line hidden return; } this._contentLoaded = true; }