상속: IDrawable, IMouseTracker, IMoveable
예제 #1
0
        public static UISurface CreateSurface(string title, RECT frame, Guid uniqueID)
        {
            UISurface newSurface = new UISurface(title, frame, uniqueID);
            newSurface.ClearToColor(RGBColor.LtGray);

            return newSurface;
        }
예제 #2
0
        protected virtual void OnSurfaceCreated(Guid uniqueID)
        {
            fSurface = MetaSpace.GetSurface(uniqueID);

            fGraphDelegate = new GraphPortDelegate();
            fGraphDelegate.AddGraphPort(fSurface.GraphPort);

            AttachToUISurface();

            if (fIsVisible)
                fSurface.Show();
        }