コード例 #1
0
        public GVDeclarationProcedure CreateCopy()
        {
            GVDeclarationProcedure A = new GVDeclarationProcedure();

            A.Name = this.Name;
            if (Parameters != null)
            {
                A.Parameters = new List <GVDeclarationDataEntry>();
                foreach (GVDeclarationDataEntry ap in Parameters)
                {
                    A.Parameters.Add(ap.CreateCopy());
                }
            }
            return(A);
        }
コード例 #2
0
        public override void Load(RSFileReader R)
        {
            base.Load(R);

            byte tag;

            while ((tag = R.ReadByte()) != 0)
            {
                switch (tag)
                {
                case 20:
                    Action = new GVDeclarationProcedure();
                    Action.Load(R);
                    break;
                }
            }
        }
コード例 #3
0
 public GVGraphAction(GVGraph g) : base(g)
 {
     Autosize = true;
     Action   = null;
 }