private void View_AddNewExercise(object sender, EventArgs e) { viewDialog.ClearFields(); viewDialog.SetFormName("Add new exercise"); currentExercise = new Exercise { }; viewDialog.ShowDialog(); view.SetEndGridCursorPosition(); FillGrid(); //view.SetEndGridCursorPosition(); }