예제 #1
0
        public void WriteAutoProc()
        {
            File_Engine mfile    = new File_Engine();
            string      filePath = OpenFileTxt.Text;

            mfile.smartBASICWriteAutorun(filePath, serialPortA, this);
            WriteDataTimer.Stop();
        }
예제 #2
0
        private void WriteProc()
        {
            File_Engine mfile = new File_Engine();

            if (!File.Exists("temp.uwc"))
            {
                MessageBox.Show("没有生成temp.uwc文件");
                return;
            }
            mfile.smartBASICWrite("temp.uwc", serialPortA, this);
            WriteDataTimer.Stop();
        }