private void btnTaoMoi_Click(object sender, EventArgs e) { frmLoaiSach newform = new frmLoaiSach(); newform.Show(); this.Dispose(false); //int dem = dtrwLoaiSach.Rows.Count; //for (int i = 0; i < dem; i++) // dtrwLoaiSach.Rows.RemoveAt(0); //////dtrwLoaiSach.DataSource = null; //////dtrwLoaiSach.Rows.Clear(); ////dtrwLoaiSach.Refresh(); //loadDuLieuDataGLoaiSach(); ////fixsize(); ////vohieuhoatxt(); ////vohieuhoabtn(); ////dtrwLoaiSach.ReadOnly = true; ////dtrwLoaiSach.AllowUserToAddRows = false; }
private void loaisachToolStripMenuItem_Click(object sender, EventArgs e) { frmLoaiSach formls = new frmLoaiSach(); formls.Show(); }