コード例 #1
0
        private void pbxAdd_Click(object sender, EventArgs e)
        {
            UserProfileDetailsForm details = new UserProfileDetailsForm(aux);

            details.Show();

            this.Close();
        }
コード例 #2
0
        private void pbxEdit_Click(object sender, EventArgs e)
        {
            int idUProfile = Int32.Parse(dgvUProfile.SelectedRows[0].Cells[0].Value.ToString());

            UserProfileDetailsForm uProfileDetails = new UserProfileDetailsForm(idUProfile, aux);

            uProfileDetails.Show();

            this.Close();
        }