private void buttonModify_Click(object sender, EventArgs e) { if (row != null) { var id = row.Cells["idDataGridViewTextBoxColumn"].Value.ToString(); var fCM = new FormNewUser(Int32.Parse(id)); fCM.ShowDialog(); this.buttonFilter_Click(new object(), new EventArgs()); } }
private void buttonNewUser_Click(object sender, EventArgs e) { FormNewUser fNU = new FormNewUser(); fNU.ShowDialog(); }