using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Remontor.Connector { internal static class SConnector { public delegate void UpdateConnect(List connects); public static event UpdateConnect Update; private static List Connects = new List(); public static void NewConnect(IComp comp) { Connects.Add(new Connect(comp)); Update(Connects); } } }