B
Bryce K. Nielsen
I have a Form that has a method that sets a label's text to
DateTime.Now.ToString(). Strange thing is, when I call the form twice from
the same app, the label shows the old DateTime value. It's almost as though
either the Form didn't get recreated, or if the DateTime didn't reflect the
current date. With my form, I have it in a using clause though, so it should
be freed, right? Another problem, this only happens at runtime, when I step
through in the debugger, works fine.
Anyone else experience odd behavior with DateTime.Now?
-BKN
DateTime.Now.ToString(). Strange thing is, when I call the form twice from
the same app, the label shows the old DateTime value. It's almost as though
either the Form didn't get recreated, or if the DateTime didn't reflect the
current date. With my form, I have it in a using clause though, so it should
be freed, right? Another problem, this only happens at runtime, when I step
through in the debugger, works fine.
Anyone else experience odd behavior with DateTime.Now?
-BKN