//реализовать метод private void EditBtnClick(object sender, EventArgs e) { using (HandleFormEdit.HandleFormEdit hfe = new HandleFormEdit.HandleFormEdit(this, ref connection)) { hfe.ShowDialog(); if (hfe.DialogResult == DialogResult.OK) { hfe.Close(); DataGridLoad(); } } }