Example #1
0
        private void LoadCWP3RTB()
        {
            ASMBox.Text     = "";
            codeDefBox.Text = "// Declarations\n";

            string[] tempStr = FileIO.LoadCWP3(GlobalFileName);
            if (tempStr.Length >= 1)
            {
                ASMBox.LoadFile(tempStr[0]);
            }
            if (tempStr.Length >= 2)
            {
                codeDefBox.LoadFile(tempStr[1]);
            }

            foreach (string str in tempStr)
            {
                System.IO.File.Delete(str);
            }
        }