private void kbtnApplyTheme_Click(object sender, EventArgs e)
        {
            ThemeManager.SetTheme(kcmbTheme.Text, kryptonManager1);

            ThemeManager.ApplyGlobalTheme(kryptonManager1, ThemeManager.GetPaletteMode(kryptonManager1));

            Invalidate();

            kbtnApplyTheme.Enabled = false;
        }
예제 #2
0
파일: Program.cs 프로젝트: paradoxlost/ux
        static void Main()
        {
            ThemeManager.ApplyGlobalTheme("default.theme");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            ThemeManager.DisableGlobalTheme();
        }