private void toolStripButton1_Click(object sender, EventArgs e) { RegistroGrupo _registroGrupo = new RegistroGrupo(); var _idGrupo = this.grupoDataGridView.CurrentRow.Cells[0].Value.ToString(); _registroGrupo.FiltraGrupo(Convert.ToInt16(_idGrupo)); _registroGrupo.StartPosition = FormStartPosition.CenterScreen; _registroGrupo.ShowDialog(); }