private void abrirToolStripMenuItem_Click(object sender, EventArgs e) { FormAdminConexiones dlg = new FormAdminConexiones(); dlg.OnConectar += new OnConectarEvent(OnConexion); dlg.Grupo = GrupoActual; dlg.ShowDialog(); }
private void Grupos_DoubleClick(object sender, EventArgs e) { if (GrupoActual == "") { return; } FormAdminConexiones dlg = new FormAdminConexiones(); dlg.OnConectar += new OnConectarEvent(OnConexion); dlg.Grupo = GrupoActual; dlg.ShowDialog(); }