void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucNhomSanPham = ((Presentation.UserControls.NhomSanPhamUPresentation)(target));

            #line 7 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.ucNhomSanPham.Loaded += new System.Windows.RoutedEventHandler(this.ucNhomSanPham_Loaded);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.txtTimKiem.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtTimKiem_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnTimKiem.Click += new System.Windows.RoutedEventHandler(this.btnTimKiem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnReset = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.dgNhomSanPham = ((System.Windows.Controls.DataGrid)(target));

            #line 54 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.dgNhomSanPham.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.Datagrid_loadingrow);

            #line default
            #line hidden
                return;

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

            #line 134 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnXuatExcel.Click += new System.Windows.RoutedEventHandler(this.btnXuatExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnNhapExcel.Click += new System.Windows.RoutedEventHandler(this.btnNhapExcel_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnThemMoi = ((System.Windows.Controls.Button)(target));

            #line 148 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnThemMoi.Click += new System.Windows.RoutedEventHandler(this.btnThemMoi_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.bdProgress = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.spProgress = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.lbProgress = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.pbTienTrinh = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucNhomSanPham = ((Presentation.UserControls.NhomSanPhamUPresentation)(target));

            #line 10 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.ucNhomSanPham.Loaded += new System.Windows.RoutedEventHandler(this.ucNhomSanPham_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.dgNhomSanPham = ((System.Windows.Controls.DataGrid)(target));

            #line 79 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.dgNhomSanPham.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.Datagrid_loadingrow);

            #line default
            #line hidden
                return;

            case 5:
                this.gridButton = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 157 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnDong.Click += new System.Windows.RoutedEventHandler(this.btnDong_Click);

            #line default
            #line hidden
                return;

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

            #line 158 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnThemMoi.Click += new System.Windows.RoutedEventHandler(this.btnThemMoi_Click);

            #line default
            #line hidden
                return;

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

            #line 159 "..\..\..\UserControls\NhomSanPhamUPresentation.xaml"
                this.btnNhapExcel.Click += new System.Windows.RoutedEventHandler(this.btnNhapExcel_Click);

            #line default
            #line hidden
                return;

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