Ejemplo n.º 1
0
        public static RemoteDefinition Create(string path, HopsComponent parentComponent)
        {
            var rc = new RemoteDefinition(path, parentComponent);

            RemoteDefinitionCache.Add(rc);
            return(rc);
        }
Ejemplo n.º 2
0
            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);
            }
Ejemplo n.º 3
0
 public void Dispose()
 {
     _parentComponent = null;
     RemoteDefinitionCache.Remove(this);
 }
Ejemplo n.º 4
0
 private RemoteDefinition(string path, HopsComponent parentComponent)
 {
     _parentComponent = parentComponent;
     _path            = path;
     Guid.TryParse(path, out _pathAsComponentGuid);
 }
Ejemplo n.º 5
0
 public ComponentAttributes(HopsComponent parentComponent) : base(parentComponent)
 {
     _component = parentComponent;
 }
Ejemplo n.º 6
0
 private RemoteDefinition(string path, HopsComponent parentComponent)
 {
     _parentComponent = parentComponent;
     _path            = path;
 }