I'm trying to make a notepad sort of program.
This is my code for the openFileDialog but I don't get where I've gone wrong..
There are no errors but nothing works that I've tried to code. (Title, Filter, InitialDirectory)
private void openToolStripMenuItem_Click(object sender, EventArgs e)
private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
openFileDialog1.Title = "Open Text File";
openFileDialog1.Filter = "TXT File|*.txt";
openFileDialog1.InitialDirectory = @"C:\Users\user\Desktop";