public void OpenID(int id) { WindowID opened = MyWindows.FirstOrDefault(i => i.ID == id); opened.abrir(); }