Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.C_CasNumber = ((WpfFront.Views.C_CasNumberView)(target));
     return;
     case 2:
     this.stkSearchForm = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.dgSearch = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.txtSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 43 "..\..\..\..\Master\Views\C_CasNumberView.xaml"
     this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnNew = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\..\Master\Views\C_CasNumberView.xaml"
     this.btnNew.Click += new System.Windows.RoutedEventHandler(this.btnNew_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.dgList = ((Xceed.Wpf.DataGrid.DataGridControl)(target));
     
     #line 59 "..\..\..\..\Master\Views\C_CasNumberView.xaml"
     this.dgList.GotFocus += new System.Windows.RoutedEventHandler(this.dgList_GotFocus);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tabMenu = ((System.Windows.Controls.TabControl)(target));
     return;
     case 8:
     this.stkEdit = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.frmNotification = ((Core.WPF.FormNotification)(target));
     return;
     case 10:
     this.dgEdit = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 147 "..\..\..\..\Master\Views\C_CasNumberView.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnDelete = ((System.Windows.Controls.Button)(target));
     
     #line 153 "..\..\..\..\Master\Views\C_CasNumberView.xaml"
     this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.btnDelete_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.tbIRules = ((System.Windows.Controls.TabItem)(target));
     return;
     case 14:
     this.ucCasNumberRule = ((WpfFront.Common.UserControls.CasNumberRule)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UcCasNumberRule = ((WpfFront.Common.UserControls.CasNumberRule)(target));
     return;
     case 2:
     this.ls_Regulation = ((System.Windows.Controls.ComboBox)(target));
     
     #line 28 "..\..\..\..\Common\UserControls\CasNumberRule.xaml"
     this.ls_Regulation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ls_Regulation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.stkFiles = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.lvRules = ((System.Windows.Controls.ListView)(target));
     return;
     case 5:
     this.btnUpdate = ((System.Windows.Controls.Button)(target));
     
     #line 58 "..\..\..\..\Common\UserControls\CasNumberRule.xaml"
     this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }