Ejemplo n.º 1
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            UserDetailsForm cuser = new UserDetailsForm();

            cuser.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idUser = Int32.Parse(dgvUser.SelectedRows[0].Cells[0].Value.ToString());

            UserDetailsForm UserDetails = new UserDetailsForm(idUser);

            UserDetails.Show();

            this.Close();
        }