Exemplo n.º 1
0
        public virtual void Load(RSFileReader R)
        {
            byte tag;

            while ((tag = R.ReadByte()) != 0)
            {
                switch (tag)
                {
                case 10:
                    p_next_id = R.ReadInt64();
                    break;

                case 20:
                    Objects = new GVGraphObjectCollection(this);
                    Objects.Load(R);
                    break;

                case 30:
                    Connections = new GVGraphConnectionCollection(this);
                    Connections.Load(R);
                    break;

                default:
                    break;
                }
            }
        }
Exemplo n.º 2
0
 public GVGraph()
 {
     Connections = new GVGraphConnectionCollection(this);
     Objects     = new GVGraphObjectCollection(this);
 }
Exemplo n.º 3
0
 public GVGraphObject(GVGraph g)
 {
     p_parent = g;
     Objects  = new GVGraphObjectCollection(p_parent);
 }