using System.Windows; namespace InfineonHMI.Common; /// /// Login or change user dialog. /// public partial class UserManagementWindow { public UserManagementWindow() { InitializeComponent(); // Center dialog to MainWindow Owner = Application.Current.MainWindow; WindowStartupLocation = WindowStartupLocation.CenterOwner; } }