using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace XPTaskBar
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            bar.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Office2007;
            bar.Office2007Theme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            xPTaskBar.Style = Syncfusion.Windows.Forms.Tools.XPTaskBarStyle.Office2007;
            xPTaskBar.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
        }

        private void cmdOffice2007Blue_Click(object sender, EventArgs e)
        {
            bar.Office2007Theme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            xPTaskBar.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
        }
        private void cmdOffice2007Black_Click(object sender, EventArgs e)
        {
            bar.Office2007Theme = Syncfusion.Windows.Forms.Office2007Theme.Black;
            xPTaskBar.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black;
        }
        private void cmdOffice2007Silver_Click(object sender, EventArgs e)
        {
            bar.Office2007Theme = Syncfusion.Windows.Forms.Office2007Theme.Silver;
            xPTaskBar.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Silver;
        }
    }
}
