private void MenuSetting_Click(object sender, RoutedEventArgs e) { var configWindow = new SettingsWindow(this, Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "config\\config.json")); configWindow.ShowDialog(); }