public void WriteAutoProc() { File_Engine mfile = new File_Engine(); string filePath = OpenFileTxt.Text; mfile.smartBASICWriteAutorun(filePath, serialPortA, this); WriteDataTimer.Stop(); }
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(); }