private void AddEvaluationsBtn_Click(object sender, EventArgs e) { AddEvaluation form = new AddEvaluation(); form.Show(); this.Hide(); }
private void UpdateEvaluationsBtn_Click(object sender, EventArgs e) { if (EvaluationsGridView.SelectedCells.Count != 0) { int row = EvaluationsGridView.SelectedCells[0].RowIndex; int id = Convert.ToInt32(EvaluationsGridView.Rows[row].Cells[0].Value); AddEvaluation form = new AddEvaluation(id); form.Show(); this.Hide(); } }