private void ConfigurationDialogButtonClick(object sender, EventArgs e) { using (var configDialog = new ClientSettingsDialog()) { configDialog.ShowDialog(this); } }
private void ConfigurationDialogButtonClick(object sender, EventArgs e) { if (OperatingSystem.IsWindows()) { using var configDialog = new ClientSettingsDialog(); configDialog.ShowDialog(this); } else { MessageBox.Show("Changing the configuration of the MU game client is only supported on windows."); } }