예제 #1
0
        internal void PrepareFrame(Window topWindow, Frame frame)
        {
            frame.ResolveParentStrings();
            frame.ResolveAnchors();
            frame.Ui = this;
            foreach (Region.Anchor anchor in frame.Anchors)
                RegisterAnchor(anchor);
            frame.Prepare(window);
            frame.SetupWindowPosition();

            frame.SetupEventScripts();
            frame.OnLoad(new EventArgs());
            frame.UpdateVisibility();
        }