コード例 #1
0
        public RscPageArgsRet GetOutput( )
        {
            string strPath   = RscKnownFolders.GetTempPath("PageArgsRet") + "\\" + m_strPageName + "_OUT" + ".txt";
            bool   bNotExist = false;

            RscStore store     = new RscStore();
            string   strOutput = store.ReadTextFile(strPath, "", out bNotExist);

            RscPageArgsRet OutPut = new RscPageArgsRet(this);

            OutPut.FromString(strOutput);

            return(OutPut);
        }
コード例 #2
0
        public RscPageArgsRet GetInput(string strPageName)
        {
            m_strPageName = strPageName;
            string strPath   = RscKnownFolders.GetTempPath("PageArgsRet") + "\\" + m_strPageName + "_IN" + ".txt";
            bool   bNotExist = false;

            RscStore store    = new RscStore();
            string   strInput = store.ReadTextFile(strPath, "", out bNotExist);

            if (bNotExist)
            {
                return(null);
            }
            RscPageArgsRet InPut = new RscPageArgsRet(this);

            InPut.FromString(strInput);
            return(InPut);
        }