private void ApplyDarkTheme() { if (Constants.RunningOnMono == false) { msMenus.Renderer = new ToolStripProfessionalRenderer(new DarkColourTable()); } this.BackColor = DarkTheme.BackgroundColour(); msMenus.BackColor = DarkTheme.BackgroundColour(); DarkTheme.ToolStripMenuItems(tsmiFile); DarkTheme.ToolStripMenuItems(tsmiTools); DarkTheme.ToolStripMenuItems(tsmiHelp); DarkTheme.ToolStripMenuItems(tsmiHelp); DarkTheme.Menu(tsmiFile); DarkTheme.Menu(tsmiTools); DarkTheme.Menu(tsmiHelp); DarkTheme.Labels(lblFilesSelected); DarkTheme.Labels(lblShowPassword); DarkTheme.Labels(lblDragDrop); DarkTheme.Labels(lblPassword); DarkTheme.TextBoxes(txtPassword); DarkTheme.Buttons(btnEncrypt); DarkTheme.Buttons(btnDecrypt); DarkTheme.ContextMenu(cmsClearFilesMenu); DarkTheme.ContextMenu(cmsPasswordMenu); }
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); }
private void RunningOnMono() { if (Constants.RunningOnMono == true) { DarkTheme.Labels(lblMessage); } }
private void ApplyDarkTheme() { this.BackColor = DarkTheme.BackgroundColour(); DarkTheme.TextBoxes(txtAbout); DarkTheme.Labels(lblTitle); DarkTheme.Labels(lblVersion); DarkTheme.Labels(lblProgramDescription); }
private void ApplyDarkTheme() { this.BackColor = DarkTheme.BackgroundColour(); DarkTheme.Labels(lblPublicKey); DarkTheme.Labels(lblPrivateKey); DarkTheme.TextBoxes(txtPublicKey); DarkTheme.TextBoxes(txtPrivateKey); DarkTheme.Buttons(btnExportPublicKey); DarkTheme.Buttons(btnStoredKeys); DarkTheme.ContextMenu(cmsKeyPairMenu); }
private void ApplyDarkTheme() { this.BackColor = DarkTheme.BackgroundColour(); DarkTheme.Labels(lblAsymmetricKey); DarkTheme.Labels(lblPassword); DarkTheme.LinkLabels(llbGenerateKeyPair); DarkTheme.TextBoxes(txtKey); DarkTheme.TextBoxes(txtPassword); DarkTheme.Buttons(btnEncryptPassword); DarkTheme.Buttons(btnDecryptPassword); DarkTheme.ContextMenu(cmsTextboxMenu); }
private void ApplyDarkTheme() { this.BackColor = DarkTheme.BackgroundColour(); DarkTheme.GroupBoxes(grbOptions); DarkTheme.Labels(lblEntropy); DarkTheme.Labels(lblPassword); DarkTheme.Labels(lblLength); DarkTheme.TextBoxes(txtGeneratedPassword); DarkTheme.Buttons(btnRegeneratePassword); DarkTheme.Buttons(btnCopyPassword); DarkTheme.ComboBoxes(cmbGenerateType); DarkTheme.NumericUpDown(nudLength); DarkTheme.CheckBoxes(chkLowercase); DarkTheme.CheckBoxes(chkUppercase); DarkTheme.CheckBoxes(chkNumbers); DarkTheme.CheckBoxes(chkSymbols); }