예제 #1
0
        private void btnDetails_Click(object sender, EventArgs e)
        {
            int             id = int.Parse(dgvEmloyees.SelectedRows[0].Cells[0].Value.ToString());
            EmployeeDetails employeeDetails = new EmployeeDetails(db, startForm, this, id);

            employeeDetails.Show();
            this.Hide();
        }
예제 #2
0
        private void btnDetails_Click(object sender, EventArgs e)
        {
            EmployeeDetails employeeDetails = new EmployeeDetails(db);

            employeeDetails.Show();
        }