private void Close(object obj) { if (obj != null) { EventHistory _eventHistory = (EventHistory)obj; _eventHistory.Close(); } }