예제 #1
0
        private void btnEditUser_Click(object sender, EventArgs e)
        {
            //if (this.dgvUser.SelectedRows.Count > 0)
            //{
            //    string username = this.dgvUser.SelectedRows[0].Cells["User Name"].Value.ToString();
            //    if (username != null && username != string.Empty)
            //    {
            //        UserProfile user = new UserProfile(username);
            //        if (user.ShowDialog() == DialogResult.OK)
            //            _admin.InitUsers();
            //    }

            //}
            //else
            //{
            //    MessageBox.Show("Please select the row!");
            //}
            ChangeDetail detail = new ChangeDetail();

            detail.ShowDialog(this);
        }
예제 #2
0
        private void changeDetailToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ChangeDetail detail = new ChangeDetail();

            detail.ShowDialog(this);
        }