Why does Application.Current come out to null in a WinForms application? How and when is it supposed to be set?
I am doing:
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
Application.Run(new MainForm());
}
}