private void clientGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { UserForm userForm = new UserForm(clientGridView.Rows[e.RowIndex].Cells[0].Value.ToString()); userForm.ShowDialog(); }
private void user_add_btn_Click(object sender, EventArgs e) { UserForm userForm = new UserForm(); userForm.ShowDialog(); }