示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 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);
 }
示例#4
0
 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);
 }
示例#5
0
 private void ApplyDarkTheme()
 {
     this.BackColor = DarkTheme.BackgroundColour();
     DarkTheme.Buttons(btnSpeedMode);
     DarkTheme.Buttons(btnSecurityMode);
 }