コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 15 "..\..\..\..\Views\MainTableViews\uc_InvAssoc_TabControls.xaml"
     ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.uc_InvItemList = ((VcsConnect_Client.Views.MainTableViews.uc_InvoiceItem_List)(target));
     return;
     case 3:
     this.uc_InvExpItemList = ((VcsConnect_Client.Views.MainTableViews.uc_InvoiceExpenseItems_List)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 2:
     this.menuFile = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 3:
     this.menuExit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 24 "..\..\..\..\Windows\MainWindows\Win_LWInvExpItems.xaml"
     this.menuExit.Click += new System.Windows.RoutedEventHandler(this.menuExit_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.labelInvoiceID = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.txtInvID = ((System.Windows.Controls.TextBox)(target));
     
     #line 54 "..\..\..\..\Windows\MainWindows\Win_LWInvExpItems.xaml"
     this.txtInvID.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtInvID_TextChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.labelStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.uc_InvExpItemsList = ((VcsConnect_Client.Views.MainTableViews.uc_InvoiceExpenseItems_List)(target));
     return;
     case 8:
     this.uc_InvExpItemsDetail = ((VcsConnect_Client.Views.MainTableViews.uc_InvoiceExpenseItems_Detail)(target));
     return;
     case 9:
     this.busy_Indicator = ((Xceed.Wpf.Toolkit.BusyIndicator)(target));
     return;
     }
     this._contentLoaded = true;
 }