Example #1
0
        public static ActionGotoR Create(bool indirect, string file, LinkDestination dest)
        {
            ActionGotoR or1 = ActionGotoR.Create(indirect);

            or1.FileSpecification = new FileSpec(Library.CreateString(file));
            or1.JumpDestination   = dest;
            return(or1);
        }
Example #2
0
        public static ActionGotoR Create(string file, LinkDestination dest, bool newWindow)
        {
            ActionGotoR or1 = ActionGotoR.Create(true);

            or1.FileSpecification = new FileSpec(Library.CreateString(file));
            or1.JumpDestination   = dest;
            or1.NewWindow         = newWindow;
            return(or1);
        }