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); }