C
C#15mo ago
Otter

❔ My form freezes after trying to open a file with content

This is the code that should be working when I click on the open file button
4 Replies
Buddy
Buddy15mo ago
eh, text is never modified in the loop So you always check that text is not null, which it never is because text is always the same
Otter
Otter15mo ago
Oh, I should put text = sr.ReadLine() right?
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.