Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainRibbon = ((DevComponents.WpfRibbon.Ribbon)(target));
     return;
     case 2:
     this.ribbonBarClipboard = ((DevComponents.WpfRibbon.RibbonBar)(target));
     return;
     case 3:
     this.ribbonBarDPO = ((DevComponents.WpfRibbon.RibbonBar)(target));
     return;
     case 4:
     this.ribbonBarTool = ((DevComponents.WpfRibbon.RibbonBar)(target));
     return;
     case 5:
     this.edtRowPerPage = ((DevComponents.WpfEditors.IntegerInput)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.edtRowPerPage.ValueChanged += new System.Windows.RoutedEventHandler(this.edtRowPerPage_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this._statusServer = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 7:
     this.AppDock = ((DevComponents.WpfDock.DockSite)(target));
     return;
     case 8:
     this.rightPanel = ((DevComponents.WpfDock.SplitPanel)(target));
     return;
     case 9:
     this.dockWindowGroup = ((DevComponents.WpfDock.DockWindowGroup)(target));
     return;
     case 10:
     this.rightPanelTool = ((DevComponents.WpfDock.DockWindow)(target));
     return;
     case 11:
     this.renderView = ((DevComponents.WpfDock.SplitPanel)(target));
     return;
     case 12:
     this.dockGroup = ((DevComponents.WpfDock.DockWindowGroup)(target));
     return;
     case 13:
     this.renderWindow = ((DevComponents.WpfDock.DockWindow)(target));
     return;
     case 14:
     this.renderingDock = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 15:
     this.dgPassenger = ((PAU.UserControls.ucPassenger)(target));
     return;
     case 16:
     this.dgDPO = ((PAU.UserControls.ucDPO)(target));
     return;
     case 17:
     this.dgNationality = ((PAU.UserControls.ucNationality)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.pagingPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.edtCurrentPage = ((DevComponents.WpfEditors.IntegerInput)(target));
     
     #line 17 "..\..\..\UserControls\ucPassenger.xaml"
     this.edtCurrentPage.ValueChanged += new System.Windows.RoutedEventHandler(this.edtCurrentPage_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnPrevPage = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.btnNextPage = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.cbxSearchFieldName1 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.tbSearchText1 = ((System.Windows.Controls.TextBox)(target));
     
     #line 39 "..\..\..\UserControls\ucPassenger.xaml"
     this.tbSearchText1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSearchText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.cbxSearchOp = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.cbxSearchFieldName2 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.tbSearchText2 = ((System.Windows.Controls.TextBox)(target));
     
     #line 58 "..\..\..\UserControls\ucPassenger.xaml"
     this.tbSearchText2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbSearchText_TextChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnSearch = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\..\UserControls\ucPassenger.xaml"
     this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnClearSearch = ((System.Windows.Controls.Button)(target));
     
     #line 64 "..\..\..\UserControls\ucPassenger.xaml"
     this.btnClearSearch.Click += new System.Windows.RoutedEventHandler(this.btnClearSearch_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnFindAttention = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\..\UserControls\ucPassenger.xaml"
     this.btnFindAttention.Click += new System.Windows.RoutedEventHandler(this.btnFindAttention_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\..\UserControls\ucPassenger.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.cbxEdit = ((System.Windows.Controls.CheckBox)(target));
     
     #line 72 "..\..\..\UserControls\ucPassenger.xaml"
     this.cbxEdit.Click += new System.Windows.RoutedEventHandler(this.cbxEdit_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.dgPassenger = ((Microsoft.Windows.Controls.DataGrid)(target));
     
     #line 78 "..\..\..\UserControls\ucPassenger.xaml"
     this.dgPassenger.RowEditEnding += new System.EventHandler<Microsoft.Windows.Controls.DataGridRowEditEndingEventArgs>(this.dgPassenger_RowEditEnding);
     
     #line default
     #line hidden
     
     #line 80 "..\..\..\UserControls\ucPassenger.xaml"
     this.dgPassenger.BeginningEdit += new System.EventHandler<Microsoft.Windows.Controls.DataGridBeginningEditEventArgs>(this.dgPassenger_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 81 "..\..\..\UserControls\ucPassenger.xaml"
     this.dgPassenger.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dgPassenger_PreviewMouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 82 "..\..\..\UserControls\ucPassenger.xaml"
     this.dgPassenger.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.dgPassenger_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }