using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Diagnostics;
using UxThemeTool;
namespace ManagedThemeExplorer
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.Panel SmallPanel;
private System.Windows.Forms.Panel MediumPanel;
private System.Windows.Forms.Panel LargePanel;
private System.Windows.Forms.Panel TextPanel;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label ThemeNameLabel;
private System.Windows.Forms.Label ColorNameLabel;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label ThemeSizeLabel;
private Label label4;
private Label L3801;
private Label L3802;
private Label label6;
private Label L3803;
private Label label8;
private Label L3804;
private Label label10;
private Label L3805;
private Label label12;
private Label L3806;
private Label label14;
private Label L3807;
private Label label16;
private Label L3808;
private Label label18;
private Label L3809;
private Label label20;
private Label L3810;
private Label label22;
private Label L3811;
private Label label24;
private Label L3812;
private Label label26;
private Label L3813;
private Label label28;
private Label L3814;
private Label label30;
private Label L3815;
private Label label32;
private Label L3816;
private Label label34;
private Label L3817;
private Label label36;
private Label L3818;
private Label label38;
private Label L3819;
private Label label40;
private Label L3820;
private Label label42;
private Label L3821;
private Label label44;
private Label L3822;
private Label label46;
private Label L3823;
private Label label48;
private Label L25;
private Label label7;
private Label L24;
private Label label11;
private Label L23;
private Label label15;
private Label L22;
private Label label19;
private Label L21;
private Label label23;
private Label L20;
private Label label27;
private Label L19;
private Label label31;
private Label L18;
private Label label35;
private Label L17;
private Label label39;
private Label L16;
private Label label43;
private Label L15;
private Label label47;
private Label L11;
private Label label50;
private Label L10;
private Label label52;
private Label L9;
private Label label54;
private Label L8;
private Label label56;
private Label L7;
private Label label58;
private Label L6;
private Label label60;
private Label L5;
private Label label62;
private Label L4;
private Label label64;
private Label L3;
private Label label66;
private Label L2;
private Label label68;
private Label L1;
private Label label70;
private Label L0;
private Label label72;
private Label label73;
private Label label74;
private Label L12;
private Label label76;
private Label L13;
private Label label78;
private Label L14;
private Label label80;
private Label L26;
private Label label82;
private Label L27;
private Label label84;
private Label L28;
private Label label86;
private Label L29;
private Label label9;
private System.ComponentModel.IContainer components;
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.treeView1 = new System.Windows.Forms.TreeView();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.SmallPanel = new System.Windows.Forms.Panel();
this.MediumPanel = new System.Windows.Forms.Panel();
this.LargePanel = new System.Windows.Forms.Panel();
this.TextPanel = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.ThemeNameLabel = new System.Windows.Forms.Label();
this.ColorNameLabel = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.ThemeSizeLabel = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.L3801 = new System.Windows.Forms.Label();
this.L3802 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.L3803 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.L3804 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.L3805 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.L3806 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.L3807 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.L3808 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.L3809 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.L3810 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.L3811 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.L3812 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.L3813 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.L3814 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label();
this.L3815 = new System.Windows.Forms.Label();
this.label32 = new System.Windows.Forms.Label();
this.L3816 = new System.Windows.Forms.Label();
this.label34 = new System.Windows.Forms.Label();
this.L3817 = new System.Windows.Forms.Label();
this.label36 = new System.Windows.Forms.Label();
this.L3818 = new System.Windows.Forms.Label();
this.label38 = new System.Windows.Forms.Label();
this.L3819 = new System.Windows.Forms.Label();
this.label40 = new System.Windows.Forms.Label();
this.L3820 = new System.Windows.Forms.Label();
this.label42 = new System.Windows.Forms.Label();
this.L3821 = new System.Windows.Forms.Label();
this.label44 = new System.Windows.Forms.Label();
this.L3822 = new System.Windows.Forms.Label();
this.label46 = new System.Windows.Forms.Label();
this.L3823 = new System.Windows.Forms.Label();
this.label48 = new System.Windows.Forms.Label();
this.L25 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.L24 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.L23 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.L22 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.L21 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.L20 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.L19 = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.L18 = new System.Windows.Forms.Label();
this.label35 = new System.Windows.Forms.Label();
this.L17 = new System.Windows.Forms.Label();
this.label39 = new System.Windows.Forms.Label();
this.L16 = new System.Windows.Forms.Label();
this.label43 = new System.Windows.Forms.Label();
this.L15 = new System.Windows.Forms.Label();
this.label47 = new System.Windows.Forms.Label();
this.L11 = new System.Windows.Forms.Label();
this.label50 = new System.Windows.Forms.Label();
this.L10 = new System.Windows.Forms.Label();
this.label52 = new System.Windows.Forms.Label();
this.L9 = new System.Windows.Forms.Label();
this.label54 = new System.Windows.Forms.Label();
this.L8 = new System.Windows.Forms.Label();
this.label56 = new System.Windows.Forms.Label();
this.L7 = new System.Windows.Forms.Label();
this.label58 = new System.Windows.Forms.Label();
this.L6 = new System.Windows.Forms.Label();
this.label60 = new System.Windows.Forms.Label();
this.L5 = new System.Windows.Forms.Label();
this.label62 = new System.Windows.Forms.Label();
this.L4 = new System.Windows.Forms.Label();
this.label64 = new System.Windows.Forms.Label();
this.L3 = new System.Windows.Forms.Label();
this.label66 = new System.Windows.Forms.Label();
this.L2 = new System.Windows.Forms.Label();
this.label68 = new System.Windows.Forms.Label();
this.L1 = new System.Windows.Forms.Label();
this.label70 = new System.Windows.Forms.Label();
this.L0 = new System.Windows.Forms.Label();
this.label72 = new System.Windows.Forms.Label();
this.label73 = new System.Windows.Forms.Label();
this.label74 = new System.Windows.Forms.Label();
this.L12 = new System.Windows.Forms.Label();
this.label76 = new System.Windows.Forms.Label();
this.L13 = new System.Windows.Forms.Label();
this.label78 = new System.Windows.Forms.Label();
this.L14 = new System.Windows.Forms.Label();
this.label80 = new System.Windows.Forms.Label();
this.L26 = new System.Windows.Forms.Label();
this.label82 = new System.Windows.Forms.Label();
this.L27 = new System.Windows.Forms.Label();
this.label84 = new System.Windows.Forms.Label();
this.L28 = new System.Windows.Forms.Label();
this.label86 = new System.Windows.Forms.Label();
this.L29 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.treeView1.ImageIndex = 0;
this.treeView1.ImageList = this.imageList1;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
this.treeView1.SelectedImageIndex = 0;
this.treeView1.Size = new System.Drawing.Size(280, 545);
this.treeView1.TabIndex = 0;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect_1);
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "");
this.imageList1.Images.SetKeyName(1, "");
this.imageList1.Images.SetKeyName(2, "");
//
// SmallPanel
//
this.SmallPanel.Location = new System.Drawing.Point(727, 16);
this.SmallPanel.Name = "SmallPanel";
this.SmallPanel.Size = new System.Drawing.Size(16, 16);
this.SmallPanel.TabIndex = 1;
this.SmallPanel.Visible = false;
//
// MediumPanel
//
this.MediumPanel.Location = new System.Drawing.Point(856, 16);
this.MediumPanel.Name = "MediumPanel";
this.MediumPanel.Size = new System.Drawing.Size(40, 40);
this.MediumPanel.TabIndex = 2;
this.MediumPanel.Visible = false;
//
// LargePanel
//
this.LargePanel.Location = new System.Drawing.Point(1009, 12);
this.LargePanel.Name = "LargePanel";
this.LargePanel.Size = new System.Drawing.Size(72, 72);
this.LargePanel.TabIndex = 3;
this.LargePanel.Visible = false;
//
// TextPanel
//
this.TextPanel.Location = new System.Drawing.Point(727, 90);
this.TextPanel.Name = "TextPanel";
this.TextPanel.Size = new System.Drawing.Size(355, 32);
this.TextPanel.TabIndex = 4;
this.TextPanel.Visible = false;
//
// label1
//
this.label1.Location = new System.Drawing.Point(288, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(130, 16);
this.label1.TabIndex = 5;
this.label1.Text = "Current Theme Name:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.Location = new System.Drawing.Point(288, 36);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(130, 16);
this.label2.TabIndex = 6;
this.label2.Text = "Current Theme Color:";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// ThemeNameLabel
//
this.ThemeNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ThemeNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ThemeNameLabel.Location = new System.Drawing.Point(312, 18);
this.ThemeNameLabel.Name = "ThemeNameLabel";
this.ThemeNameLabel.Size = new System.Drawing.Size(377, 16);
this.ThemeNameLabel.TabIndex = 7;
this.ThemeNameLabel.Text = "ThemeNameLabel";
//
// ColorNameLabel
//
this.ColorNameLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ColorNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ColorNameLabel.Location = new System.Drawing.Point(430, 38);
this.ColorNameLabel.Name = "ColorNameLabel";
this.ColorNameLabel.Size = new System.Drawing.Size(257, 16);
this.ColorNameLabel.TabIndex = 8;
this.ColorNameLabel.Text = "label3";
//
// label3
//
this.label3.Location = new System.Drawing.Point(288, 54);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(130, 16);
this.label3.TabIndex = 9;
this.label3.Text = "Current Theme Size:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// ThemeSizeLabel
//
this.ThemeSizeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ThemeSizeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ThemeSizeLabel.Location = new System.Drawing.Point(430, 54);
this.ThemeSizeLabel.Name = "ThemeSizeLabel";
this.ThemeSizeLabel.Size = new System.Drawing.Size(257, 16);
this.ThemeSizeLabel.TabIndex = 10;
this.ThemeSizeLabel.Text = "label4";
//
// label4
//
this.label4.Location = new System.Drawing.Point(288, 176);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(170, 14);
this.label4.TabIndex = 11;
this.label4.Text = "BORDERCOLOR";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3801
//
this.L3801.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3801.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3801.Location = new System.Drawing.Point(472, 176);
this.L3801.Name = "L3801";
this.L3801.Size = new System.Drawing.Size(17, 14);
this.L3801.TabIndex = 12;
//
// L3802
//
this.L3802.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3802.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3802.Location = new System.Drawing.Point(472, 200);
this.L3802.Name = "L3802";
this.L3802.Size = new System.Drawing.Size(17, 14);
this.L3802.TabIndex = 14;
//
// label6
//
this.label6.Location = new System.Drawing.Point(288, 200);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(170, 14);
this.label6.TabIndex = 13;
this.label6.Text = "FILLCOLOR";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3803
//
this.L3803.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3803.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3803.Location = new System.Drawing.Point(472, 224);
this.L3803.Name = "L3803";
this.L3803.Size = new System.Drawing.Size(17, 14);
this.L3803.TabIndex = 16;
//
// label8
//
this.label8.Location = new System.Drawing.Point(288, 224);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(170, 14);
this.label8.TabIndex = 15;
this.label8.Text = "TEXTCOLOR";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3804
//
this.L3804.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3804.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3804.Location = new System.Drawing.Point(472, 248);
this.L3804.Name = "L3804";
this.L3804.Size = new System.Drawing.Size(17, 14);
this.L3804.TabIndex = 18;
//
// label10
//
this.label10.Location = new System.Drawing.Point(288, 248);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(170, 14);
this.label10.TabIndex = 17;
this.label10.Text = "EDGELIGHTCOLOR";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3805
//
this.L3805.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3805.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3805.Location = new System.Drawing.Point(472, 272);
this.L3805.Name = "L3805";
this.L3805.Size = new System.Drawing.Size(17, 14);
this.L3805.TabIndex = 20;
//
// label12
//
this.label12.Location = new System.Drawing.Point(288, 272);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(170, 14);
this.label12.TabIndex = 19;
this.label12.Text = "EDGEHIGHLIGHTCOLOR";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3806
//
this.L3806.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3806.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3806.Location = new System.Drawing.Point(472, 296);
this.L3806.Name = "L3806";
this.L3806.Size = new System.Drawing.Size(17, 14);
this.L3806.TabIndex = 22;
//
// label14
//
this.label14.Location = new System.Drawing.Point(288, 296);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(170, 14);
this.label14.TabIndex = 21;
this.label14.Text = "EDGESHADOWCOLOR";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3807
//
this.L3807.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3807.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3807.Location = new System.Drawing.Point(472, 320);
this.L3807.Name = "L3807";
this.L3807.Size = new System.Drawing.Size(17, 14);
this.L3807.TabIndex = 24;
//
// label16
//
this.label16.Location = new System.Drawing.Point(288, 320);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(170, 14);
this.label16.TabIndex = 23;
this.label16.Text = "EDGEDKSHADOWCOLOR";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3808
//
this.L3808.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3808.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3808.Location = new System.Drawing.Point(472, 344);
this.L3808.Name = "L3808";
this.L3808.Size = new System.Drawing.Size(17, 14);
this.L3808.TabIndex = 26;
//
// label18
//
this.label18.Location = new System.Drawing.Point(288, 344);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(170, 14);
this.label18.TabIndex = 25;
this.label18.Text = "EDGEFILLCOLOR";
this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3809
//
this.L3809.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3809.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3809.Location = new System.Drawing.Point(472, 368);
this.L3809.Name = "L3809";
this.L3809.Size = new System.Drawing.Size(17, 14);
this.L3809.TabIndex = 28;
//
// label20
//
this.label20.Location = new System.Drawing.Point(288, 368);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(170, 14);
this.label20.TabIndex = 27;
this.label20.Text = "TRANSPARENTCOLOR";
this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3810
//
this.L3810.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3810.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3810.Location = new System.Drawing.Point(472, 392);
this.L3810.Name = "L3810";
this.L3810.Size = new System.Drawing.Size(17, 14);
this.L3810.TabIndex = 30;
//
// label22
//
this.label22.Location = new System.Drawing.Point(288, 392);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(170, 14);
this.label22.TabIndex = 29;
this.label22.Text = "GRADIENTCOLOR1";
this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3811
//
this.L3811.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3811.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3811.Location = new System.Drawing.Point(472, 416);
this.L3811.Name = "L3811";
this.L3811.Size = new System.Drawing.Size(17, 14);
this.L3811.TabIndex = 32;
//
// label24
//
this.label24.Location = new System.Drawing.Point(288, 416);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(170, 14);
this.label24.TabIndex = 31;
this.label24.Text = "GRADIENTCOLOR2";
this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3812
//
this.L3812.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3812.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3812.Location = new System.Drawing.Point(472, 440);
this.L3812.Name = "L3812";
this.L3812.Size = new System.Drawing.Size(17, 14);
this.L3812.TabIndex = 34;
//
// label26
//
this.label26.Location = new System.Drawing.Point(288, 440);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(170, 14);
this.label26.TabIndex = 33;
this.label26.Text = "GRADIENTCOLOR3";
this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3813
//
this.L3813.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3813.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3813.Location = new System.Drawing.Point(672, 176);
this.L3813.Name = "L3813";
this.L3813.Size = new System.Drawing.Size(17, 14);
this.L3813.TabIndex = 36;
//
// label28
//
this.label28.Location = new System.Drawing.Point(496, 176);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(170, 20);
this.label28.TabIndex = 35;
this.label28.Text = "GRADIENTCOLOR4";
this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3814
//
this.L3814.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3814.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3814.Location = new System.Drawing.Point(672, 200);
this.L3814.Name = "L3814";
this.L3814.Size = new System.Drawing.Size(17, 14);
this.L3814.TabIndex = 38;
//
// label30
//
this.label30.Location = new System.Drawing.Point(496, 200);
this.label30.Name = "label30";
this.label30.Size = new System.Drawing.Size(170, 20);
this.label30.TabIndex = 37;
this.label30.Text = "GRADIENTCOLOR5";
this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3815
//
this.L3815.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3815.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3815.Location = new System.Drawing.Point(672, 224);
this.L3815.Name = "L3815";
this.L3815.Size = new System.Drawing.Size(17, 14);
this.L3815.TabIndex = 40;
//
// label32
//
this.label32.Location = new System.Drawing.Point(496, 224);
this.label32.Name = "label32";
this.label32.Size = new System.Drawing.Size(170, 20);
this.label32.TabIndex = 39;
this.label32.Text = "SHADOWCOLOR";
this.label32.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3816
//
this.L3816.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3816.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3816.Location = new System.Drawing.Point(672, 248);
this.L3816.Name = "L3816";
this.L3816.Size = new System.Drawing.Size(17, 14);
this.L3816.TabIndex = 42;
//
// label34
//
this.label34.Location = new System.Drawing.Point(496, 248);
this.label34.Name = "label34";
this.label34.Size = new System.Drawing.Size(170, 20);
this.label34.TabIndex = 41;
this.label34.Text = "GLOWCOLOR";
this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3817
//
this.L3817.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3817.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3817.Location = new System.Drawing.Point(672, 272);
this.L3817.Name = "L3817";
this.L3817.Size = new System.Drawing.Size(17, 14);
this.L3817.TabIndex = 44;
//
// label36
//
this.label36.Location = new System.Drawing.Point(496, 272);
this.label36.Name = "label36";
this.label36.Size = new System.Drawing.Size(170, 20);
this.label36.TabIndex = 43;
this.label36.Text = "TEXTBORDERCOLOR";
this.label36.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3818
//
this.L3818.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3818.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3818.Location = new System.Drawing.Point(672, 296);
this.L3818.Name = "L3818";
this.L3818.Size = new System.Drawing.Size(17, 14);
this.L3818.TabIndex = 46;
//
// label38
//
this.label38.Location = new System.Drawing.Point(496, 296);
this.label38.Name = "label38";
this.label38.Size = new System.Drawing.Size(170, 20);
this.label38.TabIndex = 45;
this.label38.Text = "TEXTSHADOWCOLOR";
this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3819
//
this.L3819.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3819.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3819.Location = new System.Drawing.Point(672, 320);
this.L3819.Name = "L3819";
this.L3819.Size = new System.Drawing.Size(17, 14);
this.L3819.TabIndex = 48;
//
// label40
//
this.label40.Location = new System.Drawing.Point(496, 320);
this.label40.Name = "label40";
this.label40.Size = new System.Drawing.Size(170, 20);
this.label40.TabIndex = 47;
this.label40.Text = "GLYPHTEXTCOLOR";
this.label40.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3820
//
this.L3820.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3820.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3820.Location = new System.Drawing.Point(672, 344);
this.L3820.Name = "L3820";
this.L3820.Size = new System.Drawing.Size(17, 14);
this.L3820.TabIndex = 50;
//
// label42
//
this.label42.Location = new System.Drawing.Point(496, 344);
this.label42.Name = "label42";
this.label42.Size = new System.Drawing.Size(170, 20);
this.label42.TabIndex = 49;
this.label42.Text = "GLYPHTRANSPARENTCOLOR";
this.label42.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3821
//
this.L3821.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3821.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3821.Location = new System.Drawing.Point(672, 368);
this.L3821.Name = "L3821";
this.L3821.Size = new System.Drawing.Size(17, 14);
this.L3821.TabIndex = 52;
//
// label44
//
this.label44.Location = new System.Drawing.Point(496, 368);
this.label44.Name = "label44";
this.label44.Size = new System.Drawing.Size(170, 20);
this.label44.TabIndex = 51;
this.label44.Text = "FILLCOLORHINT";
this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3822
//
this.L3822.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3822.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3822.Location = new System.Drawing.Point(672, 392);
this.L3822.Name = "L3822";
this.L3822.Size = new System.Drawing.Size(17, 14);
this.L3822.TabIndex = 54;
//
// label46
//
this.label46.Location = new System.Drawing.Point(496, 392);
this.label46.Name = "label46";
this.label46.Size = new System.Drawing.Size(170, 20);
this.label46.TabIndex = 53;
this.label46.Text = "BORDERCOLORHINT";
this.label46.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3823
//
this.L3823.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3823.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3823.Location = new System.Drawing.Point(672, 416);
this.L3823.Name = "L3823";
this.L3823.Size = new System.Drawing.Size(17, 14);
this.L3823.TabIndex = 56;
//
// label48
//
this.label48.Location = new System.Drawing.Point(496, 416);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(170, 20);
this.label48.TabIndex = 55;
this.label48.Text = "ACCENTCOLORHINT";
this.label48.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L25
//
this.L25.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L25.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L25.Location = new System.Drawing.Point(1115, 414);
this.L25.Name = "L25";
this.L25.Size = new System.Drawing.Size(17, 14);
this.L25.TabIndex = 102;
//
// label7
//
this.label7.Location = new System.Drawing.Point(920, 414);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(180, 16);
this.label7.TabIndex = 101;
this.label7.Text = "HOTLIGHT";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L24
//
this.L24.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L24.Location = new System.Drawing.Point(1115, 390);
this.L24.Name = "L24";
this.L24.Size = new System.Drawing.Size(17, 14);
this.L24.TabIndex = 100;
//
// label11
//
this.label11.Location = new System.Drawing.Point(920, 390);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(180, 16);
this.label11.TabIndex = 99;
this.label11.Text = "INFOBK";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L23
//
this.L23.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L23.Location = new System.Drawing.Point(1115, 366);
this.L23.Name = "L23";
this.L23.Size = new System.Drawing.Size(17, 14);
this.L23.TabIndex = 98;
//
// label15
//
this.label15.Location = new System.Drawing.Point(920, 366);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(180, 16);
this.label15.TabIndex = 97;
this.label15.Text = "INFOTEXT";
this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L22
//
this.L22.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L22.Location = new System.Drawing.Point(1115, 342);
this.L22.Name = "L22";
this.L22.Size = new System.Drawing.Size(17, 14);
this.L22.TabIndex = 96;
//
// label19
//
this.label19.Location = new System.Drawing.Point(920, 343);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(180, 16);
this.label19.TabIndex = 95;
this.label19.Text = "3DLIGHT";
this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L21
//
this.L21.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L21.Location = new System.Drawing.Point(1115, 318);
this.L21.Name = "L21";
this.L21.Size = new System.Drawing.Size(17, 14);
this.L21.TabIndex = 94;
//
// label23
//
this.label23.Location = new System.Drawing.Point(920, 318);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(180, 16);
this.label23.TabIndex = 93;
this.label23.Text = "3DDKSHADOW";
this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L20
//
this.L20.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L20.Location = new System.Drawing.Point(1115, 294);
this.L20.Name = "L20";
this.L20.Size = new System.Drawing.Size(17, 14);
this.L20.TabIndex = 92;
//
// label27
//
this.label27.Location = new System.Drawing.Point(920, 295);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(180, 16);
this.label27.TabIndex = 91;
this.label27.Text = "BTNHIGHLIGHT";
this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L19
//
this.L19.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L19.Location = new System.Drawing.Point(1115, 270);
this.L19.Name = "L19";
this.L19.Size = new System.Drawing.Size(17, 14);
this.L19.TabIndex = 90;
//
// label31
//
this.label31.Location = new System.Drawing.Point(920, 272);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(180, 16);
this.label31.TabIndex = 89;
this.label31.Text = "INACTIVECAPTIONTEXT";
this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L18
//
this.L18.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L18.Location = new System.Drawing.Point(1115, 246);
this.L18.Name = "L18";
this.L18.Size = new System.Drawing.Size(17, 14);
this.L18.TabIndex = 88;
//
// label35
//
this.label35.Location = new System.Drawing.Point(920, 248);
this.label35.Name = "label35";
this.label35.Size = new System.Drawing.Size(180, 16);
this.label35.TabIndex = 87;
this.label35.Text = "BTNTEXT";
this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L17
//
this.L17.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L17.Location = new System.Drawing.Point(1115, 222);
this.L17.Name = "L17";
this.L17.Size = new System.Drawing.Size(17, 14);
this.L17.TabIndex = 86;
//
// label39
//
this.label39.Location = new System.Drawing.Point(920, 222);
this.label39.Name = "label39";
this.label39.Size = new System.Drawing.Size(180, 16);
this.label39.TabIndex = 85;
this.label39.Text = "GRAYTEXT";
this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L16
//
this.L16.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L16.Location = new System.Drawing.Point(1115, 198);
this.L16.Name = "L16";
this.L16.Size = new System.Drawing.Size(17, 14);
this.L16.TabIndex = 84;
//
// label43
//
this.label43.Location = new System.Drawing.Point(920, 199);
this.label43.Name = "label43";
this.label43.Size = new System.Drawing.Size(180, 16);
this.label43.TabIndex = 83;
this.label43.Text = "BTNSHADOW";
this.label43.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L15
//
this.L15.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L15.Location = new System.Drawing.Point(1115, 174);
this.L15.Name = "L15";
this.L15.Size = new System.Drawing.Size(17, 14);
this.L15.TabIndex = 82;
//
// label47
//
this.label47.Location = new System.Drawing.Point(920, 176);
this.label47.Name = "label47";
this.label47.Size = new System.Drawing.Size(180, 16);
this.label47.TabIndex = 81;
this.label47.Text = "BTNFACE";
this.label47.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L11
//
this.L11.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L11.Location = new System.Drawing.Point(896, 440);
this.L11.Name = "L11";
this.L11.Size = new System.Drawing.Size(17, 14);
this.L11.TabIndex = 80;
//
// label50
//
this.label50.Location = new System.Drawing.Point(712, 440);
this.label50.Name = "label50";
this.label50.Size = new System.Drawing.Size(170, 14);
this.label50.TabIndex = 79;
this.label50.Text = "INACTIVEBORDER";
this.label50.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L10
//
this.L10.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L10.Location = new System.Drawing.Point(896, 416);
this.L10.Name = "L10";
this.L10.Size = new System.Drawing.Size(17, 14);
this.L10.TabIndex = 78;
//
// label52
//
this.label52.Location = new System.Drawing.Point(712, 416);
this.label52.Name = "label52";
this.label52.Size = new System.Drawing.Size(170, 14);
this.label52.TabIndex = 77;
this.label52.Text = "ACTIVEBORDER";
this.label52.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L9
//
this.L9.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L9.Location = new System.Drawing.Point(896, 392);
this.L9.Name = "L9";
this.L9.Size = new System.Drawing.Size(17, 14);
this.L9.TabIndex = 76;
//
// label54
//
this.label54.Location = new System.Drawing.Point(712, 392);
this.label54.Name = "label54";
this.label54.Size = new System.Drawing.Size(170, 14);
this.label54.TabIndex = 75;
this.label54.Text = "CAPTIONTEXT";
this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L8
//
this.L8.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L8.Location = new System.Drawing.Point(896, 368);
this.L8.Name = "L8";
this.L8.Size = new System.Drawing.Size(17, 14);
this.L8.TabIndex = 74;
//
// label56
//
this.label56.Location = new System.Drawing.Point(712, 368);
this.label56.Name = "label56";
this.label56.Size = new System.Drawing.Size(170, 14);
this.label56.TabIndex = 73;
this.label56.Text = "WINDOWTEXT";
this.label56.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L7
//
this.L7.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L7.Location = new System.Drawing.Point(896, 344);
this.L7.Name = "L7";
this.L7.Size = new System.Drawing.Size(17, 14);
this.L7.TabIndex = 72;
//
// label58
//
this.label58.Location = new System.Drawing.Point(712, 344);
this.label58.Name = "label58";
this.label58.Size = new System.Drawing.Size(170, 14);
this.label58.TabIndex = 71;
this.label58.Text = "MENUTEXT";
this.label58.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L6
//
this.L6.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L6.Location = new System.Drawing.Point(896, 320);
this.L6.Name = "L6";
this.L6.Size = new System.Drawing.Size(17, 14);
this.L6.TabIndex = 70;
//
// label60
//
this.label60.Location = new System.Drawing.Point(712, 320);
this.label60.Name = "label60";
this.label60.Size = new System.Drawing.Size(170, 14);
this.label60.TabIndex = 69;
this.label60.Text = "WINDOWFRAME";
this.label60.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L5
//
this.L5.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L5.Location = new System.Drawing.Point(896, 296);
this.L5.Name = "L5";
this.L5.Size = new System.Drawing.Size(17, 14);
this.L5.TabIndex = 68;
//
// label62
//
this.label62.Location = new System.Drawing.Point(712, 296);
this.label62.Name = "label62";
this.label62.Size = new System.Drawing.Size(170, 14);
this.label62.TabIndex = 67;
this.label62.Text = "WINDOW";
this.label62.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L4
//
this.L4.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L4.Location = new System.Drawing.Point(896, 272);
this.L4.Name = "L4";
this.L4.Size = new System.Drawing.Size(17, 14);
this.L4.TabIndex = 66;
//
// label64
//
this.label64.Location = new System.Drawing.Point(712, 272);
this.label64.Name = "label64";
this.label64.Size = new System.Drawing.Size(170, 14);
this.label64.TabIndex = 65;
this.label64.Text = "MENU";
this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L3
//
this.L3.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L3.Location = new System.Drawing.Point(896, 248);
this.L3.Name = "L3";
this.L3.Size = new System.Drawing.Size(17, 14);
this.L3.TabIndex = 64;
//
// label66
//
this.label66.Location = new System.Drawing.Point(712, 248);
this.label66.Name = "label66";
this.label66.Size = new System.Drawing.Size(170, 14);
this.label66.TabIndex = 63;
this.label66.Text = "INACTIVECAPTION";
this.label66.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L2
//
this.L2.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L2.Location = new System.Drawing.Point(896, 224);
this.L2.Name = "L2";
this.L2.Size = new System.Drawing.Size(17, 14);
this.L2.TabIndex = 62;
//
// label68
//
this.label68.Location = new System.Drawing.Point(712, 224);
this.label68.Name = "label68";
this.label68.Size = new System.Drawing.Size(170, 14);
this.label68.TabIndex = 61;
this.label68.Text = "ACTIVECAPTION";
this.label68.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L1
//
this.L1.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L1.Location = new System.Drawing.Point(896, 200);
this.L1.Name = "L1";
this.L1.Size = new System.Drawing.Size(17, 14);
this.L1.TabIndex = 60;
//
// label70
//
this.label70.Location = new System.Drawing.Point(712, 200);
this.label70.Name = "label70";
this.label70.Size = new System.Drawing.Size(170, 14);
this.label70.TabIndex = 59;
this.label70.Text = "BACKGROUND";
this.label70.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L0
//
this.L0.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L0.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L0.Location = new System.Drawing.Point(896, 176);
this.L0.Name = "L0";
this.L0.Size = new System.Drawing.Size(17, 14);
this.L0.TabIndex = 58;
//
// label72
//
this.label72.Location = new System.Drawing.Point(712, 176);
this.label72.Name = "label72";
this.label72.Size = new System.Drawing.Size(170, 14);
this.label72.TabIndex = 57;
this.label72.Text = "SCROLLBAR";
this.label72.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label73
//
this.label73.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label73.Location = new System.Drawing.Point(372, 144);
this.label73.Name = "label73";
this.label73.Size = new System.Drawing.Size(317, 24);
this.label73.TabIndex = 103;
this.label73.Text = "Get Theme Color (State)";
this.label73.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label74
//
this.label74.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label74.Location = new System.Drawing.Point(727, 144);
this.label74.Name = "label74";
this.label74.Size = new System.Drawing.Size(405, 24);
this.label74.TabIndex = 104;
this.label74.Text = "Get Theme System Color (Part)";
this.label74.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// L12
//
this.L12.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L12.Location = new System.Drawing.Point(896, 464);
this.L12.Name = "L12";
this.L12.Size = new System.Drawing.Size(17, 14);
this.L12.TabIndex = 106;
//
// label76
//
this.label76.Location = new System.Drawing.Point(712, 464);
this.label76.Name = "label76";
this.label76.Size = new System.Drawing.Size(170, 14);
this.label76.TabIndex = 105;
this.label76.Text = "APPWORKSPACE";
this.label76.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L13
//
this.L13.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L13.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L13.Location = new System.Drawing.Point(896, 488);
this.L13.Name = "L13";
this.L13.Size = new System.Drawing.Size(17, 14);
this.L13.TabIndex = 108;
//
// label78
//
this.label78.Location = new System.Drawing.Point(712, 488);
this.label78.Name = "label78";
this.label78.Size = new System.Drawing.Size(170, 14);
this.label78.TabIndex = 107;
this.label78.Text = "HIGHLIGHT";
this.label78.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L14
//
this.L14.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L14.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L14.Location = new System.Drawing.Point(896, 512);
this.L14.Name = "L14";
this.L14.Size = new System.Drawing.Size(17, 14);
this.L14.TabIndex = 110;
//
// label80
//
this.label80.Location = new System.Drawing.Point(712, 512);
this.label80.Name = "label80";
this.label80.Size = new System.Drawing.Size(170, 14);
this.label80.TabIndex = 109;
this.label80.Text = "HIGHLIGHTTEXT";
this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L26
//
this.L26.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L26.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L26.Location = new System.Drawing.Point(1115, 438);
this.L26.Name = "L26";
this.L26.Size = new System.Drawing.Size(17, 14);
this.L26.TabIndex = 112;
//
// label82
//
this.label82.Location = new System.Drawing.Point(920, 438);
this.label82.Name = "label82";
this.label82.Size = new System.Drawing.Size(180, 16);
this.label82.TabIndex = 111;
this.label82.Text = "GRADIENTACTIVECAPTION";
this.label82.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L27
//
this.L27.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L27.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L27.Location = new System.Drawing.Point(1115, 462);
this.L27.Name = "L27";
this.L27.Size = new System.Drawing.Size(17, 14);
this.L27.TabIndex = 114;
//
// label84
//
this.label84.Location = new System.Drawing.Point(920, 462);
this.label84.Name = "label84";
this.label84.Size = new System.Drawing.Size(180, 16);
this.label84.TabIndex = 113;
this.label84.Text = "GRADIENTINACTIVECAPTION";
this.label84.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L28
//
this.L28.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L28.Location = new System.Drawing.Point(1115, 486);
this.L28.Name = "L28";
this.L28.Size = new System.Drawing.Size(17, 14);
this.L28.TabIndex = 116;
//
// label86
//
this.label86.Location = new System.Drawing.Point(920, 486);
this.label86.Name = "label86";
this.label86.Size = new System.Drawing.Size(180, 16);
this.label86.TabIndex = 115;
this.label86.Text = "MENUHILIGHT";
this.label86.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// L29
//
this.L29.BackColor = System.Drawing.SystemColors.ButtonFace;
this.L29.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.L29.Location = new System.Drawing.Point(1115, 510);
this.L29.Name = "L29";
this.L29.Size = new System.Drawing.Size(17, 14);
this.L29.TabIndex = 118;
//
// label9
//
this.label9.Location = new System.Drawing.Point(920, 510);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(180, 16);
this.label9.TabIndex = 117;
this.label9.Text = "MENUBAR";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.SystemColors.ButtonFace;
this.ClientSize = new System.Drawing.Size(1144, 557);
this.Controls.Add(this.L29);
this.Controls.Add(this.label9);
this.Controls.Add(this.L28);
this.Controls.Add(this.label86);
this.Controls.Add(this.L27);
this.Controls.Add(this.label84);
this.Controls.Add(this.L26);
this.Controls.Add(this.label82);
this.Controls.Add(this.L14);
this.Controls.Add(this.label80);
this.Controls.Add(this.L13);
this.Controls.Add(this.label78);
this.Controls.Add(this.L12);
this.Controls.Add(this.label76);
this.Controls.Add(this.label74);
this.Controls.Add(this.label73);
this.Controls.Add(this.L25);
this.Controls.Add(this.label7);
this.Controls.Add(this.L24);
this.Controls.Add(this.label11);
this.Controls.Add(this.L23);
this.Controls.Add(this.label15);
this.Controls.Add(this.L22);
this.Controls.Add(this.label19);
this.Controls.Add(this.L21);
this.Controls.Add(this.label23);
this.Controls.Add(this.L20);
this.Controls.Add(this.label27);
this.Controls.Add(this.L19);
this.Controls.Add(this.label31);
this.Controls.Add(this.L18);
this.Controls.Add(this.label35);
this.Controls.Add(this.L17);
this.Controls.Add(this.label39);
this.Controls.Add(this.L16);
this.Controls.Add(this.label43);
this.Controls.Add(this.L15);
this.Controls.Add(this.label47);
this.Controls.Add(this.L11);
this.Controls.Add(this.label50);
this.Controls.Add(this.L10);
this.Controls.Add(this.label52);
this.Controls.Add(this.L9);
this.Controls.Add(this.label54);
this.Controls.Add(this.L8);
this.Controls.Add(this.label56);
this.Controls.Add(this.L7);
this.Controls.Add(this.label58);
this.Controls.Add(this.L6);
this.Controls.Add(this.label60);
this.Controls.Add(this.L5);
this.Controls.Add(this.label62);
this.Controls.Add(this.L4);
this.Controls.Add(this.label64);
this.Controls.Add(this.L3);
this.Controls.Add(this.label66);
this.Controls.Add(this.L2);
this.Controls.Add(this.label68);
this.Controls.Add(this.L1);
this.Controls.Add(this.label70);
this.Controls.Add(this.L0);
this.Controls.Add(this.label72);
this.Controls.Add(this.L3823);
this.Controls.Add(this.label48);
this.Controls.Add(this.L3822);
this.Controls.Add(this.label46);
this.Controls.Add(this.L3821);
this.Controls.Add(this.label44);
this.Controls.Add(this.L3820);
this.Controls.Add(this.label42);
this.Controls.Add(this.L3819);
this.Controls.Add(this.label40);
this.Controls.Add(this.L3818);
this.Controls.Add(this.label38);
this.Controls.Add(this.L3817);
this.Controls.Add(this.label36);
this.Controls.Add(this.L3816);
this.Controls.Add(this.label34);
this.Controls.Add(this.L3815);
this.Controls.Add(this.label32);
this.Controls.Add(this.L3814);
this.Controls.Add(this.label30);
this.Controls.Add(this.L3813);
this.Controls.Add(this.label28);
this.Controls.Add(this.L3812);
this.Controls.Add(this.label26);
this.Controls.Add(this.L3811);
this.Controls.Add(this.label24);
this.Controls.Add(this.L3810);
this.Controls.Add(this.label22);
this.Controls.Add(this.L3809);
this.Controls.Add(this.label20);
this.Controls.Add(this.L3808);
this.Controls.Add(this.label18);
this.Controls.Add(this.L3807);
this.Controls.Add(this.label16);
this.Controls.Add(this.L3806);
this.Controls.Add(this.label14);
this.Controls.Add(this.L3805);
this.Controls.Add(this.label12);
this.Controls.Add(this.L3804);
this.Controls.Add(this.label10);
this.Controls.Add(this.L3803);
this.Controls.Add(this.label8);
this.Controls.Add(this.L3802);
this.Controls.Add(this.label6);
this.Controls.Add(this.L3801);
this.Controls.Add(this.label4);
this.Controls.Add(this.ThemeSizeLabel);
this.Controls.Add(this.label3);
this.Controls.Add(this.ColorNameLabel);
this.Controls.Add(this.ThemeNameLabel);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.TextPanel);
this.Controls.Add(this.LargePanel);
this.Controls.Add(this.MediumPanel);
this.Controls.Add(this.SmallPanel);
this.Controls.Add(this.treeView1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "Managed Theme Explorer";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
}
#endregion
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.Run(new Form1());
}
private void Form1_Load(object sender, System.EventArgs e)
{
if (CUxTheme.IsAppThemed)
{
CThemeInfo info = new CThemeInfo();
foreach (CWindowTheme w in info)
AddWindowThemeNode(w);
ThemeNameLabel.Text = info.Name;
ColorNameLabel.Text = info.ColorName;
ThemeSizeLabel.Text = info.SizeName;
}
else
{
MessageBox.Show("Themes are not enabled");
this.Close();
}
}
private void AddWindowThemeNode(CWindowTheme w)
{
try
{
TreeNode node = new TreeNode(w.Name, 0, 0);
node.Tag = w;
//foreach (CThemePartState s in w.States)
// AddStateNode(node, s);
foreach (CThemePart p in w.Parts)
AddPartNode(node, p);
treeView1.Nodes.Add(node);
}
catch (Exception ex)
{
string s1 = ex.Message;
MessageBox.Show(s1);
}
}
private void AddPartNode(TreeNode parent, CThemePart p)
{
try
{
TreeNode node = new TreeNode(p.Name, 1, 1);
node.Tag = p;
foreach (CThemePartState s in p.States)
AddStateNode(node, s);
parent.Nodes.Add(node);
}
catch (Exception ex)
{
string s2 = ex.Message;
MessageBox.Show(s2);
}
}
private void AddStateNode(TreeNode parent, CThemePartState s)
{
try
{
TreeNode node = new TreeNode(s.Name, 2, 2);
node.Tag = s;
parent.Nodes.Add(node);
}
catch (System.ArgumentException ex)
{
string s3 = ex.Message;
MessageBox.Show(s3);
}
}
private void treeView1_AfterSelect_1(object sender, System.Windows.Forms.TreeViewEventArgs e)
{
CWindowTheme w = null;
CThemePart p = null;
CThemePartState s = null;
if (0 == treeView1.SelectedNode.ImageIndex)
{
s = null;
p = null;
w = treeView1.SelectedNode.Tag as CWindowTheme;
}
else if (1 == treeView1.SelectedNode.ImageIndex)
{
s = null;
p = treeView1.SelectedNode.Tag as CThemePart;
w = treeView1.SelectedNode.Parent.Tag as CWindowTheme;
}
else if (2 == treeView1.SelectedNode.ImageIndex)
{
s = treeView1.SelectedNode.Tag as CThemePartState;
p = treeView1.SelectedNode.Parent.Tag as CThemePart;
w = treeView1.SelectedNode.Parent.Parent.Tag as CWindowTheme;
}
Color clr = SystemColors.ButtonFace;
if (null != w)
{
CUxTheme u = w.UxTheme;
if ((null != s) && (null != p))
{
L3801.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3801, clr);
L3802.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3802, clr);
L3803.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3803, clr);
L3804.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3804, clr);
L3805.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3805, clr);
L3806.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3806, clr);
L3807.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3807, clr);
L3808.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3808, clr);
L3809.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3809, clr);
L3810.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3810, clr);
L3811.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3811, clr);
L3812.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3812, clr);
L3813.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3813, clr);
L3814.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3814, clr);
L3815.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3815, clr);
L3816.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3816, clr);
L3817.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3817, clr);
L3818.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3818, clr);
L3819.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3819, clr);
L3820.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3820, clr);
L3821.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3821, clr);
L3822.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3822, clr);
L3823.BackColor = u.GetColor(p.ThemePartId, s.StateId, 3823, clr);
}
else
{
L3801.BackColor = clr;
L3802.BackColor = clr;
L3803.BackColor = clr;
L3804.BackColor = clr;
L3805.BackColor = clr;
L3806.BackColor = clr;
L3807.BackColor = clr;
L3808.BackColor = clr;
L3809.BackColor = clr;
L3810.BackColor = clr;
L3811.BackColor = clr;
L3812.BackColor = clr;
L3813.BackColor = clr;
L3814.BackColor = clr;
L3815.BackColor = clr;
L3816.BackColor = clr;
L3817.BackColor = clr;
L3818.BackColor = clr;
L3819.BackColor = clr;
L3820.BackColor = clr;
L3821.BackColor = clr;
L3822.BackColor = clr;
L3823.BackColor = clr;
}
L0.BackColor = u.GetSysColor(0);
L1.BackColor = u.GetSysColor(1);
L2.BackColor = u.GetSysColor(2);
L3.BackColor = u.GetSysColor(3);
L4.BackColor = u.GetSysColor(4);
L5.BackColor = u.GetSysColor(5);
L6.BackColor = u.GetSysColor(6);
L7.BackColor = u.GetSysColor(8);
L9.BackColor = u.GetSysColor(9);
L10.BackColor = u.GetSysColor(10);
L11.BackColor = u.GetSysColor(11);
L12.BackColor = u.GetSysColor(12);
L13.BackColor = u.GetSysColor(13);
L14.BackColor = u.GetSysColor(14);
L15.BackColor = u.GetSysColor(15);
L16.BackColor = u.GetSysColor(16);
L17.BackColor = u.GetSysColor(17);
L18.BackColor = u.GetSysColor(18);
L19.BackColor = u.GetSysColor(19);
L20.BackColor = u.GetSysColor(20);
L21.BackColor = u.GetSysColor(21);
L22.BackColor = u.GetSysColor(22);
L23.BackColor = u.GetSysColor(23);
L24.BackColor = u.GetSysColor(24);
L25.BackColor = u.GetSysColor(25);
L26.BackColor = u.GetSysColor(26);
L27.BackColor = u.GetSysColor(27);
L28.BackColor = u.GetSysColor(28);
L29.BackColor = u.GetSysColor(29);
}
else
{
L0.BackColor = clr;
L1.BackColor = clr;
L2.BackColor = clr;
L3.BackColor = clr;
L4.BackColor = clr;
L5.BackColor = clr;
L6.BackColor = clr;
L7.BackColor = clr;
L9.BackColor = clr;
L10.BackColor = clr;
L11.BackColor = clr;
L12.BackColor = clr;
L13.BackColor = clr;
L14.BackColor = clr;
L15.BackColor = clr;
L16.BackColor = clr;
L17.BackColor = clr;
L18.BackColor = clr;
L19.BackColor = clr;
L20.BackColor = clr;
L21.BackColor = clr;
L22.BackColor = clr;
L23.BackColor = clr;
L24.BackColor = clr;
L25.BackColor = clr;
L26.BackColor = clr;
L27.BackColor = clr;
L28.BackColor = clr;
L29.BackColor = clr;
}
Refresh();
}
protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e)
{
base.OnPaintBackground(e);
try
{
if (treeView1.SelectedNode == null)
return;
Graphics g = e.Graphics;
IRenderableItem item = treeView1.SelectedNode.Tag as IRenderableItem;
if (item != null)
{
item.DrawBackground(g, SmallPanel.Bounds);
item.DrawBackground(g, MediumPanel.Bounds);
item.DrawBackground(g, LargePanel.Bounds);
item.DrawText(g, GetTreeText(treeView1.SelectedNode), DrawTextFlags.dt_CENTER | DrawTextFlags.dt_WORD_ELLIPSIS | DrawTextFlags.dt_WORDBREAK, false, TextPanel.Bounds);
}
}
catch (System.Runtime.InteropServices.ExternalException ex)
{
//CUxTheme returns E_FAIL when drawing certain parts (Window SysButton) is one example
//haven't been able to figure out why yet
Trace.WriteLine(ex.Message);
}
}
private string GetTreeText(TreeNode node)
{
if (node == null)
return "";
return node.Text + " " + GetTreeText(node.Parent);
}
private void button1_Click(object sender, System.EventArgs e)
{
CThemeInfo i = new CThemeInfo();
CWindowTheme w = i[-1];
}
}
}