예제 #1
0
        //button add user
        private void button3_Click(object sender, EventArgs e)
        {
            THONGTINNHANVIEN InformationEmployee = new THONGTINNHANVIEN();

            InformationEmployee.ShowDialog();
            LoadData();
        }
예제 #2
0
        private void pnlCreateUser_Click(object sender, EventArgs e)
        {
            THONGTINNHANVIEN InfoStaff = new THONGTINNHANVIEN();

            InfoStaff.ShowDialog();
            LoadData();
        }
예제 #3
0
        //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();
        }