コード例 #1
0
        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");
        }
コード例 #2
0
        // Тема хакера
        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");
        }
コード例 #3
0
        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");
        }
コード例 #4
0
        // Дефолтная тема
        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");
        }