Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.title = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 3:
                this.cboEmployeeIdentity = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 4:
                this.toolBar_btn = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.btn1 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.btn2 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dp = ((Ay.Framework.WPF.Controls.AyDataPager)(target));

            #line 9 "..\..\..\Controls\AyDataPager.xaml"
                this.dp.Loaded += new System.Windows.RoutedEventHandler(this.DataPager_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cboPageSize = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 3:
                this.btnFirst = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 4:
                this.btnPrev = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 5:
                this.tbPageIndex = ((System.Windows.Controls.TextBox)(target));

            #line 50 "..\..\..\Controls\AyDataPager.xaml"
                this.tbPageIndex.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.tbPageIndex_PreviewKeyDown);

            #line default
            #line hidden

            #line 51 "..\..\..\Controls\AyDataPager.xaml"
                this.tbPageIndex.LostFocus += new System.Windows.RoutedEventHandler(this.tbPageIndex_LostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.btnNext = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 7:
                this.btnLast = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;

            case 8:
                this.btnRefresh = ((Ay.Framework.WPF.Controls.AyImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tb_empName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.saveInfo = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 41 "..\..\..\Views\EmployeeBaseInfoPage.xaml"
                this.export.Click += new System.Windows.RoutedEventHandler(this.export_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.t_empName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.empName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.xing_empName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.t_empSex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.rb_male = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.rb_female = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.xing_empSex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.t_empRelation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.onlyZhiShu = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.onlyZhuZhi = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.xing_empRelation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.t_cboL = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.cboEmployeeType = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 17:
                this.xing_cboL = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:
                this.tb_object_select = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.onlyZhiShu = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.onlyZhuZhi = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.rb_all = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.rb_male = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.rb_female = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.tb_before_year = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.tb_before_month = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.tb_after_year = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.tb_after_month = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.cboEmployeeType = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 14:
                this.cboEmployeeIdentity = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 15:
                this.cboHuKouCharactor = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 16:
                this.cboRuZhiDate = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 17:
                this.dpTimeBegin = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 18:
                this.dpTimeEnd = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 19:
                this.cboKey = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 20:
                this.tb_keyword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.cboOrderByMode = ((Ay.Framework.WPF.Controls.AyComboBox)(target));
                return;

            case 22:
                this.btnSearch = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.dg_EmployeeInfo = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 24:
                this.ck_AllSelect = ((System.Windows.Controls.CheckBox)(target));

            #line 179 "..\..\..\Views\EmployeeInfoPage.xaml"
                this.ck_AllSelect.Click += new System.Windows.RoutedEventHandler(this.ck_AllSelect_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.dataPager = ((Ay.Framework.WPF.Controls.AyDataPager)(target));
                return;

            case 26:
                this.toolBar_btn = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 27:
                this.btn1 = ((System.Windows.Controls.Button)(target));
                return;

            case 28:
                this.btn2 = ((System.Windows.Controls.Button)(target));
                return;

            case 29:
                this.btn3 = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.btn4 = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.btn5 = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.btn6 = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.btn7 = ((System.Windows.Controls.Button)(target));
                return;

            case 34:
                this.btn8 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }