void Processor_RoomInterfaceAdded(object sender, RoomInterfaceAddedEventArgs e) { if (e.ProcID == this._procId) { Initialize(); } }
private static void OnRoomInterfaceAdded(RoomInterfaceAddedEventArgs e) { EventHandler <RoomInterfaceAddedEventArgs> handler = RoomInterfaceAdded; if (handler != null) { handler(null, e); } }