У меня есть 700w x 300h WPF-приложение и его можно перетащить в любом месте на моем большом экране.
Когда мое приложение выполняет:
MessageBox.Show("Sorry, this function is not yet implemented.");
ящик для сообщений отображается в середине моего экрана, который может быть или даже не быть рядом с самим приложением.
Как я могу заставить MessageBox отображаться в середине моего приложения?