Пример #1
0
        private void Card_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            BDSView card = grid.SelectedItem as BDSView;

            if (card == null)
            {
                return;
            }
            eBDS = new SuaBDS();
            eBDS.setBDS(card.bdsid);
            eBDS.Show();
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Windows = ((Hung_Tuong_LVTN.SuaBDS)(target));
                return;

            case 2:
                this.img = ((DevExpress.Xpf.Editors.ImageEdit)(target));
                return;

            case 3:
                this.layoutGroup = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 4:
                this.txtDai = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 5:
                this.txtRong = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 6:
                this.txtDongia = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 7:
                this.cboTt = ((DevExpress.Xpf.Editors.ComboBoxEdit)(target));
                return;

            case 8:
                this.cboKh = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.cboLoai = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.txtHh = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 11:
                this.txtMsqsdd = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 12:
                this.layoutGroup2 = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
                return;

            case 13:
                this.layoutGroup3 = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 14:
                this.txtSonha = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 15:
                this.txtDuong = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 16:
                this.txtPhuong = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 17:
                this.txtQuan = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 18:
                this.txtTP = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 19:
                this.btnThem = ((System.Windows.Controls.Button)(target));

            #line 85 "..\..\SuaBDS.xaml"
                this.btnThem.Click += new System.Windows.RoutedEventHandler(this.btnThem_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnXoa = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\SuaBDS.xaml"
                this.btnXoa.Click += new System.Windows.RoutedEventHandler(this.btnXoa_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.lcMota = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
                return;

            case 22:
                this.txtMota = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 23:
                this.btnThemHinh = ((System.Windows.Controls.Button)(target));

            #line 103 "..\..\SuaBDS.xaml"
                this.btnThemHinh.Click += new System.Windows.RoutedEventHandler(this.btnThemHinh_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }