internal virtual void AddFrame( Frame Frame ) { lock ( SubFrameList ) { SubFrameList.AddFirst( Frame ); } Frame.GuiManager = GuiManager; Frame.ParentFrame = this; Frame.AddedToFrameCallback( this ); }