private void textBox1_TextChanged(object sender, EventArgs e) { string value = @"C:\Users\Respawn\Documents\AllTxtFiles.txt"; StringReader OpenFile = new StringReader(value) ; textBox1.Text = OpenFile.ReadToEnd(); }
StreamReader OpenFile = new StreamReader(value); textBox1.Text = OpenFile.ReadToEnd(); OpenFile.Close();
string s = File.ReadAllText(@"C:\Users\Respawn\Documents\AllTxtFiles.txt"); textBox1.Text = s;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)