Link to home
Start Free TrialLog in
Avatar of Trindaz
Trindaz

asked on

WPF project Application.exit missing

Hi,

For some reason when I type Application.exit Visual Studio tells me it won't compile. This should be a universally accessible sub shouldn't it? What am I missing? How could it have disappeared?

Thanks,
Dave
ASKER CERTIFIED SOLUTION
Avatar of Trindaz
Trindaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The Application class in which Exit method is present is in namespace System.Windows.Forms
But in WPF, the class is present in namespace System.Windows. It seems its implementation is different from System.Windows.Forms.Application

Thx!
Swaps...