Пример #1
0
        private void editUserBtn_Click(object sender, EventArgs e)
        {
            int      id       = int.Parse(dataGridView1.SelectedRows[0].Cells["IdUsuario"].FormattedValue.ToString());
            UserEdit userEdit = new UserEdit(id);

            userEdit.Show();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            UserEdit userEdit = new UserEdit();

            userEdit.Show();
        }