コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 31 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
                ((System.Windows.Controls.TextBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 2:
                this.SupplierSelector = ((Ribbon.View.PopUpWindow.PurchaseOrderSupplierSelector)(target));
                return;

            case 3:
                this.productPurchaseOrderGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 78 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
                this.productPurchaseOrderGrid.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.productPurchaseOrderGrid_BeginningEdit);

            #line default
            #line hidden

            #line 79 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
                this.productPurchaseOrderGrid.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.productPurchaseOrderGrid_CellEditEnding);

            #line default
            #line hidden
                return;

            case 4:
                this.productSelector = ((Ribbon.View.PopUpWindow.PurchaseOrderProductSelector)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 31 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
     ((System.Windows.Controls.TextBox)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TextBox_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SupplierSelector = ((Ribbon.View.PopUpWindow.PurchaseOrderSupplierSelector)(target));
     return;
     case 3:
     this.productPurchaseOrderGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 78 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
     this.productPurchaseOrderGrid.BeginningEdit += new System.EventHandler<System.Windows.Controls.DataGridBeginningEditEventArgs>(this.productPurchaseOrderGrid_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 79 "..\..\..\..\..\View\Purchase\Section\PurchaseOrderInfo.xaml"
     this.productPurchaseOrderGrid.CellEditEnding += new System.EventHandler<System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.productPurchaseOrderGrid_CellEditEnding);
     
     #line default
     #line hidden
     return;
     case 4:
     this.productSelector = ((Ribbon.View.PopUpWindow.PurchaseOrderProductSelector)(target));
     return;
     }
     this._contentLoaded = true;
 }