Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.udSL = ((eisiWare.NumericUpDown)(target));
                return;

            case 2:

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

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

            #line 7 "..\..\NumericUpDown.xaml"
                this.ucNumericUpDown.Loaded += new System.Windows.RoutedEventHandler(this.ucNumericUpDown_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 32 "..\..\NumericUpDown.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.btnUp_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\NumericUpDown.xaml"
                this.btnDown.Click += new System.Windows.RoutedEventHandler(this.btnDown_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Pictur = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 25 "..\..\AddSP_EditSP.xaml"
                this.btnBrowes.Click += new System.Windows.RoutedEventHandler(this.btnBrowes_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 10:
                this.cbLoaiSP = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.cbHangSX = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.udNhapKho = ((eisiWare.NumericUpDown)(target));
                return;

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

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

            #line 72 "..\..\AddSP_EditSP.xaml"
                this.btnThemSP.Click += new System.Windows.RoutedEventHandler(this.btnThemSP_Click);

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

            #line 12 "..\..\ChiTietSanPham.xaml"
                ((ShopCar.ChiTietSanPham)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.txtNameSP = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.Pictur = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.txtSLX = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 8:
                this.ImgHang = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.txtLoaiSP = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 11:
                this.expan1 = ((System.Windows.Controls.Expander)(target));
                return;

            case 12:
                this.txtCauHinh = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.txtSL = ((eisiWare.NumericUpDown)(target));

            #line 87 "..\..\ChiTietSanPham.xaml"
                this.txtSL.ValueChanged += new System.Windows.RoutedEventHandler(this.txtSL_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\ChiTietSanPham.xaml"
                this.btnBuy.Click += new System.Windows.RoutedEventHandler(this.btnBuy_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\ChiTietSanPham.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.expan2 = ((System.Windows.Controls.Expander)(target));
                return;

            case 17:
                this.ListCungLoai = ((System.Windows.Controls.ListBox)(target));
                return;

            case 20:
                this.expan3 = ((System.Windows.Controls.Expander)(target));
                return;

            case 21:
                this.ListCungHang = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\View\BlockView.xaml"
                ((SSDL.BlockView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\View\BlockView.xaml"
                ((SSDL.BlockView)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\View\BlockView.xaml"
                this.BtnRef.Click += new System.Windows.RoutedEventHandler(this.BtnRef_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\View\BlockView.xaml"
                this.foldersItem.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.foldersItem_SelectedItemChanged);

            #line default
            #line hidden
                return;

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

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

            #line 47 "..\..\..\View\BlockView.xaml"
                this.BtnFind.Click += new System.Windows.RoutedEventHandler(this.BtnFind_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.LstFiles = ((System.Windows.Controls.ListBox)(target));

            #line 50 "..\..\..\View\BlockView.xaml"
                this.LstFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LstFiles_MouseDoubleClick);

            #line default
            #line hidden

            #line 50 "..\..\..\View\BlockView.xaml"
                this.LstFiles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstFiles_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\View\BlockView.xaml"
                this.BtnOpen.Click += new System.Windows.RoutedEventHandler(this.BtnOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\View\BlockView.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.chkPreview = ((System.Windows.Controls.CheckBox)(target));

            #line 53 "..\..\..\View\BlockView.xaml"
                this.chkPreview.Unchecked += new System.Windows.RoutedEventHandler(this.chkPreview_Checked);

            #line default
            #line hidden

            #line 53 "..\..\..\View\BlockView.xaml"
                this.chkPreview.Checked += new System.Windows.RoutedEventHandler(this.chkPreview_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.chkclosewindow = ((System.Windows.Controls.CheckBox)(target));

            #line 54 "..\..\..\View\BlockView.xaml"
                this.chkclosewindow.Unchecked += new System.Windows.RoutedEventHandler(this.chkclosewindow_Unchecked);

            #line default
            #line hidden

            #line 54 "..\..\..\View\BlockView.xaml"
                this.chkclosewindow.Checked += new System.Windows.RoutedEventHandler(this.chkclosewindow_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.host1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 12:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

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

            case 14:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 17:
                this.Txtquantity = ((eisiWare.NumericUpDown)(target));

            #line 65 "..\..\..\View\BlockView.xaml"
                this.Txtquantity.ValueChanged += new System.Windows.RoutedEventHandler(this.Txtquantity_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 19:
                this.TxtLen = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }