private void TileNhanTraSach_Click(object sender, EventArgs e) { Flagged = 1;//Cờ Đánh Dấu Trả Sách lblTitel_Click(sender, e); GridViewMuonSach.Visible = true; GridViewMuonSach.Location = new Point(251, 168); GridViewMuonSach.Size = new Size(302, 285); PanelTraSach.Visible = true; PanelTraSach.Location = new Point(574, 168); PanelTraSach.Size = new Size(482, 285); lblTieuTeTabQL.Visible = true; lblTieuTeTabQL.Text = "Nhận Trả Sách"; Class.XuLyThuVien KiemTra = new Class.XuLyThuVien(); GridViewMuonSach.DataSource = KiemTra.GVMuonSach(); GridViewChiTietMuon.Rows.Clear(); GridViewChiTietMuon.Refresh(); lblTenDocGiaMuonSach.Text = ""; txtKiemTra.Clear(); txtTraSach.Clear(); metroLabel1.Text = ""; }
private void TileLapPhieuMuon_Click(object sender, EventArgs e) { Flagged = 0;//Cờ Đánh Dấu Mượn Sách lblTitel_Click(sender, e); GridViewMuonSach.Visible = true; GridViewMuonSach.Location = new Point(251, 168); GridViewMuonSach.Size = new Size(302, 285); btnEXDSMuon.Visible = true; btnEXDSMuon.Location = new Point(251, 457); PanelPhieuMuon.Visible = true; PanelPhieuMuon.Location = new Point(574, 168); PanelPhieuMuon.Size = new Size(500, 285); lblTieuTeTabQL.Visible = true; lblTieuTeTabQL.Text = "Lập Phiếu Mượn"; Class.XuLyThuVien KiemTra = new Class.XuLyThuVien(); GridViewMuonSach.DataSource = KiemTra.GVMuonSach(); }