void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.StaffUserControl = ((ES.UI.Setups.ucStaffListView)(target)); return; case 2: this.ShellHeader = ((System.Windows.Controls.Grid)(target)); return; case 3: this.btnAddStaff = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\..\..\..\Setups\Setting\Staff\ucStaffListView.xaml" this.btnAddStaff.Click += new System.Windows.RoutedEventHandler(this.btnAddStaff_Click); #line default #line hidden return; case 4: this.btnRefreshStaff = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\..\..\..\..\Setups\Setting\Staff\ucStaffListView.xaml" this.btnRefreshStaff.Click += new System.Windows.RoutedEventHandler(this.btnRefreshStaff_Click); #line default #line hidden return; case 5: this.gvStaffListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target)); return; case 6: #line 66 "..\..\..\..\..\..\Setups\Setting\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click); #line default #line hidden return; case 7: #line 67 "..\..\..\..\..\..\Setups\Setting\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMView_Click); #line default #line hidden return; case 8: #line 68 "..\..\..\..\..\..\Setups\Setting\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.StaffUserControl = ((ES.UI.Setups.ucStaffListView)(target)); return; case 2: this.ShellHeader = ((System.Windows.Controls.Grid)(target)); return; case 3: this.btnAddStaff = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\..\..\..\Setups\Staff\ucStaffListView.xaml" this.btnAddStaff.Click += new System.Windows.RoutedEventHandler(this.btnAddStaff_Click); #line default #line hidden return; case 4: this.btnRefreshStaff = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\..\..\..\Setups\Staff\ucStaffListView.xaml" this.btnRefreshStaff.Click += new System.Windows.RoutedEventHandler(this.btnRefreshStaff_Click); #line default #line hidden return; case 5: this.gvStaffListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target)); return; case 6: #line 66 "..\..\..\..\..\Setups\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click); #line default #line hidden return; case 7: #line 67 "..\..\..\..\..\Setups\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMView_Click); #line default #line hidden return; case 8: #line 68 "..\..\..\..\..\Setups\Staff\ucStaffListView.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click); #line default #line hidden return; } this._contentLoaded = true; }