private static void Main(string[] args)
 {
     using (var notificationClient = new MultiMediaNotificationListener())
     {
         Application.Run(new MainWindow());
     }
 }
 private static void Main(string[] args)
 {
     using (var notificationClient = new MultiMediaNotificationListener())
     {
         Trace.WriteLine(string.Format("Headphone is {0}connected", notificationClient.IsConnected ? "": "not "));
         Application.Run(new MainWindow());
     }
 }