//button add user private void button3_Click(object sender, EventArgs e) { THONGTINNHANVIEN InformationEmployee = new THONGTINNHANVIEN(); InformationEmployee.ShowDialog(); LoadData(); }
private void pnlCreateUser_Click(object sender, EventArgs e) { THONGTINNHANVIEN InfoStaff = new THONGTINNHANVIEN(); InfoStaff.ShowDialog(); LoadData(); }
//double click để mở form Thông tin chi tiết nhân viên private void bunifuCustomDataGrid1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { THONGTINNHANVIEN updateUser1 = new THONGTINNHANVIEN(this.lstStaff[(int)this.bunifuCustomDataGrid1.CurrentRow.Cells[0].Value - 1].ID); updateUser1.ShowDialog(); LoadData(); }