DTO.DTOTHIETBI DuaveDTO() { DTO.DTOTHIETBI _tb = new DTO.DTOTHIETBI(); _tb.MATHIETBI = Convert.ToInt32(txtMaTB.Text); _tb.TENTHIETBI = txtTenTB.Text; _tb.SOLUONG = (int)nudSoLuong.Value; return _tb; }
public frmChuyenTB(DTO.DTOTHIETBI TB) { InitializeComponent(); this.TB = TB; }