private void btnAddInput_Click(object sender, EventArgs e) { var taslinput = new AddTaskInput(); taslinput.ParentFormInputInformations = inputInformations; taslinput.ShowDialog(); gcInputInformation.DataSource = inputInformations; gcInputInformation.RefreshDataSource(); }