Do you know any example with nicer notification in system tray? I don`t like standard baloon so maybe there are others free, third-party components I can use?
How can I delete a file in C# e.g. C:\test.txt, although apply the same kind of method like in batch files e.g.
if exist "C:\test.txt"
delete "C:\test.txt"
else
return nothing (ignore)
What's the best way to shut down the computer from a C# program?
I've found a few methods that work - I'll post them below - but none of them are very elegant. I'm looking for something that's simpler and …