Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc_ListStaff = ((SourceCode.ListStaff)(target));
                return;

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

            #line 13 "..\..\ListStaff.xaml"
                this.UCNhanVien.Loaded += new System.Windows.RoutedEventHandler(this.UCNhanVien_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.SelectedItemWraPnel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 4:
                this.txbID_User = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.txbUserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txbGender = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txbIDNum = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            case 13:
                this.txbPhone = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.dpBirthDay = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.dpDayJoin = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:
                this.prgb = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 18:
                this.lbprgrb = ((System.Windows.Controls.Label)(target));
                return;

            case 19:

            #line 77 "..\..\ListStaff.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 20:
                this.lvListStaff = ((System.Windows.Controls.ListView)(target));

            #line 87 "..\..\ListStaff.xaml"
                this.lvListStaff.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvListStaff_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uc_ListStaff = ((SourceCode.ListStaff)(target));
                return;

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

            #line 13 "..\..\ListStaff.xaml"
                this.UCNhanVien.Loaded += new System.Windows.RoutedEventHandler(this.UCNhanVien_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.SelectedItemWraPnel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 4:
                this.txbID_User = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.txbUserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txbIsBan = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.txbGender = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            case 13:
                this.txbAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.dpBirthDay = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.dpDayJoin = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.txbSearch = ((System.Windows.Controls.TextBox)(target));

            #line 69 "..\..\ListStaff.xaml"
                this.txbSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:
                this.prgb = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 19:
                this.lbprgrb = ((System.Windows.Controls.Label)(target));
                return;

            case 20:

            #line 79 "..\..\ListStaff.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 21:

            #line 80 "..\..\ListStaff.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 22:

            #line 81 "..\..\ListStaff.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 23:
                this.lvListStaff = ((System.Windows.Controls.ListView)(target));

            #line 89 "..\..\ListStaff.xaml"
                this.lvListStaff.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.lvListStaff_MouseRightButtonUp);

            #line default
            #line hidden

            #line 89 "..\..\ListStaff.xaml"
                this.lvListStaff.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvListStaff_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.ZoneIformationList = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 25:
                this.ResetPasswordMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 96 "..\..\ListStaff.xaml"
                this.ResetPasswordMenuItem.Click += new System.Windows.RoutedEventHandler(this.ResetPasswordMenuItem_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.SetSalaryMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 97 "..\..\ListStaff.xaml"
                this.SetSalaryMenuItem.Click += new System.Windows.RoutedEventHandler(this.SetSalaryMenuItem_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.NotBanAccountMenuitem = ((System.Windows.Controls.MenuItem)(target));

            #line 98 "..\..\ListStaff.xaml"
                this.NotBanAccountMenuitem.Click += new System.Windows.RoutedEventHandler(this.NotBanAccountMenuitem_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.BanAccountMenuitem = ((System.Windows.Controls.MenuItem)(target));

            #line 99 "..\..\ListStaff.xaml"
                this.BanAccountMenuitem.Click += new System.Windows.RoutedEventHandler(this.BanAccountMenuitem_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.CheckBoxColumn = ((System.Windows.Controls.GridViewColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }