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 void Dispose() { _parentComponent = null; RemoteDefinitionCache.Remove(this); }
private RemoteDefinition(string path, HopsComponent parentComponent) { _parentComponent = parentComponent; _path = path; Guid.TryParse(path, out _pathAsComponentGuid); }
public ComponentAttributes(HopsComponent parentComponent) : base(parentComponent) { _component = parentComponent; }
private RemoteDefinition(string path, HopsComponent parentComponent) { _parentComponent = parentComponent; _path = path; }