public static RemoteDefinition Create(string path, HopsComponent parentComponent) { var rc = new RemoteDefinition(path, parentComponent); RemoteDefinitionCache.Add(rc); return(rc); }
void RenderHop(System.Drawing.Graphics graphics, int alpha, System.Drawing.PointF anchor) { var boxHops = new System.Drawing.RectangleF(anchor.X - 16, anchor.Y - 8, 16, 16); var bmp = HopsComponent.Hops48Icon(); graphics.DrawImage(bmp, boxHops); }
public SolveDataList(int serialNumber, HopsComponent component, RemoteDefinition remoteDefinition, bool useMemoryCache) { _solveSerialNumber = serialNumber; _parentComponent = component; _useMemoryCacheWhenSolving = useMemoryCache; _remoteDefinition = remoteDefinition; }
public void Dispose() { _parentComponent = null; RemoteDefinitionCache.Remove(this); }
private RemoteDefinition(string path, HopsComponent parentComponent) { _parentComponent = parentComponent; _path = path; }
public ComponentAttributes(HopsComponent parentComponent) : base(parentComponent) { _component = parentComponent; }