سؤال

How do I close an out of the browser application in silverlight programatically. I want to bring in the same functionality as the control box close, from the code based on some condition. How do I acheive it?

هل كانت مفيدة؟

المحلول

As simple as that :)

App.Current.MainWindow.Close();
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top