I wanted to give WPF a try and was creating a timer application which will pop up a window once a while. But what I wanted was for the application to keep running in the tray even when its closed. The following code does NOT work in WPF for some reason:
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs [...]
Hide a window instead of closing it in WPF
Posted on July 24, 2008 by Balaji Ramesh
Using StreamReader without locking the file in C#
Posted on July 16, 2008 by Balaji Ramesh
I was using the StreamReader class to read the contents of a text file. I was under the assumption (well I know its a bad
thing) that because I am only reading the contents of the file, the file would be available for other applications to read or write. Guess what, i was wrong. The StreamReader [...]
Filed under: .net, C#, Code, Microsoft, Technical | 6 Comments »