コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((BMC.Presentation.POS.Views.PromoHistDetails)(target));

            #line 11 "..\..\..\Views\PromoHistDetails.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.txtHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.dgPromoHistDetGridView = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.btnExit = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\..\Views\PromoHistDetails.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((BMC.Presentation.POS.Views.PromoHistDetails)(target));
     
     #line 11 "..\..\..\Views\PromoHistDetails.xaml"
     this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtHeader = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.dgPromoHistDetGridView = ((Microsoft.Windows.Controls.DataGrid)(target));
     return;
     case 5:
     this.btnExit = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\..\Views\PromoHistDetails.xaml"
     this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }