private void HackerTheme_Click(object sender, EventArgs e) { ColorTheme colorTheme = new ColorTheme(); colorTheme.ColorChangerDeveloperForm(mainMenu, toolButtons, statusStrip1, tabOption, SelectedPageTextBox(), Color.DimGray, Color.LawnGreen); BackColor = Color.Black; File.WriteAllText("ThemeCollector.txt", "Hacker"); }
// Тема хакера private void HackerTheme_Click(object sender, EventArgs e) { ColorTheme colorTheme = new ColorTheme(); colorTheme.ColorChangerMainForm(mainMenu, fastToolButton, statusTextEditor, tabOption, SelectedTab(), TreeView, Color.DimGray, Color.LawnGreen); BackColor = Color.Black; TreeView.BackColor = Color.DimGray; File.WriteAllText("ThemeCollector.txt", "Hacker"); }
private void DefaultTheme_Click(object sender, EventArgs e) { ColorTheme colorTheme = new ColorTheme(); colorTheme.ColorChangerDeveloperForm(mainMenu, toolButtons, statusStrip1, tabOption, SelectedPageTextBox(), DefaultBackColor, DefaultForeColor); BackColor = DefaultBackColor; tabOption.SelectedTab.BackColor = DefaultBackColor; toolButtons.BackColor = Color.AntiqueWhite; mainMenu.BackColor = Color.WhiteSmoke; statusStrip1.BackColor = Color.AntiqueWhite; File.WriteAllText("ThemeCollector.txt", "Light"); }
// Дефолтная тема private void DefaultTheme_Click(object sender, EventArgs e) { ColorTheme colorTheme = new ColorTheme(); colorTheme.ColorChangerMainForm(mainMenu, fastToolButton, statusTextEditor, tabOption, SelectedTab(), TreeView, DefaultBackColor, DefaultForeColor); BackColor = DefaultBackColor; TreeView.BackColor = Color.White; BackColor = DefaultBackColor; tabOption.SelectedTab.BackColor = DefaultBackColor; statusTextEditor.BackColor = Color.WhiteSmoke; mainMenu.BackColor = Color.WhiteSmoke; fastToolButton.BackColor = Color.AntiqueWhite; File.WriteAllText("ThemeCollector.txt", "Light"); }