void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.CProfitShare)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.pnlHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.txtblkProfitShareGroup = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.cboProfitShareGroup = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.txtblkExpenseShareGroup = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.cboExpenseShareGroup = ((System.Windows.Controls.ComboBox)(target));
     
     #line 56 "..\..\..\Views\CProfitShare.xaml"
     this.cboExpenseShareGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboExpenseShareGroup_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.txtblkExpenseShareAmount = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.txtExpenseShareAmount = ((System.Windows.Controls.TextBox)(target));
     
     #line 61 "..\..\..\Views\CProfitShare.xaml"
     this.txtExpenseShareAmount.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtExpenseShareAmount_KeyDown);
     
     #line default
     #line hidden
     
     #line 62 "..\..\..\Views\CProfitShare.xaml"
     this.txtExpenseShareAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExpenseShareAmount_TextChanged);
     
     #line default
     #line hidden
     
     #line 63 "..\..\..\Views\CProfitShare.xaml"
     this.txtExpenseShareAmount.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtExpenseShareAmount_PreviewMouseUp);
     
     #line default
     #line hidden
     
     #line 63 "..\..\..\Views\CProfitShare.xaml"
     this.txtExpenseShareAmount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtExpenseShareAmount_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 10:
     this.txtblkWriteOffExpense = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.txtWriteOffExpense = ((System.Windows.Controls.TextBox)(target));
     
     #line 68 "..\..\..\Views\CProfitShare.xaml"
     this.txtWriteOffExpense.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtWriteOffExpense_KeyDown);
     
     #line default
     #line hidden
     
     #line 69 "..\..\..\Views\CProfitShare.xaml"
     this.txtWriteOffExpense.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtWriteOffExpense_TextChanged);
     
     #line default
     #line hidden
     
     #line 70 "..\..\..\Views\CProfitShare.xaml"
     this.txtWriteOffExpense.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtWriteoffAmount_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 70 "..\..\..\Views\CProfitShare.xaml"
     this.txtWriteOffExpense.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtWriteOffExpense_PreviewMouseUp);
     
     #line default
     #line hidden
     return;
     case 12:
     this.txtblkCarriedForwareAmount = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.txtCarriedForwardAmount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.txtblkCalendarPeriod = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.txtblkPayPeriod = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     
     #line 81 "..\..\..\Views\CProfitShare.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 82 "..\..\..\Views\CProfitShare.xaml"
     ((System.Windows.Controls.Button)(target)).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.Window = ((BMC.Presentation.CProfitShare)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.pnlHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.txtblkProfitShareGroup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.cboProfitShareGroup = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.txtblkExpenseShareGroup = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.cboExpenseShareGroup = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\..\Views\CProfitShare.xaml"
                this.cboExpenseShareGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboExpenseShareGroup_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.txtblkExpenseShareAmount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.txtExpenseShareAmount = ((System.Windows.Controls.TextBox)(target));

            #line 61 "..\..\..\Views\CProfitShare.xaml"
                this.txtExpenseShareAmount.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtExpenseShareAmount_KeyDown);

            #line default
            #line hidden

            #line 62 "..\..\..\Views\CProfitShare.xaml"
                this.txtExpenseShareAmount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExpenseShareAmount_TextChanged);

            #line default
            #line hidden

            #line 63 "..\..\..\Views\CProfitShare.xaml"
                this.txtExpenseShareAmount.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtExpenseShareAmount_PreviewMouseUp);

            #line default
            #line hidden

            #line 63 "..\..\..\Views\CProfitShare.xaml"
                this.txtExpenseShareAmount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtExpenseShareAmount_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 10:
                this.txtblkWriteOffExpense = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.txtWriteOffExpense = ((System.Windows.Controls.TextBox)(target));

            #line 68 "..\..\..\Views\CProfitShare.xaml"
                this.txtWriteOffExpense.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtWriteOffExpense_KeyDown);

            #line default
            #line hidden

            #line 69 "..\..\..\Views\CProfitShare.xaml"
                this.txtWriteOffExpense.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtWriteOffExpense_TextChanged);

            #line default
            #line hidden

            #line 70 "..\..\..\Views\CProfitShare.xaml"
                this.txtWriteOffExpense.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtWriteoffAmount_PreviewTextInput);

            #line default
            #line hidden

            #line 70 "..\..\..\Views\CProfitShare.xaml"
                this.txtWriteOffExpense.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtWriteOffExpense_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 12:
                this.txtblkCarriedForwareAmount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.txtCarriedForwardAmount = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtblkCalendarPeriod = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.txtblkPayPeriod = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:

            #line 81 "..\..\..\Views\CProfitShare.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 82 "..\..\..\Views\CProfitShare.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }