Inheritance: IDrawable, IMouseTracker, IMoveable
Exemplo n.º 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;
        }
Exemplo n.º 2
0
        protected virtual void OnSurfaceCreated(Guid uniqueID)
        {
            fSurface = MetaSpace.GetSurface(uniqueID);

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

            AttachToUISurface();

            if (fIsVisible)
                fSurface.Show();
        }