Ejemplo n.º 1
0
 private void ApplyDarkTheme()
 {
     this.BackColor = DarkTheme.BackgroundColour();
     DarkTheme.GroupBoxes(grbFileEncryption);
     DarkTheme.GroupBoxes(grbKeyDerivation);
     DarkTheme.GroupBoxes(grbOtherSettings);
     DarkTheme.Labels(lblEncryptionAlgorithm);
     DarkTheme.Labels(lblMemoryEncryption);
     DarkTheme.Labels(lblAnonymousRename);
     DarkTheme.Labels(lblOverwriteFiles);
     DarkTheme.Labels(lblArgon2MemorySize);
     DarkTheme.Labels(lblArgon2Iterations);
     DarkTheme.Labels(lblShowPassword);
     DarkTheme.Labels(lblAutoClearPassword);
     DarkTheme.Labels(lblAutoClearClipboard);
     DarkTheme.Labels(lblExitClearClipboard);
     DarkTheme.Labels(lblCheckForUpdates);
     DarkTheme.Labels(lblTheme);
     DarkTheme.ComboBoxes(cmbEncryptionAlgorithm);
     DarkTheme.ComboBoxes(cmbMemoryEncryption);
     DarkTheme.ComboBoxes(cmbAnonymousRename);
     DarkTheme.ComboBoxes(cmbOverwriteFiles);
     DarkTheme.ComboBoxes(cmbAnonymousRename);
     DarkTheme.ComboBoxes(cmbShowPassword);
     DarkTheme.ComboBoxes(cmbAutoClearPassword);
     DarkTheme.ComboBoxes(cmbAutoClearClipboard);
     DarkTheme.ComboBoxes(cmbExitClearClipboard);
     DarkTheme.ComboBoxes(cmbCheckForUpdates);
     DarkTheme.ComboBoxes(cmbTheme);
     DarkTheme.NumericUpDown(nudArgon2MemorySize);
     DarkTheme.NumericUpDown(nudArgon2Iterations);
     DarkTheme.SettingsButtons(btnArgon2Benchmark);
     DarkTheme.SettingsButtons(btnTestParameters);
 }