我无法将此值写入两个单独的文本文件。它只写一个。
Public Class frmIceCream
Dim tw As System.IO.TextWriter
然后在表单加载中我有以下内容:
tw = New System.IO.StreamWriter("C:\Users\F\Documents\Temp junk\sundae.txt", True)
tw.WriteLine("5")
tw = New System.IO.StreamWriter("C:\Users\F\Documents\Temp junk\banana.txt", True)
tw.WriteLine("5")