Наследование: System.Windows.Controls.TabControl
Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StudentDetailUserControl = ((ES.UI.Setups.ucStudentDetailView)(target));
                return;

            case 2:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;

            case 3:
                this.btnSearchParent = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\..\..\..\..\Setups\Setting\Student\ucStudentDetailView.xaml"
                this.btnSearchParent.Click += new System.Windows.RoutedEventHandler(this.btnSearchParent_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.cmbStdClass = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.cmbStdSection = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.btnStudentSave = ((System.Windows.Controls.Button)(target));

            #line 329 "..\..\..\..\..\..\Setups\Setting\Student\ucStudentDetailView.xaml"
                this.btnStudentSave.Click += new System.Windows.RoutedEventHandler(this.btnStudentSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((Wpf.Controls.TabControl)(target));

            #line 8 "..\..\..\Views\TabControlView.xaml"
                this.tabControl.TabItemClosing += new System.EventHandler <Wpf.Controls.TabItemCancelEventArgs>(this.tabControl_TabItemClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.gridname = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.tvMenu = ((System.Windows.Controls.TreeView)(target));
                return;

            case 4:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((MixPanelViewer.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindowLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.m_Menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

            #line 24 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onNewTabClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 25 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onOpenClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 26 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onSaveClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 28 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onExitClick);

            #line default
            #line hidden
                return;

            case 7:

            #line 32 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onSettingClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 34 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.onAboutClick);

            #line default
            #line hidden
                return;

            case 9:
                this.tab_List = ((Wpf.Controls.TabControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GridTop = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.CustomerLogo = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.OurLogo = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.KeepSpace = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 6:
     this.LeftNav = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.dashboard = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\UserFrame.xaml"
     this.dashboard.Click += new System.Windows.RoutedEventHandler(this.dashboard_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.inventory = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\UserFrame.xaml"
     this.inventory.Click += new System.Windows.RoutedEventHandler(this.inventory_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.inout = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\UserFrame.xaml"
     this.inout.MouseEnter += new System.Windows.Input.MouseEventHandler(this.inout_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 10:
     this.SubGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 53 "..\..\UserFrame.xaml"
     this.SubGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.SubGrid_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Outbound = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\UserFrame.xaml"
     this.Outbound.Click += new System.Windows.RoutedEventHandler(this.Outbound_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Inbound = ((System.Windows.Controls.Button)(target));
     
     #line 61 "..\..\UserFrame.xaml"
     this.Inbound.Click += new System.Windows.RoutedEventHandler(this.Inbound_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.Returns = ((System.Windows.Controls.Button)(target));
     
     #line 62 "..\..\UserFrame.xaml"
     this.Returns.Click += new System.Windows.RoutedEventHandler(this.Returns_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.dock = ((System.Windows.Controls.Button)(target));
     
     #line 63 "..\..\UserFrame.xaml"
     this.dock.Click += new System.Windows.RoutedEventHandler(this.dock_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.tasks = ((System.Windows.Controls.Button)(target));
     
     #line 65 "..\..\UserFrame.xaml"
     this.tasks.Click += new System.Windows.RoutedEventHandler(this.tasks_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.reports = ((System.Windows.Controls.Button)(target));
     
     #line 71 "..\..\UserFrame.xaml"
     this.reports.Click += new System.Windows.RoutedEventHandler(this.reports_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.billing = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\UserFrame.xaml"
     this.billing.Click += new System.Windows.RoutedEventHandler(this.billing_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.admin = ((System.Windows.Controls.Button)(target));
     
     #line 84 "..\..\UserFrame.xaml"
     this.admin.Click += new System.Windows.RoutedEventHandler(this.admin_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.GridContent = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     case 21:
     this.chart = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.branchFilter = ((System.Windows.Controls.ComboBox)(target));
     
     #line 152 "..\..\UserFrame.xaml"
     this.branchFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Branch_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 152 "..\..\UserFrame.xaml"
     this.branchFilter.Loaded += new System.Windows.RoutedEventHandler(this.branchFilter_Loaded);
     
     #line default
     #line hidden
     return;
     case 23:
     this.ownerFilter = ((System.Windows.Controls.ComboBox)(target));
     
     #line 154 "..\..\UserFrame.xaml"
     this.ownerFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Owner_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 154 "..\..\UserFrame.xaml"
     this.ownerFilter.Loaded += new System.Windows.RoutedEventHandler(this.ownerFilter_Loaded);
     
     #line default
     #line hidden
     return;
     case 24:
     this.LocFilter = ((System.Windows.Controls.TextBox)(target));
     
     #line 157 "..\..\UserFrame.xaml"
     this.LocFilter.MouseEnter += new System.Windows.Input.MouseEventHandler(this.LocFilter_MouseEnter);
     
     #line default
     #line hidden
     
     #line 157 "..\..\UserFrame.xaml"
     this.LocFilter.MouseLeave += new System.Windows.Input.MouseEventHandler(this.LocFilter_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 25:
     this.ProFilter = ((System.Windows.Controls.TextBox)(target));
     
     #line 159 "..\..\UserFrame.xaml"
     this.ProFilter.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ProFilter_MouseEnter);
     
     #line default
     #line hidden
     
     #line 159 "..\..\UserFrame.xaml"
     this.ProFilter.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ProFilter_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 26:
     
     #line 160 "..\..\UserFrame.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Filter_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.zero = ((System.Windows.Controls.CheckBox)(target));
     
     #line 162 "..\..\UserFrame.xaml"
     this.zero.Unchecked += new System.Windows.RoutedEventHandler(this.showZero_Unchecked);
     
     #line default
     #line hidden
     
     #line 162 "..\..\UserFrame.xaml"
     this.zero.Checked += new System.Windows.RoutedEventHandler(this.showZero_Checked);
     
     #line default
     #line hidden
     return;
     case 28:
     
     #line 163 "..\..\UserFrame.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
     
     #line 166 "..\..\UserFrame.xaml"
     this.dataGrid.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 30:
     this.AdjustQuantity = ((System.Windows.Controls.MenuItem)(target));
     
     #line 186 "..\..\UserFrame.xaml"
     this.AdjustQuantity.Click += new System.Windows.RoutedEventHandler(this.AdjustQuantity_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.AdjustStockStatus = ((System.Windows.Controls.MenuItem)(target));
     
     #line 187 "..\..\UserFrame.xaml"
     this.AdjustStockStatus.Click += new System.Windows.RoutedEventHandler(this.AdjustStockStatus_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.AdjustAttributes = ((System.Windows.Controls.MenuItem)(target));
     
     #line 188 "..\..\UserFrame.xaml"
     this.AdjustAttributes.Click += new System.Windows.RoutedEventHandler(this.AdjustAttributes_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.CreateNewStock = ((System.Windows.Controls.MenuItem)(target));
     
     #line 189 "..\..\UserFrame.xaml"
     this.CreateNewStock.Click += new System.Windows.RoutedEventHandler(this.CreateNewStock_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.Convert2DMG = ((System.Windows.Controls.MenuItem)(target));
     
     #line 190 "..\..\UserFrame.xaml"
     this.Convert2DMG.Click += new System.Windows.RoutedEventHandler(this.Convert2DMG_Click);
     
     #line default
     #line hidden
     return;
     case 35:
     this.Convert2AVL = ((System.Windows.Controls.MenuItem)(target));
     
     #line 191 "..\..\UserFrame.xaml"
     this.Convert2AVL.Click += new System.Windows.RoutedEventHandler(this.Convert2AVL_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.ChangeLoc = ((System.Windows.Controls.MenuItem)(target));
     
     #line 192 "..\..\UserFrame.xaml"
     this.ChangeLoc.Click += new System.Windows.RoutedEventHandler(this.ChangeLoc_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.InputBox = ((System.Windows.Controls.Grid)(target));
     return;
     case 38:
     this.InputTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 203 "..\..\UserFrame.xaml"
     this.InputTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.InputTextBox_KeyDown);
     
     #line default
     #line hidden
     return;
     case 39:
     this.YesButton = ((System.Windows.Controls.Button)(target));
     
     #line 205 "..\..\UserFrame.xaml"
     this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.NoButton = ((System.Windows.Controls.Button)(target));
     
     #line 206 "..\..\UserFrame.xaml"
     this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.InvEditFrame = ((System.Windows.Controls.Grid)(target));
     return;
     case 42:
     this.BranchField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 43:
     this.OwnerField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.PcodeField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.ColourField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.SizeField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 47:
     this.LocationField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 48:
     this.UOMField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 49:
     this.QTYField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 50:
     this.ArrivalField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 51:
     this.BatchField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 52:
     this.ExpiryField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 53:
     this.SNField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.Attr1Field = ((System.Windows.Controls.TextBox)(target));
     return;
     case 55:
     this.Attr2Field = ((System.Windows.Controls.TextBox)(target));
     return;
     case 56:
     this.Attr3Field = ((System.Windows.Controls.TextBox)(target));
     return;
     case 57:
     this.Attr4Field = ((System.Windows.Controls.TextBox)(target));
     return;
     case 58:
     this.Attr5Field = ((System.Windows.Controls.TextBox)(target));
     return;
     case 59:
     this.StockField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 60:
     this.BranchFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 61:
     this.OwnerFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 62:
     this.PcodeFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 63:
     this.ColourFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 64:
     this.SizeFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 65:
     this.LocationFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 66:
     this.UOMFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 67:
     this.QTYFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 68:
     this.ArrivalFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 69:
     this.BatchFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 70:
     this.ExpiryFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 71:
     this.SNFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 72:
     this.Attr1FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 73:
     this.Attr2FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 74:
     this.Attr3FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 75:
     this.Attr4FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 76:
     this.Attr5FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 77:
     this.StockFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
     return;
     case 78:
     this.Reason1 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 302 "..\..\UserFrame.xaml"
     this.Reason1.Checked += new System.Windows.RoutedEventHandler(this.Reason1_Checked);
     
     #line default
     #line hidden
     return;
     case 79:
     this.Reason2 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 303 "..\..\UserFrame.xaml"
     this.Reason2.Checked += new System.Windows.RoutedEventHandler(this.Reason2_Checked);
     
     #line default
     #line hidden
     return;
     case 80:
     this.Reason3 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 304 "..\..\UserFrame.xaml"
     this.Reason3.Checked += new System.Windows.RoutedEventHandler(this.Reason3_Checked);
     
     #line default
     #line hidden
     return;
     case 81:
     this.Reason4 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 305 "..\..\UserFrame.xaml"
     this.Reason4.Checked += new System.Windows.RoutedEventHandler(this.Reason4_Checked);
     
     #line default
     #line hidden
     return;
     case 82:
     this.Reason5 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 306 "..\..\UserFrame.xaml"
     this.Reason5.Checked += new System.Windows.RoutedEventHandler(this.Reason5_Checked);
     
     #line default
     #line hidden
     return;
     case 83:
     this.Reason6 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 307 "..\..\UserFrame.xaml"
     this.Reason6.Checked += new System.Windows.RoutedEventHandler(this.Reason6_Checked);
     
     #line default
     #line hidden
     return;
     case 84:
     this.Reason7 = ((System.Windows.Controls.RadioButton)(target));
     
     #line 308 "..\..\UserFrame.xaml"
     this.Reason7.Checked += new System.Windows.RoutedEventHandler(this.Reason7_Checked);
     
     #line default
     #line hidden
     return;
     case 85:
     this.ReasonField = ((System.Windows.Controls.TextBox)(target));
     return;
     case 86:
     this.SaveEdit = ((System.Windows.Controls.Button)(target));
     
     #line 310 "..\..\UserFrame.xaml"
     this.SaveEdit.Click += new System.Windows.RoutedEventHandler(this.SaveEdit_Click);
     
     #line default
     #line hidden
     return;
     case 87:
     this.CancelEdit = ((System.Windows.Controls.Button)(target));
     
     #line 311 "..\..\UserFrame.xaml"
     this.CancelEdit.Click += new System.Windows.RoutedEventHandler(this.CancelEdit_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     
     #line 8 "..\..\..\Views\TabControlView.xaml"
     this.tabControl.TabItemClosing += new System.EventHandler<Wpf.Controls.TabItemCancelEventArgs>(this.tabControl_TabItemClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StaffDetailUserControl = ((ES.UI.Setups.ucStaffDetailView)(target));
     return;
     case 2:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     case 3:
     this.btnAddNewEducation = ((System.Windows.Controls.Button)(target));
     
     #line 191 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     this.btnAddNewEducation.Click += new System.Windows.RoutedEventHandler(this.btnAddNewEducation_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.gvEducationListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
     return;
     case 5:
     
     #line 215 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowEduEdit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 216 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowEduDelete_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnAddNewExperience = ((System.Windows.Controls.Button)(target));
     
     #line 234 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     this.btnAddNewExperience.Click += new System.Windows.RoutedEventHandler(this.btnAddNewExperience_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.gvStaffExpListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
     return;
     case 9:
     
     #line 256 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowExpEdit_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 257 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowExpDelete_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnStaffSave = ((System.Windows.Controls.Button)(target));
     
     #line 325 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
     this.btnStaffSave.Click += new System.Windows.RoutedEventHandler(this.btnStaffSave_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StudentDetailUserControl = ((ES.UI.Setups.ucStudentDetailView)(target));
     return;
     case 2:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     case 3:
     this.btnSearchParent = ((System.Windows.Controls.Button)(target));
     
     #line 145 "..\..\..\..\..\..\Setups\Setting\Student\ucStudentDetailView.xaml"
     this.btnSearchParent.Click += new System.Windows.RoutedEventHandler(this.btnSearchParent_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cmbStdClass = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.cmbStdSection = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.btnStudentSave = ((System.Windows.Controls.Button)(target));
     
     #line 329 "..\..\..\..\..\..\Setups\Setting\Student\ucStudentDetailView.xaml"
     this.btnStudentSave.Click += new System.Windows.RoutedEventHandler(this.btnStudentSave_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.root = ((Test.WindowUsingItemsSourceProperty)(target));
                return;

            case 2:

            #line 22 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.FixedRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 23 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.DynamicRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;

            case 5:

            #line 117 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 6:

            #line 119 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 7:

            #line 122 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 8:

            #line 124 "..\..\WindowUsingItemsSourceProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 9:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #11
0
        private static void OnAllowDeleteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TabControl tc = (TabControl)d;

            tc.SetTabItemsCloseButtonVisibility();
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.textBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 28 "..\..\WindowUsingItemsProperty.xaml"
     this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     case 3:
     
     #line 89 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Forms.WebBrowser)(target)).DocumentTitleChanged += new System.EventHandler(this.Browser_DocumentTitleChanged);
     
     #line default
     #line hidden
     
     #line 89 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Forms.WebBrowser)(target)).Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.Browser_Navigated);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 127 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 129 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 132 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 134 "..\..\WindowUsingItemsProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 8:
     this.listBox = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridTop = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.CustomerLogo = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.OurLogo = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.KeepSpace = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 6:
                this.LeftNav = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.dashboard = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\UserFrame.xaml"
                this.dashboard.Click += new System.Windows.RoutedEventHandler(this.dashboard_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.inventory = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\UserFrame.xaml"
                this.inventory.Click += new System.Windows.RoutedEventHandler(this.inventory_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.inout = ((System.Windows.Controls.Button)(target));

            #line 47 "..\..\UserFrame.xaml"
                this.inout.MouseEnter += new System.Windows.Input.MouseEventHandler(this.inout_MouseEnter);

            #line default
            #line hidden
                return;

            case 10:
                this.SubGrid = ((System.Windows.Controls.Grid)(target));

            #line 53 "..\..\UserFrame.xaml"
                this.SubGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.SubGrid_MouseLeave);

            #line default
            #line hidden
                return;

            case 11:
                this.Outbound = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\UserFrame.xaml"
                this.Outbound.Click += new System.Windows.RoutedEventHandler(this.Outbound_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Inbound = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\UserFrame.xaml"
                this.Inbound.Click += new System.Windows.RoutedEventHandler(this.Inbound_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Returns = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\UserFrame.xaml"
                this.Returns.Click += new System.Windows.RoutedEventHandler(this.Returns_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.dock = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\UserFrame.xaml"
                this.dock.Click += new System.Windows.RoutedEventHandler(this.dock_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.tasks = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\UserFrame.xaml"
                this.tasks.Click += new System.Windows.RoutedEventHandler(this.tasks_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.reports = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\UserFrame.xaml"
                this.reports.Click += new System.Windows.RoutedEventHandler(this.reports_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.billing = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\UserFrame.xaml"
                this.billing.Click += new System.Windows.RoutedEventHandler(this.billing_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.admin = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\UserFrame.xaml"
                this.admin.Click += new System.Windows.RoutedEventHandler(this.admin_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.GridContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;

            case 21:
                this.chart = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.branchFilter = ((System.Windows.Controls.ComboBox)(target));

            #line 152 "..\..\UserFrame.xaml"
                this.branchFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Branch_SelectionChanged);

            #line default
            #line hidden

            #line 152 "..\..\UserFrame.xaml"
                this.branchFilter.Loaded += new System.Windows.RoutedEventHandler(this.branchFilter_Loaded);

            #line default
            #line hidden
                return;

            case 23:
                this.ownerFilter = ((System.Windows.Controls.ComboBox)(target));

            #line 154 "..\..\UserFrame.xaml"
                this.ownerFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Owner_SelectionChanged);

            #line default
            #line hidden

            #line 154 "..\..\UserFrame.xaml"
                this.ownerFilter.Loaded += new System.Windows.RoutedEventHandler(this.ownerFilter_Loaded);

            #line default
            #line hidden
                return;

            case 24:
                this.LocFilter = ((System.Windows.Controls.TextBox)(target));

            #line 157 "..\..\UserFrame.xaml"
                this.LocFilter.MouseEnter += new System.Windows.Input.MouseEventHandler(this.LocFilter_MouseEnter);

            #line default
            #line hidden

            #line 157 "..\..\UserFrame.xaml"
                this.LocFilter.MouseLeave += new System.Windows.Input.MouseEventHandler(this.LocFilter_MouseLeave);

            #line default
            #line hidden
                return;

            case 25:
                this.ProFilter = ((System.Windows.Controls.TextBox)(target));

            #line 159 "..\..\UserFrame.xaml"
                this.ProFilter.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ProFilter_MouseEnter);

            #line default
            #line hidden

            #line 159 "..\..\UserFrame.xaml"
                this.ProFilter.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ProFilter_MouseLeave);

            #line default
            #line hidden
                return;

            case 26:

            #line 160 "..\..\UserFrame.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Filter_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.zero = ((System.Windows.Controls.CheckBox)(target));

            #line 162 "..\..\UserFrame.xaml"
                this.zero.Unchecked += new System.Windows.RoutedEventHandler(this.showZero_Unchecked);

            #line default
            #line hidden

            #line 162 "..\..\UserFrame.xaml"
                this.zero.Checked += new System.Windows.RoutedEventHandler(this.showZero_Checked);

            #line default
            #line hidden
                return;

            case 28:

            #line 163 "..\..\UserFrame.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 166 "..\..\UserFrame.xaml"
                this.dataGrid.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 30:
                this.AdjustQuantity = ((System.Windows.Controls.MenuItem)(target));

            #line 186 "..\..\UserFrame.xaml"
                this.AdjustQuantity.Click += new System.Windows.RoutedEventHandler(this.AdjustQuantity_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.AdjustStockStatus = ((System.Windows.Controls.MenuItem)(target));

            #line 187 "..\..\UserFrame.xaml"
                this.AdjustStockStatus.Click += new System.Windows.RoutedEventHandler(this.AdjustStockStatus_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.AdjustAttributes = ((System.Windows.Controls.MenuItem)(target));

            #line 188 "..\..\UserFrame.xaml"
                this.AdjustAttributes.Click += new System.Windows.RoutedEventHandler(this.AdjustAttributes_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.CreateNewStock = ((System.Windows.Controls.MenuItem)(target));

            #line 189 "..\..\UserFrame.xaml"
                this.CreateNewStock.Click += new System.Windows.RoutedEventHandler(this.CreateNewStock_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.Convert2DMG = ((System.Windows.Controls.MenuItem)(target));

            #line 190 "..\..\UserFrame.xaml"
                this.Convert2DMG.Click += new System.Windows.RoutedEventHandler(this.Convert2DMG_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.Convert2AVL = ((System.Windows.Controls.MenuItem)(target));

            #line 191 "..\..\UserFrame.xaml"
                this.Convert2AVL.Click += new System.Windows.RoutedEventHandler(this.Convert2AVL_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.ChangeLoc = ((System.Windows.Controls.MenuItem)(target));

            #line 192 "..\..\UserFrame.xaml"
                this.ChangeLoc.Click += new System.Windows.RoutedEventHandler(this.ChangeLoc_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.InputBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.InputTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 203 "..\..\UserFrame.xaml"
                this.InputTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.InputTextBox_KeyDown);

            #line default
            #line hidden
                return;

            case 39:
                this.YesButton = ((System.Windows.Controls.Button)(target));

            #line 205 "..\..\UserFrame.xaml"
                this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.NoButton = ((System.Windows.Controls.Button)(target));

            #line 206 "..\..\UserFrame.xaml"
                this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.InvEditFrame = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this.BranchField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.OwnerField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 44:
                this.PcodeField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.ColourField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 46:
                this.SizeField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.LocationField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 48:
                this.UOMField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 49:
                this.QTYField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 50:
                this.ArrivalField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.BatchField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 52:
                this.ExpiryField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.SNField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.Attr1Field = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.Attr2Field = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.Attr3Field = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.Attr4Field = ((System.Windows.Controls.TextBox)(target));
                return;

            case 58:
                this.Attr5Field = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.StockField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 60:
                this.BranchFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.OwnerFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 62:
                this.PcodeFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.ColourFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 64:
                this.SizeFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.LocationFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 66:
                this.UOMFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 67:
                this.QTYFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 68:
                this.ArrivalFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 69:
                this.BatchFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.ExpiryFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.SNFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.Attr1FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.Attr2FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 74:
                this.Attr3FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.Attr4FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 76:
                this.Attr5FieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.StockFieldReadOnly = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.Reason1 = ((System.Windows.Controls.RadioButton)(target));

            #line 302 "..\..\UserFrame.xaml"
                this.Reason1.Checked += new System.Windows.RoutedEventHandler(this.Reason1_Checked);

            #line default
            #line hidden
                return;

            case 79:
                this.Reason2 = ((System.Windows.Controls.RadioButton)(target));

            #line 303 "..\..\UserFrame.xaml"
                this.Reason2.Checked += new System.Windows.RoutedEventHandler(this.Reason2_Checked);

            #line default
            #line hidden
                return;

            case 80:
                this.Reason3 = ((System.Windows.Controls.RadioButton)(target));

            #line 304 "..\..\UserFrame.xaml"
                this.Reason3.Checked += new System.Windows.RoutedEventHandler(this.Reason3_Checked);

            #line default
            #line hidden
                return;

            case 81:
                this.Reason4 = ((System.Windows.Controls.RadioButton)(target));

            #line 305 "..\..\UserFrame.xaml"
                this.Reason4.Checked += new System.Windows.RoutedEventHandler(this.Reason4_Checked);

            #line default
            #line hidden
                return;

            case 82:
                this.Reason5 = ((System.Windows.Controls.RadioButton)(target));

            #line 306 "..\..\UserFrame.xaml"
                this.Reason5.Checked += new System.Windows.RoutedEventHandler(this.Reason5_Checked);

            #line default
            #line hidden
                return;

            case 83:
                this.Reason6 = ((System.Windows.Controls.RadioButton)(target));

            #line 307 "..\..\UserFrame.xaml"
                this.Reason6.Checked += new System.Windows.RoutedEventHandler(this.Reason6_Checked);

            #line default
            #line hidden
                return;

            case 84:
                this.Reason7 = ((System.Windows.Controls.RadioButton)(target));

            #line 308 "..\..\UserFrame.xaml"
                this.Reason7.Checked += new System.Windows.RoutedEventHandler(this.Reason7_Checked);

            #line default
            #line hidden
                return;

            case 85:
                this.ReasonField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 86:
                this.SaveEdit = ((System.Windows.Controls.Button)(target));

            #line 310 "..\..\UserFrame.xaml"
                this.SaveEdit.Click += new System.Windows.RoutedEventHandler(this.SaveEdit_Click);

            #line default
            #line hidden
                return;

            case 87:
                this.CancelEdit = ((System.Windows.Controls.Button)(target));

            #line 311 "..\..\UserFrame.xaml"
                this.CancelEdit.Click += new System.Windows.RoutedEventHandler(this.CancelEdit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.StaffDetailUserControl = ((ES.UI.Setups.ucStaffDetailView)(target));
                return;

            case 2:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;

            case 3:
                this.btnAddNewEducation = ((System.Windows.Controls.Button)(target));

            #line 191 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                this.btnAddNewEducation.Click += new System.Windows.RoutedEventHandler(this.btnAddNewEducation_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.gvEducationListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
                return;

            case 5:

            #line 215 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowEduEdit_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 216 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowEduDelete_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnAddNewExperience = ((System.Windows.Controls.Button)(target));

            #line 234 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                this.btnAddNewExperience.Click += new System.Windows.RoutedEventHandler(this.btnAddNewExperience_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.gvStaffExpListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
                return;

            case 9:

            #line 256 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowExpEdit_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 257 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRowExpDelete_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnStaffSave = ((System.Windows.Controls.Button)(target));

            #line 325 "..\..\..\..\..\Setups\Staff\ucStaffDetailView.xaml"
                this.btnStaffSave.Click += new System.Windows.RoutedEventHandler(this.btnStaffSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.root = ((Test.WindowUsingItemsSourceProperty)(target));
     return;
     case 2:
     
     #line 22 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.FixedRadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 23 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.DynamicRadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.tabControl = ((Wpf.Controls.TabControl)(target));
     return;
     case 5:
     
     #line 117 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 119 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 122 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 124 "..\..\WindowUsingItemsSourceProperty.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 9:
     this.listBox = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBox = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\WindowUsingItemsProperty.xaml"
                this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.tabControl = ((Wpf.Controls.TabControl)(target));
                return;

            case 3:

            #line 89 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Forms.WebBrowser)(target)).DocumentTitleChanged += new System.EventHandler(this.Browser_DocumentTitleChanged);

            #line default
            #line hidden

            #line 89 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Forms.WebBrowser)(target)).Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.Browser_Navigated);

            #line default
            #line hidden
                return;

            case 4:

            #line 127 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 5:

            #line 129 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 6:

            #line 132 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 7:

            #line 134 "..\..\WindowUsingItemsProperty.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden
                return;

            case 8:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }