Пример #1
0
 private void ConfigurationDialogButtonClick(object sender, EventArgs e)
 {
     using (var configDialog = new ClientSettingsDialog())
     {
         configDialog.ShowDialog(this);
     }
 }
Пример #2
0
 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.");
     }
 }