public static UISurface CreateSurface(string title, RECT frame, Guid uniqueID) { UISurface newSurface = new UISurface(title, frame, uniqueID); newSurface.ClearToColor(RGBColor.LtGray); return newSurface; }
protected virtual void OnSurfaceCreated(Guid uniqueID) { fSurface = MetaSpace.GetSurface(uniqueID); fGraphDelegate = new GraphPortDelegate(); fGraphDelegate.AddGraphPort(fSurface.GraphPort); AttachToUISurface(); if (fIsVisible) fSurface.Show(); }