Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
txt ファイルのコンテンツを textbox に自動的にロードするにはどうすればよいですか。プログラムを起動するときにさらに説明するには、テキストボックスに txt ファイルから最後に保存されたエントリを表示する必要があります。
LoadFileメソッドを見てください。必要なことだけを行っているように思えます。
例えば MyTextBox.LoadFile("MyFile.txt");
MyTextBox.LoadFile("MyFile.txt");