internal static void OpenSettingDialog(Window ownerWindow) { var settingWindow = new SettingWindow() { Owner = ownerWindow }; settingWindow.ShowDialog(); settingWindow.Dispose(); }