Exemplo n.º 1
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            UserProfileDetailsForms userProfileDetailsForms = new UserProfileDetailsForms();

            userProfileDetailsForms.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idUserProfile = Int32.Parse(dgvUserProfile.SelectedRows[0].Cells[0].Value.ToString());

            UserProfileDetailsForms UserProfileDetails = new UserProfileDetailsForms(idUserProfile);

            UserProfileDetails.Show();

            this.Close();
        }