private void BtnSettings_OnClick(object sender, RoutedEventArgs e) { var loginDialog = new SettingsDialog(); loginDialog.ShowDialog(); }