private void BtnSettings_OnItemClick(object sender, RoutedEventArgs routedEventArgs) { var settingsWindow = new SettingsWindow(); settingsWindow.ShowDialog(); }