Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CustomUserControl = ((ES.UI.Setups.ucTeacherPay)(target));
                return;

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

            case 3:
                this.btnSearchParent = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\..\..\..\Setups\Finance\Pay\ucTeacherPay.xaml"
                this.btnSearchParent.Click += new System.Windows.RoutedEventHandler(this.btnSearchParent_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnSaveFeeDetail = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\..\..\..\Setups\Finance\Pay\ucTeacherPay.xaml"
                this.btnSaveFeeDetail.Click += new System.Windows.RoutedEventHandler(this.btnSaveFeeDetail_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CustomUserControl = ((ES.UI.Setups.ucTeacherPay)(target));
     return;
     case 2:
     this.ShellHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnSearchParent = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\..\..\..\..\Setups\Finance\Pay\ucTeacherPay.xaml"
     this.btnSearchParent.Click += new System.Windows.RoutedEventHandler(this.btnSearchParent_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnSaveFeeDetail = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\..\..\..\..\Setups\Finance\Pay\ucTeacherPay.xaml"
     this.btnSaveFeeDetail.Click += new System.Windows.RoutedEventHandler(this.btnSaveFeeDetail_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }