Example #1
0
        /// <summary>
        /// Initializes a new instance of the AdvPropertyGrid class.
        /// </summary>
        public AdvPropertyGrid()
        {
            _SystemText = new AdvPropertyGridLocalization();
            _SystemText.PropertyChanged += new PropertyChangedEventHandler(SystemTextPropertyChanged);

            _Appearance = new AdvPropertyGridAppearance();
            _Appearance.PropertyChanged += new PropertyChangedEventHandler(AppearancePropertyChanged);

            _PropertySettings = new PropertySettingsCollection(this);

            _Toolbar = CreateToolbar();
            _PropertyTree = CreatePropertyTree();
            _SuperTooltip = CreateSuperTooltip();
            _ExpandableSplitter = CreateExpandableSplitter();
            _HelpPanel = CreateHelpPanel();
            _ExpandableSplitter.ExpandableControl = _HelpPanel;

            this.Controls.Add(_PropertyTree);
            this.Controls.Add(_Toolbar);
            this.Controls.Add(_ExpandableSplitter);
            this.Controls.Add(_HelpPanel);
            _ExpandableSplitter.Visible = false;
            _HelpPanel.Visible = false;
        }
Example #2
0
 public void UpdateExpandableSplitter(ExpandableSplitter expandable, bool expanded, bool enabled)
 {
     if (expandable.InvokeRequired)
     {
         expandable.BeginInvoke(
             new MethodInvoker(
                 delegate { UpdateExpandableSplitter(expandable, expanded, enabled); }));
     }
     else
     {
         expandable.Expanded = expanded;
         expandable.Enabled = enabled;
     }
 }
Example #3
0
 private ExpandableSplitter CreateExpandableSplitter()
 {
     ExpandableSplitter splitter = new ExpandableSplitter();
     splitter.Style = eSplitterStyle.Office2007;
     splitter.Dock = DockStyle.Bottom;
     splitter.Height = 6;
     return splitter;
 }
Example #4
0
 /// <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();
     this.tabControl1         = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanel1    = new DevComponents.DotNetBar.TabControlPanel();
     this.richTextBox1        = new System.Windows.Forms.RichTextBox();
     this.panelEx1            = new DevComponents.DotNetBar.PanelEx();
     this.label1              = new System.Windows.Forms.Label();
     this.panelEx2            = new DevComponents.DotNetBar.PanelEx();
     this.richTextBox2        = new System.Windows.Forms.RichTextBox();
     this.tabItem1            = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabControlPanel3    = new DevComponents.DotNetBar.TabControlPanel();
     this.richTextBox5        = new System.Windows.Forms.RichTextBox();
     this.panelEx5            = new DevComponents.DotNetBar.PanelEx();
     this.label3              = new System.Windows.Forms.Label();
     this.panelEx6            = new DevComponents.DotNetBar.PanelEx();
     this.richTextBox6        = new System.Windows.Forms.RichTextBox();
     this.tabItem3            = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabControlPanel2    = new DevComponents.DotNetBar.TabControlPanel();
     this.richTextBox3        = new System.Windows.Forms.RichTextBox();
     this.panelEx3            = new DevComponents.DotNetBar.PanelEx();
     this.label2              = new System.Windows.Forms.Label();
     this.panelEx4            = new DevComponents.DotNetBar.PanelEx();
     this.richTextBox4        = new System.Windows.Forms.RichTextBox();
     this.tabItem2            = new DevComponents.DotNetBar.TabItem(this.components);
     this.itemPanel1          = new DevComponents.DotNetBar.ItemPanel();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.contextMenuBar1     = new DevComponents.DotNetBar.ContextMenuBar();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabControlPanel1.SuspendLayout();
     this.panelEx1.SuspendLayout();
     this.panelEx2.SuspendLayout();
     this.tabControlPanel3.SuspendLayout();
     this.panelEx5.SuspendLayout();
     this.panelEx6.SuspendLayout();
     this.tabControlPanel2.SuspendLayout();
     this.panelEx3.SuspendLayout();
     this.panelEx4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.CanReorderTabs = true;
     this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControlPanel1,
         this.tabControlPanel3,
         this.tabControlPanel2
     });
     this.tabControl1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location         = new System.Drawing.Point(128, 0);
     this.tabControl1.Name             = "tabControl1";
     this.tabControl1.SelectedTabFont  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
     this.tabControl1.SelectedTabIndex = 0;
     this.tabControl1.Size             = new System.Drawing.Size(368, 286);
     this.tabControl1.TabIndex         = 0;
     this.tabControl1.TabLayoutType    = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabControl1.Tabs.Add(this.tabItem1);
     this.tabControl1.Tabs.Add(this.tabItem2);
     this.tabControl1.Tabs.Add(this.tabItem3);
     //
     // tabControlPanel1
     //
     this.tabControlPanel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox1,
         this.panelEx1
     });
     this.tabControlPanel1.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel1.DockPadding.All         = 1;
     this.tabControlPanel1.Location                = new System.Drawing.Point(0, 26);
     this.tabControlPanel1.Name                    = "tabControlPanel1";
     this.tabControlPanel1.Size                    = new System.Drawing.Size(368, 260);
     this.tabControlPanel1.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((System.Byte)(142)), ((System.Byte)(179)), ((System.Byte)(231)));
     this.tabControlPanel1.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((System.Byte)(223)), ((System.Byte)(237)), ((System.Byte)(254)));
     this.tabControlPanel1.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((System.Byte)(59)), ((System.Byte)(97)), ((System.Byte)(156)));
     this.tabControlPanel1.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
                                                      | DevComponents.DotNetBar.eBorderSide.Bottom);
     this.tabControlPanel1.Style.GradientAngle = 90;
     this.tabControlPanel1.TabIndex            = 1;
     this.tabControlPanel1.TabItem             = this.tabItem1;
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.richTextBox1.Location    = new System.Drawing.Point(1, 56);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(366, 203);
     this.richTextBox1.TabIndex    = 1;
     this.richTextBox1.Text        = "OneNote style on new tab control has 16 predefined  color styles for tabs includi" +
                                     "ng default style that is based on system colors. This sample project is 100% con" +
                                     "structed using DotNetBar design-time interface. Right-click tabs to change their" +
                                     " color.";
     this.richTextBox1.ZoomFactor = 1.199854F;
     //
     // panelEx1
     //
     this.panelEx1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.panelEx2
     });
     this.panelEx1.Dock                              = System.Windows.Forms.DockStyle.Top;
     this.panelEx1.Location                          = new System.Drawing.Point(1, 1);
     this.panelEx1.Name                              = "panelEx1";
     this.panelEx1.Size                              = new System.Drawing.Size(366, 55);
     this.panelEx1.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((System.Byte)(221)), ((System.Byte)(230)), ((System.Byte)(247)));
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle               = 90;
     this.panelEx1.TabIndex                          = 0;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Gray;
     this.label1.Location  = new System.Drawing.Point(8, 40);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(26, 14);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Title";
     //
     // panelEx2
     //
     this.panelEx2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox2
     });
     this.panelEx2.DockPadding.All                 = 6;
     this.panelEx2.Location                        = new System.Drawing.Point(8, 8);
     this.panelEx2.Name                            = "panelEx2";
     this.panelEx2.Size                            = new System.Drawing.Size(192, 32);
     this.panelEx2.Style.BackColor1.Color          = System.Drawing.Color.White;
     this.panelEx2.Style.Border                    = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.Color         = System.Drawing.Color.Gray;
     this.panelEx2.Style.BorderDashStyle           = System.Drawing.Drawing2D.DashStyle.Dash;
     this.panelEx2.Style.CornerDiameter            = 5;
     this.panelEx2.Style.CornerType                = DevComponents.DotNetBar.eCornerType.Rounded;
     this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle             = 90;
     this.panelEx2.TabIndex                        = 0;
     this.panelEx2.Text                            = "panelEx2";
     //
     // richTextBox2
     //
     this.richTextBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox2.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.richTextBox2.Location    = new System.Drawing.Point(6, 6);
     this.richTextBox2.Name        = "richTextBox2";
     this.richTextBox2.ScrollBars  = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.richTextBox2.Size        = new System.Drawing.Size(180, 20);
     this.richTextBox2.TabIndex    = 0;
     this.richTextBox2.Text        = "DotNetBar";
     //
     // tabItem1
     //
     this.tabItem1.AttachedControl = this.tabControlPanel1;
     this.tabItem1.Name            = "tabItem1";
     this.tabItem1.Text            = "&General";
     //
     // tabControlPanel3
     //
     this.tabControlPanel3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox5,
         this.panelEx5
     });
     this.tabControlPanel3.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel3.DockPadding.All         = 1;
     this.tabControlPanel3.Location                = new System.Drawing.Point(0, 26);
     this.tabControlPanel3.Name                    = "tabControlPanel3";
     this.tabControlPanel3.Size                    = new System.Drawing.Size(368, 260);
     this.tabControlPanel3.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((System.Byte)(232)), ((System.Byte)(248)), ((System.Byte)(224)));
     this.tabControlPanel3.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((System.Byte)(173)), ((System.Byte)(231)), ((System.Byte)(146)));
     this.tabControlPanel3.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((System.Byte)(59)), ((System.Byte)(97)), ((System.Byte)(156)));
     this.tabControlPanel3.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
                                                      | DevComponents.DotNetBar.eBorderSide.Bottom);
     this.tabControlPanel3.Style.GradientAngle = -90;
     this.tabControlPanel3.TabIndex            = 3;
     this.tabControlPanel3.TabItem             = this.tabItem3;
     //
     // richTextBox5
     //
     this.richTextBox5.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox5.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox5.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.richTextBox5.Location    = new System.Drawing.Point(1, 56);
     this.richTextBox5.Name        = "richTextBox5";
     this.richTextBox5.Size        = new System.Drawing.Size(366, 203);
     this.richTextBox5.TabIndex    = 3;
     this.richTextBox5.Text        = "TabStrip control implements all styling capabilities of Tab control including One" +
                                     "Note style. Take a look at modified Notepad sample for an example of TabStrip co" +
                                     "ntrol using OneNote style for MDI child for navigation.";
     this.richTextBox5.ZoomFactor = 1.199854F;
     //
     // panelEx5
     //
     this.panelEx5.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label3,
         this.panelEx6
     });
     this.panelEx5.Dock                              = System.Windows.Forms.DockStyle.Top;
     this.panelEx5.Location                          = new System.Drawing.Point(1, 1);
     this.panelEx5.Name                              = "panelEx5";
     this.panelEx5.Size                              = new System.Drawing.Size(366, 55);
     this.panelEx5.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx5.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((System.Byte)(232)), ((System.Byte)(248)), ((System.Byte)(224)));
     this.panelEx5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx5.Style.GradientAngle               = 90;
     this.panelEx5.TabIndex                          = 2;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Gray;
     this.label3.Location  = new System.Drawing.Point(8, 40);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(26, 14);
     this.label3.TabIndex  = 1;
     this.label3.Text      = "Title";
     //
     // panelEx6
     //
     this.panelEx6.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox6
     });
     this.panelEx6.DockPadding.All                 = 1;
     this.panelEx6.Location                        = new System.Drawing.Point(8, 8);
     this.panelEx6.Name                            = "panelEx6";
     this.panelEx6.Size                            = new System.Drawing.Size(192, 32);
     this.panelEx6.Style.Alignment                 = System.Drawing.StringAlignment.Center;
     this.panelEx6.Style.BackColor1.Color          = System.Drawing.Color.White;
     this.panelEx6.Style.Border                    = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx6.Style.BorderColor.Color         = System.Drawing.Color.Gray;
     this.panelEx6.Style.BorderDashStyle           = System.Drawing.Drawing2D.DashStyle.Dash;
     this.panelEx6.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx6.Style.GradientAngle             = 90;
     this.panelEx6.TabIndex                        = 0;
     this.panelEx6.Text                            = "panelEx2";
     //
     // richTextBox6
     //
     this.richTextBox6.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox6.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox6.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.richTextBox6.Location    = new System.Drawing.Point(1, 1);
     this.richTextBox6.Name        = "richTextBox6";
     this.richTextBox6.ScrollBars  = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.richTextBox6.Size        = new System.Drawing.Size(190, 30);
     this.richTextBox6.TabIndex    = 0;
     this.richTextBox6.Text        = "TabStrip Control";
     //
     // tabItem3
     //
     this.tabItem3.AttachedControl = this.tabControlPanel3;
     this.tabItem3.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(232)), ((System.Byte)(248)), ((System.Byte)(224)));
     this.tabItem3.BackColor2      = System.Drawing.Color.FromArgb(((System.Byte)(173)), ((System.Byte)(231)), ((System.Byte)(146)));
     this.tabItem3.Name            = "tabItem3";
     this.tabItem3.PredefinedColor = DevComponents.DotNetBar.eTabItemColor.Apple;
     this.tabItem3.Text            = "Project &B";
     //
     // tabControlPanel2
     //
     this.tabControlPanel2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox3,
         this.panelEx3
     });
     this.tabControlPanel2.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel2.DockPadding.All         = 1;
     this.tabControlPanel2.Location                = new System.Drawing.Point(0, 26);
     this.tabControlPanel2.Name                    = "tabControlPanel2";
     this.tabControlPanel2.Size                    = new System.Drawing.Size(368, 260);
     this.tabControlPanel2.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(244)), ((System.Byte)(213)));
     this.tabControlPanel2.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(216)), ((System.Byte)(105)));
     this.tabControlPanel2.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((System.Byte)(59)), ((System.Byte)(97)), ((System.Byte)(156)));
     this.tabControlPanel2.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
                                                      | DevComponents.DotNetBar.eBorderSide.Bottom);
     this.tabControlPanel2.Style.GradientAngle = -90;
     this.tabControlPanel2.TabIndex            = 2;
     this.tabControlPanel2.TabItem             = this.tabItem2;
     //
     // richTextBox3
     //
     this.richTextBox3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox3.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox3.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.richTextBox3.Location    = new System.Drawing.Point(1, 56);
     this.richTextBox3.Name        = "richTextBox3";
     this.richTextBox3.Size        = new System.Drawing.Size(366, 203);
     this.richTextBox3.TabIndex    = 3;
     this.richTextBox3.Text        = "The style power in tab panels comes directly from PanelEx control. PanelEx contro" +
                                     "l is a multi-functional container control with powerful visual control.";
     this.richTextBox3.ZoomFactor = 1.199854F;
     //
     // panelEx3
     //
     this.panelEx3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.panelEx4
     });
     this.panelEx3.Dock                              = System.Windows.Forms.DockStyle.Top;
     this.panelEx3.Location                          = new System.Drawing.Point(1, 1);
     this.panelEx3.Name                              = "panelEx3";
     this.panelEx3.Size                              = new System.Drawing.Size(366, 55);
     this.panelEx3.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(244)), ((System.Byte)(213)));
     this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle               = 90;
     this.panelEx3.TabIndex                          = 2;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Gray;
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(26, 14);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Title";
     //
     // panelEx4
     //
     this.panelEx4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.richTextBox4
     });
     this.panelEx4.DockPadding.All                 = 1;
     this.panelEx4.Location                        = new System.Drawing.Point(8, 8);
     this.panelEx4.Name                            = "panelEx4";
     this.panelEx4.Size                            = new System.Drawing.Size(192, 32);
     this.panelEx4.Style.Alignment                 = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.Color          = System.Drawing.Color.White;
     this.panelEx4.Style.Border                    = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx4.Style.BorderColor.Color         = System.Drawing.Color.Gray;
     this.panelEx4.Style.BorderDashStyle           = System.Drawing.Drawing2D.DashStyle.Dash;
     this.panelEx4.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx4.Style.GradientAngle             = 90;
     this.panelEx4.TabIndex                        = 0;
     this.panelEx4.Text                            = "panelEx2";
     //
     // richTextBox4
     //
     this.richTextBox4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox4.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox4.Font        = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.richTextBox4.Location    = new System.Drawing.Point(1, 1);
     this.richTextBox4.Name        = "richTextBox4";
     this.richTextBox4.ScrollBars  = System.Windows.Forms.RichTextBoxScrollBars.None;
     this.richTextBox4.Size        = new System.Drawing.Size(190, 30);
     this.richTextBox4.TabIndex    = 0;
     this.richTextBox4.Text        = "PanelEx Control";
     //
     // tabItem2
     //
     this.tabItem2.AttachedControl = this.tabControlPanel2;
     this.tabItem2.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(244)), ((System.Byte)(213)));
     this.tabItem2.BackColor2      = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(216)), ((System.Byte)(105)));
     this.tabItem2.Name            = "tabItem2";
     this.tabItem2.PredefinedColor = DevComponents.DotNetBar.eTabItemColor.Yellow;
     this.tabItem2.Text            = "Project &A";
     //
     // itemPanel1
     //
     //
     // itemPanel1.BackgroundStyle
     //
     this.itemPanel1.BackgroundStyle.BackColor         = System.Drawing.Color.White;
     this.itemPanel1.BackgroundStyle.BorderBottom      = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel1.BackgroundStyle.BorderBottomWidth = 1;
     this.itemPanel1.BackgroundStyle.BorderColor       = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(157)), ((System.Byte)(185)));
     this.itemPanel1.BackgroundStyle.BorderLeft        = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel1.BackgroundStyle.BorderLeftWidth   = 1;
     this.itemPanel1.BackgroundStyle.BorderRight       = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel1.BackgroundStyle.BorderRightWidth  = 1;
     this.itemPanel1.BackgroundStyle.BorderTop         = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel1.BackgroundStyle.BorderTopWidth    = 1;
     this.itemPanel1.BackgroundStyle.PaddingBottom     = 1;
     this.itemPanel1.BackgroundStyle.PaddingLeft       = 1;
     this.itemPanel1.BackgroundStyle.PaddingRight      = 1;
     this.itemPanel1.BackgroundStyle.PaddingTop        = 1;
     this.itemPanel1.Dock = System.Windows.Forms.DockStyle.Left;
     this.itemPanel1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel1.Name       = "itemPanel1";
     this.itemPanel1.Size       = new System.Drawing.Size(120, 286);
     this.itemPanel1.TabIndex   = 5;
     this.itemPanel1.Text       = "itemPanel1";
     this.itemPanel1.ItemClick += new System.EventHandler(this.itemPanel1_ItemClick);
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor                    = System.Drawing.Color.FromArgb(((System.Byte)(227)), ((System.Byte)(239)), ((System.Byte)(255)));
     this.expandableSplitter1.BackColor2                   = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.BackColor2SchemePart         = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart          = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.ExpandableControl            = this.itemPanel1;
     this.expandableSplitter1.ExpandFillColor              = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor              = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor                = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor               = System.Drawing.Color.FromArgb(((System.Byte)(227)), ((System.Byte)(239)), ((System.Byte)(255)));
     this.expandableSplitter1.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor                 = System.Drawing.Color.FromArgb(((System.Byte)(252)), ((System.Byte)(151)), ((System.Byte)(61)));
     this.expandableSplitter1.HotBackColor2                = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(184)), ((System.Byte)(94)));
     this.expandableSplitter1.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor           = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor           = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor             = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor            = System.Drawing.Color.FromArgb(((System.Byte)(227)), ((System.Byte)(239)), ((System.Byte)(255)));
     this.expandableSplitter1.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location = new System.Drawing.Point(120, 0);
     this.expandableSplitter1.Name     = "expandableSplitter1";
     this.expandableSplitter1.Size     = new System.Drawing.Size(8, 286);
     this.expandableSplitter1.Style    = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex = 6;
     this.expandableSplitter1.TabStop  = false;
     //
     // contextMenuBar1
     //
     this.contextMenuBar1.Location = new System.Drawing.Point(56, 240);
     this.contextMenuBar1.Name     = "contextMenuBar1";
     this.contextMenuBar1.Size     = new System.Drawing.Size(75, 25);
     this.contextMenuBar1.Style    = DevComponents.DotNetBar.eDotNetBarStyle.Office2003;
     this.contextMenuBar1.TabIndex = 7;
     this.contextMenuBar1.TabStop  = false;
     this.contextMenuBar1.Text     = "contextMenuBar1";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 286);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.contextMenuBar1,
         this.tabControl1,
         this.expandableSplitter1,
         this.itemPanel1
     });
     this.MinimumSize = new System.Drawing.Size(360, 250);
     this.Name        = "Form1";
     this.Text        = "Form1";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabControlPanel1.ResumeLayout(false);
     this.panelEx1.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.tabControlPanel3.ResumeLayout(false);
     this.panelEx5.ResumeLayout(false);
     this.panelEx6.ResumeLayout(false);
     this.tabControlPanel2.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit();
     this.ResumeLayout(false);
 }
Example #5
0
        /*
         * public void CreateWinControls(Control dockWinControl)
         * {
         * dockWinControl.SuspendLayout();
         * listWinControls.Clear();
         * string type;
         * foreach (TlControl tlControl in _clmb.listTlControls)
         * {
         * Control winControl = null;
         * type = tlControl.Type;
         *
         * if (type == "GroupBox")
         * {
         *   winControl = new GroupBox();
         *   winControl.SuspendLayout();
         *
         *   ((GroupBox)winControl).ForeColor = ((TlGroupBox)tlControl).ForeColor;
         *   ((GroupBox)winControl).Text = ((TlGroupBox)tlControl).Text;
         * }
         * else if (type == "Label")
         * {
         *   winControl = new Label();
         *
         *   ((Label)winControl).ForeColor = ((TlLabel)tlControl).ForeColor;
         *   ((Label)winControl).AutoSize = ((TlLabel)tlControl).AutoSize;
         *   ((Label)winControl).Text = ((TlLabel)tlControl).Text;
         * }
         * else if (type == "ComboBox")
         * {
         *   winControl = new ComboBox();
         *
         *   ((ComboBox)winControl).DropDownStyle = (ComboBoxStyle)((TlComboBox)tlControl).DropDownStyle;
         *   ((ComboBox)winControl).Items.AddRange(((TlComboBox)tlControl).ListItems.ToArray());
         *
         * }
         * else if (type == "TextBox")
         * {
         *   winControl = new TextBox();
         * }
         * else if (type == "Button")
         * {
         *   winControl = new Button();
         *   ((Button)winControl).Text = ((TlButton)tlControl).Text;
         * }
         * else if (type == "CheckBox")
         * {
         *   winControl = new CheckBox();
         *
         *   ((CheckBox)winControl).ForeColor = ((TlCheckBox)tlControl).ForeColor;
         *   ((CheckBox)winControl).AutoSize = ((TlCheckBox)tlControl).AutoSize;
         *   ((CheckBox)winControl).Text = ((TlCheckBox)tlControl).Text;
         * }
         * else if (type == "ListBox")
         * {
         *   winControl = new ListBox();
         * }
         * else if (type == "Panel")
         * {
         *   winControl = new Panel();
         *   winControl.SuspendLayout();
         * }
         * else if (type == "DateTimePicker")
         * {
         *   winControl = new DateTimePicker();
         *
         *   ((DateTimePicker)winControl).ShowUpDown = ((TlDateTimePicker)tlControl).ShowUpDown;
         *   ((DateTimePicker)winControl).Format = (DateTimePickerFormat)((TlDateTimePicker)tlControl).Format;
         *   ((DateTimePicker)winControl).CustomFormat = ((TlDateTimePicker)tlControl).CustomFormat;
         * }
         *
         * if (winControl != null)
         * {
         *   winControl.Name = tlControl.Name;
         *   winControl.Location = new Point(tlControl.X, tlControl.Y);
         *   winControl.Size = new Size(tlControl.Width, tlControl.Height);
         *   winControl.TabIndex = tlControl.TabIndex;
         *   winControl.Visible = tlControl.Visable;
         *   winControl.Enabled = tlControl.Enable;
         *   winControl.TabStop = tlControl.TabStop;
         *   winControl.Dock = (DockStyle)tlControl.Dock;
         *
         *   foreach (TlFont tlFont in listTlFonts)
         *   {
         *       if (tlControl.FontName == tlFont.Name)
         *       {
         *           winControl.Font = new Font(tlFont.FamilyName, tlFont.EmSize, (FontStyle)tlFont.Style);
         *           break;
         *       }
         *   }
         *
         *   listWinControls.Add(winControl);
         *
         * }
         * }
         *
         * //遍历处理控件Controls.Add();
         * foreach (Control winControl in listWinControls)
         * {
         * foreach (TlControl tlControl in _clmb.listTlControls)
         * {
         *   if (winControl.Name == tlControl.Name)
         *   {
         *       foreach (Control winParentControl in listWinControls)
         *       {
         *           if (tlControl.TlParentControl == null)
         *           {
         *               if (!dockWinControl.Controls.Contains(winControl))
         *               {
         *                   dockWinControl.Controls.Add(winControl);
         *               }
         *               break;
         *           }
         *           else if (winParentControl.Name == tlControl.TlParentControl.Name)
         *           {
         *               winParentControl.Controls.Add(winControl);
         *               break;
         *           }
         *       }
         *       break;
         *   }
         * }
         * }
         *
         *
         * foreach (Control winControl in listWinControls)
         * {
         * foreach (TlControl tlControl in _clmb.listTlControls)
         * {
         *   if (winControl.Name == tlControl.Name)
         *   {
         *       if (tlControl.Type == "Panel" || tlControl.Type == "GroupBox")
         *       {
         *           winControl.ResumeLayout(true);
         *           break;
         *       }
         *   }
         * }
         * }
         * dockWinControl.ResumeLayout(false);
         * }
         */
        #endregion

        #region 第2种实现方式, 要求:listTlControlst和listWinControls一一对应,效率更高
        public void CreateWinControls(Control dockWinControl)
        {
            //dockWinControl.SuspendLayout();
            listWinControls.Clear();
            string type;

            for (int i = 0; i < _clmb.listTlControls.Count; i++)
            {
                Control winControl = null;
                type = _clmb.listTlControls[i].Type;

                if (type == "GroupBox")
                {
                    winControl = new GroupBox();
                    //winControl.SuspendLayout();

                    ((GroupBox)winControl).ForeColor = ((TlGroupBox)_clmb.listTlControls[i]).ForeColor;
                    // ((GroupBox)winControl).Text = ((TlGroupBox)_clmb.listTlControls[i]).Text;
                }
                else if (type == "Label")
                {
                    winControl = new Label();

                    ((Label)winControl).ForeColor = ((TlLabel)_clmb.listTlControls[i]).ForeColor;
                    ((Label)winControl).AutoSize  = ((TlLabel)_clmb.listTlControls[i]).AutoSize;
                    // ((Label)winControl).Text = ((TlLabel)_clmb.listTlControls[i]).Text;
                }
                else if (type == "ComboBox")
                {
                    winControl = new ComboBox();

                    ((ComboBox)winControl).DropDownStyle = (ComboBoxStyle)((TlComboBox)_clmb.listTlControls[i]).DropDownStyle;
                    ((ComboBox)winControl).Items.AddRange(((TlComboBox)_clmb.listTlControls[i]).ListItems.ToArray());

                    if (_clmb.listTlControls[i].DicEvents.ContainsKey("SelectedIndexChanged"))
                    {
                        ((ComboBox)winControl).SelectedIndexChanged += new EventHandler(controlEvent_SelectedIndexChanged);
                    }
                }
                else if (type == "TextBox")
                {
                    winControl = new TextBox();
                }
                else if (type == "Button")
                {
                    winControl = new Button();
                }
                else if (type == "ButtonX")
                {
                    winControl = new DevComponents.DotNetBar.ButtonX();

                    if (((TlButtonX)_clmb.listTlControls[i]).Image != "")
                    {
                        ((DevComponents.DotNetBar.ButtonX)winControl).Image = (System.Drawing.Bitmap)(global::TempertureEditor.Properties.Resources.ResourceManager.GetObject(((TlButtonX)_clmb.listTlControls[i]).Image, global::TempertureEditor.Properties.Resources.Culture));
                    }

                    ((DevComponents.DotNetBar.ButtonX)winControl).AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
                    ((DevComponents.DotNetBar.ButtonX)winControl).ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
                }
                else if (type == "PrintPreviewControl")
                {
                    winControl = new PrintPreviewControl();

                    ((PrintPreviewControl)winControl).UseAntiAlias = true;
                    ((PrintPreviewControl)winControl).AutoZoom     = false;
                    ((PrintPreviewControl)winControl).Zoom         = 1D;
                }
                else if (type == "CheckBox")
                {
                    winControl = new CheckBox();

                    ((CheckBox)winControl).ForeColor = ((TlCheckBox)_clmb.listTlControls[i]).ForeColor;
                    ((CheckBox)winControl).AutoSize  = ((TlCheckBox)_clmb.listTlControls[i]).AutoSize;
                    ((CheckBox)winControl).Text      = ((TlCheckBox)_clmb.listTlControls[i]).Text;
                    ((CheckBox)winControl).Checked   = ((TlCheckBox)_clmb.listTlControls[i]).Checked;

                    ((CheckBox)winControl).CheckedChanged    += new EventHandler(controlEvent_CheckedChanged);
                    ((CheckBox)winControl).CheckStateChanged += new EventHandler(controlEvent_CheckStateChanged);
                }
                else if (type == "RadioButton")
                {
                    winControl = new RadioButton();

                    ((RadioButton)winControl).ForeColor = ((TlRadioButton)_clmb.listTlControls[i]).ForeColor;
                    ((RadioButton)winControl).AutoSize  = ((TlRadioButton)_clmb.listTlControls[i]).AutoSize;
                    // ((RadioButton)winControl).Text = ((TlRadioButton)_clmb.listTlControls[i]).Text;
                    ((RadioButton)winControl).UseVisualStyleBackColor = ((TlRadioButton)_clmb.listTlControls[i]).UseVisualStyleBackColor;
                    ((RadioButton)winControl).Checked = ((TlRadioButton)_clmb.listTlControls[i]).Checked;

                    ((RadioButton)winControl).CheckedChanged += new EventHandler(controlEvent_CheckedChanged);
                }
                else if (type == "ListBox")
                {
                    winControl = new ListBox();
                }
                else if (type == "Panel" || type == "PanelControl" || type == "GroupPanel")
                {
                    if (type == "Panel")
                    {
                        winControl = new Panel();
                    }
                    else
                    {
                        if (type == "PanelControl")
                        {
                            winControl = new PanelControl();
                        }
                        else
                        {
                            if (type == "GroupPanel")
                            {
                                winControl = new GroupPanel();
                            }
                            else
                            {
                            }
                        }
                        #region 未实现配置样式
                        ((PanelControl)winControl).Style.BackColor2SchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
                        ((PanelControl)winControl).Style.BackColorGradientAngle = 90;
                        ((PanelControl)winControl).Style.BackColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
                        ((PanelControl)winControl).Style.BorderBottom           = DevComponents.DotNetBar.eStyleBorderType.Solid;
                        ((PanelControl)winControl).Style.BorderBottomWidth      = 1;
                        ((PanelControl)winControl).Style.BorderColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
                        ((PanelControl)winControl).Style.BorderLeft             = DevComponents.DotNetBar.eStyleBorderType.Solid;
                        ((PanelControl)winControl).Style.BorderLeftWidth        = 1;
                        ((PanelControl)winControl).Style.BorderRight            = DevComponents.DotNetBar.eStyleBorderType.Solid;
                        ((PanelControl)winControl).Style.BorderRightWidth       = 1;
                        ((PanelControl)winControl).Style.BorderTop           = DevComponents.DotNetBar.eStyleBorderType.Solid;
                        ((PanelControl)winControl).Style.BorderTopWidth      = 1;
                        ((PanelControl)winControl).Style.CornerDiameter      = 4;
                        ((PanelControl)winControl).Style.CornerType          = DevComponents.DotNetBar.eCornerType.Rounded;
                        ((PanelControl)winControl).Style.TextAlignment       = DevComponents.DotNetBar.eStyleTextAlignment.Center;
                        ((PanelControl)winControl).Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
                        ((PanelControl)winControl).Style.TextLineAlignment   = DevComponents.DotNetBar.eStyleTextAlignment.Near;
                        ((PanelControl)winControl).StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
                        ((PanelControl)winControl).StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
                        #endregion

                        ((PanelControl)winControl).ShowFocusRectangle = ((TlPanelControl)_clmb.listTlControls[i]).ShowFocusRectangle;
                        ((PanelControl)winControl).ColorSchemeStyle   = (eDotNetBarStyle)((TlPanelControl)_clmb.listTlControls[i]).ColorSchemeStyle;
                        ((PanelControl)winControl).CanvasColor        = ((TlPanelControl)_clmb.listTlControls[i]).CanvasColor;
                    }
                    ((Panel)winControl).AutoScroll = ((TlPanel)_clmb.listTlControls[i]).AutoScroll;
                }
                else if (type == "DateTimePicker")
                {
                    winControl = new DateTimePicker();

                    ((DateTimePicker)winControl).ShowUpDown   = ((TlDateTimePicker)_clmb.listTlControls[i]).ShowUpDown;
                    ((DateTimePicker)winControl).Format       = (DateTimePickerFormat)((TlDateTimePicker)_clmb.listTlControls[i]).Format;
                    ((DateTimePicker)winControl).CustomFormat = ((TlDateTimePicker)_clmb.listTlControls[i]).CustomFormat;

                    if (_clmb.listTlControls[i].DicEvents.ContainsKey("ValueChanged"))
                    {
                        ((DateTimePicker)winControl).ValueChanged += new EventHandler(controlEvent_ValueChanged);
                    }
                }
                else if (type == "PictureBox")
                {
                    winControl = new PictureBox();
                    ((PictureBox)winControl).BackColor = ((TlPictureBox)_clmb.listTlControls[i]).BackColor;
                }
                else if (type == "ExpandableSplitter")
                {
                    winControl = new DevComponents.DotNetBar.ExpandableSplitter();
                    ((DevComponents.DotNetBar.ExpandableSplitter)winControl).Style = (DevComponents.DotNetBar.eSplitterStyle)((TlExpandableSplitter)_clmb.listTlControls[i]).Style;
                }
                else if (type == "AdvTree")
                {
                    winControl = new DevComponents.AdvTree.AdvTree();
                    ((DevComponents.AdvTree.AdvTree)winControl).ForeColor = ((TlAdvTree)_clmb.listTlControls[i]).ForeColor;
                    ((DevComponents.AdvTree.AdvTree)winControl).AllowDrop = ((TlAdvTree)_clmb.listTlControls[i]).AllowDrop;

                    ((DevComponents.AdvTree.AdvTree)winControl).AccessibleRole             = System.Windows.Forms.AccessibleRole.Outline;
                    ((DevComponents.AdvTree.AdvTree)winControl).BackgroundStyle.Class      = "TreeBorderKey";
                    ((DevComponents.AdvTree.AdvTree)winControl).BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
                    ((DevComponents.AdvTree.AdvTree)winControl).NodeSpacing   = 2;
                    ((DevComponents.AdvTree.AdvTree)winControl).PathSeparator = ";";
                }
                else if (type == "Slider")
                {
                    winControl = new DevComponents.DotNetBar.Controls.Slider();
                    ((DevComponents.DotNetBar.Controls.Slider)winControl).Minimum = ((TlSlider)_clmb.listTlControls[i]).Minimum;
                    ((DevComponents.DotNetBar.Controls.Slider)winControl).Maximum = ((TlSlider)_clmb.listTlControls[i]).Maximum;
                    ((DevComponents.DotNetBar.Controls.Slider)winControl).Value   = ((TlSlider)_clmb.listTlControls[i]).Value;

                    ((DevComponents.DotNetBar.Controls.Slider)winControl).BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
                    ((DevComponents.DotNetBar.Controls.Slider)winControl).Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
                }
                else if (type == "ucAiTemperature")
                {
                    winControl = new ucAiTemperature(((TlAiTemperature)_clmb.listTlControls[i]).ClmbFileName);
                }

                /*
                 * else if (type == "ucTemperatureFrame")
                 * {
                 *  winControl = new ucTemperatureFrame(((TlAiTemperature)_clmb.listTlControls[i]).ClmbFileName);
                 * }
                 */
                else if (type == "ucTemperatureReport")
                {
                    winControl = new ucTemperatureReport(((TlTemperatureReport)_clmb.listTlControls[i]).TmbFileName);
                }
                else if (type == "RibbonBar")
                {
                    winControl = new RibbonBar();
                    ((RibbonBar)winControl).Style               = (eDotNetBarStyle)((TlRibbonBar)_clmb.listTlControls[i]).Style;
                    ((RibbonBar)winControl).TitleVisible        = ((TlRibbonBar)_clmb.listTlControls[i]).TitleVisible;
                    ((RibbonBar)winControl).AutoOverflowEnabled = ((TlRibbonBar)_clmb.listTlControls[i]).AutoOverflowEnabled;
                    ((RibbonBar)winControl).ContainerControlProcessDialogKey = ((TlRibbonBar)_clmb.listTlControls[i]).ContainerControlProcessDialogKey;
                }

                if (winControl != null)
                {
                    if (_clmb.listTlControls[i].BackColor != null)
                    {
                        winControl.BackColor = (Color)_clmb.listTlControls[i].BackColor;
                    }
                    winControl.Name     = _clmb.listTlControls[i].Name;
                    winControl.Location = new Point(_clmb.listTlControls[i].X, _clmb.listTlControls[i].Y);
                    winControl.Size     = new Size(_clmb.listTlControls[i].Width, _clmb.listTlControls[i].Height);
                    winControl.TabIndex = _clmb.listTlControls[i].TabIndex;
                    winControl.Visible  = _clmb.listTlControls[i].Visable;
                    winControl.Enabled  = _clmb.listTlControls[i].Enable;
                    winControl.TabStop  = _clmb.listTlControls[i].TabStop;
                    foreach (TlFont tlFont in _clmb.listTlFonts)
                    {
                        if (_clmb.listTlControls[i].FontName == tlFont.Name)
                        {
                            winControl.Font = new Font(tlFont.FamilyName, tlFont.EmSize, (FontStyle)tlFont.Style);
                            break;
                        }
                    }
                    winControl.Dock = (DockStyle)_clmb.listTlControls[i].Dock;
                    winControl.Text = _clmb.listTlControls[i].Text;

                    // 注: 不能使用if/else,因为同个控件可能要处理多个事件
                    if (_clmb.listTlControls[i].DicEvents.ContainsKey("Click"))
                    {
                        winControl.Click += new EventHandler(controlEvent_Click);
                    }

                    if (_clmb.listTlControls[i].DicEvents.ContainsKey("TextChanged"))
                    {
                        winControl.TextChanged += new EventHandler(controlEvent_TextChanged);
                    }

                    if (_clmb.listTlControls[i].DicEvents.ContainsKey("SizeChanged"))
                    {
                        winControl.SizeChanged += new EventHandler(controlEvent_SizeChanged);
                    }


                    listWinControls.Add(winControl);
                }
            }

            //特殊类型处理,需在所有控件创建后处理
            for (int i = 0; i < _clmb.listTlControls.Count; i++)
            {
                if (_clmb.listTlControls[i].Type == "ExpandableSplitter")
                {
                    ((DevComponents.DotNetBar.ExpandableSplitter)listWinControls[i]).ExpandableControl = listWinControls.Find(cl => cl.Name == ((TlExpandableSplitter)_clmb.listTlControls[i]).ExpandableControl); //等同以下注释代码功能

                    /*
                     * foreach (Control tmpControl in listWinControls)
                     * {
                     *  if (tmpControl.Name == ((TlExpandableSplitter)_clmb.listTlControls[i]).ExpandableControl)
                     *  {
                     *      ((DevComponents.DotNetBar.ExpandableSplitter)listWinControls[i]).ExpandableControl = tmpControl;
                     *      break;
                     *  }
                     * }
                     */
                }

                /*
                 * if (_clmb.listTlControls[i].Type == "RibbonBar")
                 * {
                 *  foreach (string itemName in ((TlRibbonBar)_clmb.listTlControls[i]).ListItems)
                 *  {
                 *      Control findControl = listWinControls.Find(cl => cl.Name == itemName);
                 *      if (findControl != null)
                 *      {
                 *        //  ((RibbonBar)listWinControls[i]).Items.Add((BaseItem)findControl);
                 *
                 *
                 *       }
                 *  }
                 * }
                 */
            }
            //遍历处理控件Controls.Add(); 当同一DockStyle时,如都为DockStyle.Top时,倒序Add才能按配置文件的正序展示
            for (int i = listWinControls.Count - 1; i >= 0; i--)
            {
                Control winControl = listWinControls[i];

                if (_clmb.listTlControls[i].TlParentControl == null)
                {
                    if (!dockWinControl.Controls.Contains(winControl))
                    {
                        dockWinControl.Controls.Add(winControl);
                    }
                }
                else
                {
                    foreach (Control winParentControl in listWinControls)
                    {
                        if (winParentControl.Name == _clmb.listTlControls[i].TlParentControl.Name)
                        {
                            winParentControl.Controls.Add(winControl);
                            break;
                        }
                    }
                }
            }

            /*
             * for (int i = listWinControls.Count - 1; i >= 0 ; i--)
             * {
             *  Control winControl = listWinControls[i];
             *  if (_clmb.listTlControls[i].Type == "Panel" || _clmb.listTlControls[i].Type == "GroupBox")
             *  {
             *      winControl.ResumeLayout(true);
             *      break;
             *  }
             * }
             */
            //dockWinControl.ResumeLayout(false);
        }
Example #6
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.sideBar1            = new DevComponents.DotNetBar.SideBar();
     this.sideBarPanelItem1   = new DevComponents.DotNetBar.SideBarPanelItem();
     this.bInbox              = new DevComponents.DotNetBar.ButtonItem();
     this.bCalendar           = new DevComponents.DotNetBar.ButtonItem();
     this.bContacts           = new DevComponents.DotNetBar.ButtonItem();
     this.bTasks              = new DevComponents.DotNetBar.ButtonItem();
     this.bNotes              = new DevComponents.DotNetBar.ButtonItem();
     this.bDeletedItems       = new DevComponents.DotNetBar.ButtonItem();
     this.imagesSmall         = new System.Windows.Forms.ImageList(this.components);
     this.imagesMedium        = new System.Windows.Forms.ImageList(this.components);
     this.sideBarPanelItem2   = new DevComponents.DotNetBar.SideBarPanelItem();
     this.bDrafts             = new DevComponents.DotNetBar.ButtonItem();
     this.bOutbox             = new DevComponents.DotNetBar.ButtonItem();
     this.bSentItems          = new DevComponents.DotNetBar.ButtonItem();
     this.bJournal            = new DevComponents.DotNetBar.ButtonItem();
     this.bUpdate             = new DevComponents.DotNetBar.ButtonItem();
     this.panel1              = new System.Windows.Forms.Panel();
     this.label2              = new System.Windows.Forms.Label();
     this.listView1           = new System.Windows.Forms.ListView();
     this.textBox1            = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.label1              = new System.Windows.Forms.Label();
     this.checkBox1           = new System.Windows.Forms.CheckBox();
     this.contextMenuBar1     = new DevComponents.DotNetBar.ContextMenuBar();
     this.bContextMenu        = new DevComponents.DotNetBar.ButtonItem();
     this.bLargeIcons         = new DevComponents.DotNetBar.ButtonItem();
     this.bSmallIcons         = new DevComponents.DotNetBar.ButtonItem();
     this.bRemoveItem         = new DevComponents.DotNetBar.ButtonItem();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).BeginInit();
     this.SuspendLayout();
     //
     // sideBar1
     //
     this.sideBar1.AccessibleRole    = System.Windows.Forms.AccessibleRole.ToolBar;
     this.sideBar1.AllowDrop         = true;
     this.sideBar1.AllowExternalDrop = true;
     this.sideBar1.BorderStyle       = DevComponents.DotNetBar.eBorderType.None;
     this.contextMenuBar1.SetContextMenuEx(this.sideBar1, this.bContextMenu);
     this.sideBar1.Dock          = System.Windows.Forms.DockStyle.Left;
     this.sideBar1.ExpandedPanel = this.sideBarPanelItem1;
     this.sideBar1.Font          = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.sideBar1.Images        = this.imagesSmall;
     this.sideBar1.ImagesMedium  = this.imagesMedium;
     this.sideBar1.Name          = "sideBar1";
     this.sideBar1.Panels.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.sideBarPanelItem1,
         this.sideBarPanelItem2
     });
     this.sideBar1.Size              = new System.Drawing.Size(112, 254);
     this.sideBar1.Style             = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.sideBar1.TabIndex          = 0;
     this.sideBar1.TabStop           = false;
     this.sideBar1.UseNativeDragDrop = true;
     this.sideBar1.ItemClick        += new System.EventHandler(this.sideBar1_ItemClick);
     this.sideBar1.MouseDown        += new System.Windows.Forms.MouseEventHandler(this.sideBar1_MouseDown);
     //
     // sideBarPanelItem1
     //
     this.sideBarPanelItem1.FontBold      = true;
     this.sideBarPanelItem1.ItemImageSize = DevComponents.DotNetBar.eBarImageSize.Medium;
     this.sideBarPanelItem1.Name          = "sideBarPanelItem1";
     this.sideBarPanelItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.bInbox,
         this.bCalendar,
         this.bContacts,
         this.bTasks,
         this.bNotes,
         this.bDeletedItems
     });
     this.sideBarPanelItem1.Text = "SideBar Panel";
     //
     // bInbox
     //
     this.bInbox.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bInbox.ImageIndex             = 0;
     this.bInbox.ImagePaddingHorizontal = 8;
     this.bInbox.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bInbox.Name      = "bInbox";
     this.bInbox.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bInbox.Text      = "Inbox";
     this.bInbox.Tooltip   = "Opens your Inbox";
     //
     // bCalendar
     //
     this.bCalendar.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bCalendar.ImageIndex             = 1;
     this.bCalendar.ImagePaddingHorizontal = 8;
     this.bCalendar.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bCalendar.Name      = "bCalendar";
     this.bCalendar.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bCalendar.Text      = "Calendar";
     this.bCalendar.Tooltip   = "Shows your Calendar";
     //
     // bContacts
     //
     this.bContacts.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bContacts.ImageIndex             = 2;
     this.bContacts.ImagePaddingHorizontal = 8;
     this.bContacts.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bContacts.Name      = "bContacts";
     this.bContacts.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bContacts.Text      = "Contacts";
     this.bContacts.Tooltip   = "Opens your Contacts";
     //
     // bTasks
     //
     this.bTasks.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bTasks.ImageIndex             = 3;
     this.bTasks.ImagePaddingHorizontal = 8;
     this.bTasks.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bTasks.Name      = "bTasks";
     this.bTasks.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bTasks.Text      = "Tasks";
     this.bTasks.Tooltip   = "Shows your Tasks";
     //
     // bNotes
     //
     this.bNotes.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bNotes.ImageIndex             = 4;
     this.bNotes.ImagePaddingHorizontal = 8;
     this.bNotes.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bNotes.Name      = "bNotes";
     this.bNotes.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bNotes.Text      = "Notes";
     this.bNotes.Tooltip   = "Shows your Notes";
     //
     // bDeletedItems
     //
     this.bDeletedItems.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bDeletedItems.ImageIndex             = 5;
     this.bDeletedItems.ImagePaddingHorizontal = 8;
     this.bDeletedItems.ImagePosition          = DevComponents.DotNetBar.eImagePosition.Top;
     this.bDeletedItems.Name      = "bDeletedItems";
     this.bDeletedItems.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bDeletedItems.Text      = "Deleted Items";
     this.bDeletedItems.Tooltip   = "Shows Deleted Items";
     //
     // imagesSmall
     //
     this.imagesSmall.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imagesSmall.ImageSize        = new System.Drawing.Size(16, 16);
     this.imagesSmall.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imagesSmall.ImageStream")));
     this.imagesSmall.TransparentColor = System.Drawing.Color.Transparent;
     //
     // imagesMedium
     //
     this.imagesMedium.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imagesMedium.ImageSize        = new System.Drawing.Size(32, 32);
     this.imagesMedium.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imagesMedium.ImageStream")));
     this.imagesMedium.TransparentColor = System.Drawing.Color.Transparent;
     //
     // sideBarPanelItem2
     //
     this.sideBarPanelItem2.FontBold = true;
     this.sideBarPanelItem2.Name     = "sideBarPanelItem2";
     this.sideBarPanelItem2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.bDrafts,
         this.bOutbox,
         this.bSentItems,
         this.bJournal,
         this.bUpdate
     });
     this.sideBarPanelItem2.Text = "My Shortcuts";
     //
     // bDrafts
     //
     this.bDrafts.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bDrafts.ImageIndex             = 6;
     this.bDrafts.ImagePaddingHorizontal = 8;
     this.bDrafts.Name      = "bDrafts";
     this.bDrafts.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bDrafts.Text      = "Drafts";
     this.bDrafts.Tooltip   = "Shows Document Drafts ";
     //
     // bOutbox
     //
     this.bOutbox.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bOutbox.ImageIndex             = 7;
     this.bOutbox.ImagePaddingHorizontal = 8;
     this.bOutbox.Name      = "bOutbox";
     this.bOutbox.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bOutbox.Text      = "Outbox";
     this.bOutbox.Tooltip   = "Open Outbox Folder";
     //
     // bSentItems
     //
     this.bSentItems.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bSentItems.ImageIndex             = 8;
     this.bSentItems.ImagePaddingHorizontal = 8;
     this.bSentItems.Name      = "bSentItems";
     this.bSentItems.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bSentItems.Text      = "Sent Items";
     this.bSentItems.Tooltip   = "Open Sent Items Folder";
     //
     // bJournal
     //
     this.bJournal.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bJournal.ImageIndex             = 9;
     this.bJournal.ImagePaddingHorizontal = 8;
     this.bJournal.Name      = "bJournal";
     this.bJournal.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bJournal.Text      = "Journal";
     this.bJournal.Tooltip   = "Open the Journal";
     //
     // bUpdate
     //
     this.bUpdate.ButtonStyle            = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.bUpdate.ImageIndex             = 10;
     this.bUpdate.ImagePaddingHorizontal = 8;
     this.bUpdate.Name      = "bUpdate";
     this.bUpdate.PopupSide = DevComponents.DotNetBar.ePopupSide.Left;
     this.bUpdate.Text      = "Update";
     this.bUpdate.Tooltip   = "Download software update...";
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.listView1,
         this.textBox1,
         this.label1,
         this.checkBox1,
         this.contextMenuBar1
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(112, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(265, 254);
     this.panel1.TabIndex = 3;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(72, 64);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(176, 24);
     this.label2.TabIndex = 4;
     this.label2.Text     = "You can drag && drop items from and to the ListView";
     //
     // listView1
     //
     this.listView1.AllowDrop      = true;
     this.listView1.BorderStyle    = System.Windows.Forms.BorderStyle.None;
     this.listView1.HideSelection  = false;
     this.listView1.LabelEdit      = true;
     this.listView1.LargeImageList = this.imagesMedium;
     this.listView1.Location       = new System.Drawing.Point(72, 96);
     this.listView1.Name           = "listView1";
     this.listView1.Size           = new System.Drawing.Size(176, 112);
     this.listView1.SmallImageList = this.imagesSmall;
     this.listView1.TabIndex       = 3;
     this.listView1.DragDrop      += new System.Windows.Forms.DragEventHandler(this.listView1_DragDrop);
     this.listView1.DragEnter     += new System.Windows.Forms.DragEventHandler(this.listView1_DragEnter);
     this.listView1.MouseMove     += new System.Windows.Forms.MouseEventHandler(this.listView1_MouseMove);
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                             | System.Windows.Forms.AnchorStyles.Right);
     this.textBox1.AutoSize = false;
     //
     // textBox1.Border
     //
     this.textBox1.Border.Class = "TextBoxBorder";
     this.textBox1.Location     = new System.Drawing.Point(12, 30);
     this.textBox1.Name         = "textBox1";
     this.textBox1.Size         = new System.Drawing.Size(235, 20);
     this.textBox1.TabIndex     = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(81, 14);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Item Clicked:";
     //
     // checkBox1
     //
     this.checkBox1.Location        = new System.Drawing.Point(8, 224);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(128, 24);
     this.checkBox1.TabIndex        = 8;
     this.checkBox1.Text            = "Multi-Column Layout";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // contextMenuBar1
     //
     this.contextMenuBar1.DockSide = DevComponents.DotNetBar.eDockSide.Document;
     this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.bContextMenu
     });
     this.contextMenuBar1.Location   = new System.Drawing.Point(136, 224);
     this.contextMenuBar1.Name       = "contextMenuBar1";
     this.contextMenuBar1.Size       = new System.Drawing.Size(96, 25);
     this.contextMenuBar1.Style      = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.contextMenuBar1.TabIndex   = 12;
     this.contextMenuBar1.TabStop    = false;
     this.contextMenuBar1.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.contextMenuBar1_PopupOpen);
     //
     // bContextMenu
     //
     this.bContextMenu.AutoExpandOnClick      = true;
     this.bContextMenu.GlobalName             = "bContextMenu";
     this.bContextMenu.ImagePaddingHorizontal = 8;
     this.bContextMenu.Name = "bContextMenu";
     this.bContextMenu.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.bLargeIcons,
         this.bSmallIcons,
         this.bRemoveItem
     });
     this.bContextMenu.Text = "bContextMenu";
     //
     // bLargeIcons
     //
     this.bLargeIcons.GlobalName             = "bLargeIcons";
     this.bLargeIcons.Image                  = ((System.Drawing.Bitmap)(resources.GetObject("bLargeIcons.Image")));
     this.bLargeIcons.ImagePaddingHorizontal = 8;
     this.bLargeIcons.Name   = "bLargeIcons";
     this.bLargeIcons.Text   = "Large Icons";
     this.bLargeIcons.Click += new System.EventHandler(this.bLargeIcons_Click);
     //
     // bSmallIcons
     //
     this.bSmallIcons.GlobalName             = "bSmallIcons";
     this.bSmallIcons.Image                  = ((System.Drawing.Bitmap)(resources.GetObject("bSmallIcons.Image")));
     this.bSmallIcons.ImagePaddingHorizontal = 8;
     this.bSmallIcons.Name   = "bSmallIcons";
     this.bSmallIcons.Text   = "Small Icons";
     this.bSmallIcons.Click += new System.EventHandler(this.bSmallIcons_Click);
     //
     // bRemoveItem
     //
     this.bRemoveItem.GlobalName             = "bRemoveItem";
     this.bRemoveItem.ImagePaddingHorizontal = 8;
     this.bRemoveItem.Name   = "bRemoveItem";
     this.bRemoveItem.Text   = "Remove Item";
     this.bRemoveItem.Click += new System.EventHandler(this.bRemoveItem_Click);
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor2                   = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.BackColor2SchemePart         = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart          = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.ExpandableControl            = this.sideBar1;
     this.expandableSplitter1.ExpandFillColor              = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.ExpandFillColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor              = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.ExpandLineColorSchemePart    = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor                = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.GripDarkColorSchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor               = System.Drawing.Color.FromArgb(((System.Byte)(227)), ((System.Byte)(239)), ((System.Byte)(255)));
     this.expandableSplitter1.GripLightColorSchemePart     = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor                 = System.Drawing.Color.FromArgb(((System.Byte)(252)), ((System.Byte)(151)), ((System.Byte)(61)));
     this.expandableSplitter1.HotBackColor2                = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(184)), ((System.Byte)(94)));
     this.expandableSplitter1.HotBackColor2SchemePart      = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart       = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor           = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor           = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor             = System.Drawing.Color.FromArgb(((System.Byte)(101)), ((System.Byte)(147)), ((System.Byte)(207)));
     this.expandableSplitter1.HotGripDarkColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor            = System.Drawing.Color.FromArgb(((System.Byte)(227)), ((System.Byte)(239)), ((System.Byte)(255)));
     this.expandableSplitter1.HotGripLightColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location = new System.Drawing.Point(112, 0);
     this.expandableSplitter1.Name     = "expandableSplitter1";
     this.expandableSplitter1.Size     = new System.Drawing.Size(8, 254);
     this.expandableSplitter1.Style    = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex = 14;
     this.expandableSplitter1.TabStop  = false;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(194)), ((System.Byte)(217)), ((System.Byte)(247)));
     this.ClientSize        = new System.Drawing.Size(377, 254);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.expandableSplitter1,
         this.panel1,
         this.sideBar1
     });
     this.Name = "Form1";
     this.Text = "Form1";
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar1)).EndInit();
     this.ResumeLayout(false);
 }
Example #7
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panel2 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.tabContent = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.splClass = new DevComponents.DotNetBar.ExpandableSplitter();
     this.pnlWhomLPView = new System.Windows.Forms.Panel();
     this.tabClassCalendar = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanelClass = new DevComponents.DotNetBar.TabControlPanel();
     this.tabItemClass = new DevComponents.DotNetBar.TabItem(this.components);
     this.pnlWhomList = new System.Windows.Forms.Panel();
     this.panel10 = new System.Windows.Forms.Panel();
     this.grdClassCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.colClassStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn70 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn71 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn78 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colSubject = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn80 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn73 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn74 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel3 = new System.Windows.Forms.Panel();
     this.labelX6 = new DevComponents.DotNetBar.LabelX();
     this.lblClass = new DevComponents.DotNetBar.LabelX();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.btnClassEventExpand = new DevComponents.DotNetBar.ButtonX();
     this.tabClass = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.pnlWhoList = new System.Windows.Forms.Panel();
     this.grdTeacherCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colSolutionCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colWeekDay = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colPeriodNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colSubjectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colCourseName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colLength = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.colWhoName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel5 = new System.Windows.Forms.Panel();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.lblTeacher = new DevComponents.DotNetBar.LabelX();
     this.btnTeacherEventExpand = new DevComponents.DotNetBar.ButtonX();
     this.splTeacher = new DevComponents.DotNetBar.ExpandableSplitter();
     this.pnlWhoLPView = new System.Windows.Forms.Panel();
     this.tabTeacherCalendar = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanelTeacher = new DevComponents.DotNetBar.TabControlPanel();
     this.tabItemTeacher = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabTeacher = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.superTabControlPanel8 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.pnlWhereList = new System.Windows.Forms.Panel();
     this.panel15 = new System.Windows.Forms.Panel();
     this.grdPlaceCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel16 = new System.Windows.Forms.Panel();
     this.lblClassroom = new DevComponents.DotNetBar.LabelX();
     this.labelX12 = new DevComponents.DotNetBar.LabelX();
     this.labelX13 = new DevComponents.DotNetBar.LabelX();
     this.btnClassroomEventExpand = new DevComponents.DotNetBar.ButtonX();
     this.splClassroom = new DevComponents.DotNetBar.ExpandableSplitter();
     this.pnlWhereLPView = new System.Windows.Forms.Panel();
     this.tabClassroomCalendar = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanelClassroom = new DevComponents.DotNetBar.TabControlPanel();
     this.tabItem4 = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabClassroom = new DevComponents.DotNetBar.SuperTabItem();
     this.tabPlace = new DevComponents.DotNetBar.SuperTabItem();
     this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.LeftNavigationPanel = new DevComponents.DotNetBar.NavigationPane();
     this.pnlTeacher = new DevComponents.DotNetBar.NavigationPanePanel();
     this.btnTeacher = new DevComponents.DotNetBar.ButtonItem();
     this.pnlClassroom = new DevComponents.DotNetBar.NavigationPanePanel();
     this.pnlClass = new DevComponents.DotNetBar.NavigationPanePanel();
     this.btnClass = new DevComponents.DotNetBar.ButtonItem();
     this.pnlPlace = new DevComponents.DotNetBar.NavigationPanePanel();
     this.btnClassroom = new DevComponents.DotNetBar.ButtonItem();
     this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panel12 = new System.Windows.Forms.Panel();
     this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel13 = new System.Windows.Forms.Panel();
     this.labelX9 = new DevComponents.DotNetBar.LabelX();
     this.labelX10 = new DevComponents.DotNetBar.LabelX();
     this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
     this.expandableSplitter3 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panel14 = new System.Windows.Forms.Panel();
     this.tabControl2 = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
     this.tabItem2 = new DevComponents.DotNetBar.TabItem(this.components);
     this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel7 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.panel7 = new System.Windows.Forms.Panel();
     this.tabControl1 = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
     this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components);
     this.panel8 = new System.Windows.Forms.Panel();
     this.panel9 = new System.Windows.Forms.Panel();
     this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel11 = new System.Windows.Forms.Panel();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.labelX5 = new DevComponents.DotNetBar.LabelX();
     this.labelX7 = new DevComponents.DotNetBar.LabelX();
     this.labelX8 = new DevComponents.DotNetBar.LabelX();
     this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
     this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem();
     this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter();
     this.navigationPane1 = new DevComponents.DotNetBar.NavigationPane();
     this.navigationPanePanel1 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.ContentPanePanel.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabContent)).BeginInit();
     this.tabContent.SuspendLayout();
     this.superTabControlPanel2.SuspendLayout();
     this.pnlWhomLPView.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabClassCalendar)).BeginInit();
     this.tabClassCalendar.SuspendLayout();
     this.pnlWhomList.SuspendLayout();
     this.panel10.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdClassCalendar)).BeginInit();
     this.panel3.SuspendLayout();
     this.superTabControlPanel1.SuspendLayout();
     this.pnlWhoList.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdTeacherCalendar)).BeginInit();
     this.panel5.SuspendLayout();
     this.pnlWhoLPView.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabTeacherCalendar)).BeginInit();
     this.tabTeacherCalendar.SuspendLayout();
     this.superTabControlPanel4.SuspendLayout();
     this.superTabControlPanel8.SuspendLayout();
     this.pnlWhereList.SuspendLayout();
     this.panel15.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grdPlaceCalendar)).BeginInit();
     this.panel16.SuspendLayout();
     this.pnlWhereLPView.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabClassroomCalendar)).BeginInit();
     this.tabClassroomCalendar.SuspendLayout();
     this.LeftNavigationPanel.SuspendLayout();
     this.panel6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
     this.superTabControl1.SuspendLayout();
     this.superTabControlPanel6.SuspendLayout();
     this.panel12.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit();
     this.panel13.SuspendLayout();
     this.panel14.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).BeginInit();
     this.tabControl2.SuspendLayout();
     this.superTabControlPanel5.SuspendLayout();
     this.panel7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.panel8.SuspendLayout();
     this.panel9.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit();
     this.panel11.SuspendLayout();
     this.navigationPane1.SuspendLayout();
     this.SuspendLayout();
     //
     // ContentPanePanel
     //
     this.ContentPanePanel.Controls.Add(this.panel2);
     this.ContentPanePanel.Location = new System.Drawing.Point(0, 163);
     this.ContentPanePanel.Size = new System.Drawing.Size(1016, 504);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(1016, 504);
     this.panel2.TabIndex = 1;
     //
     // panel4
     //
     this.panel4.Controls.Add(this.tabContent);
     this.panel4.Controls.Add(this.expandableSplitter1);
     this.panel4.Controls.Add(this.LeftNavigationPanel);
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(1016, 504);
     this.panel4.TabIndex = 2;
     //
     // tabContent
     //
     //
     //
     //
     //
     //
     //
     this.tabContent.ControlBox.CloseBox.Name = "";
     //
     //
     //
     this.tabContent.ControlBox.MenuBox.Name = "";
     this.tabContent.ControlBox.Name = "";
     this.tabContent.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.tabContent.ControlBox.MenuBox,
     this.tabContent.ControlBox.CloseBox});
     this.tabContent.Controls.Add(this.superTabControlPanel1);
     this.tabContent.Controls.Add(this.superTabControlPanel2);
     this.tabContent.Controls.Add(this.superTabControlPanel4);
     this.tabContent.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabContent.Location = new System.Drawing.Point(209, 0);
     this.tabContent.Name = "tabContent";
     this.tabContent.ReorderTabsEnabled = true;
     this.tabContent.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabContent.SelectedTabIndex = 0;
     this.tabContent.Size = new System.Drawing.Size(807, 504);
     this.tabContent.TabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.tabContent.TabIndex = 11;
     this.tabContent.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.tabTeacher,
     this.tabClass,
     this.tabPlace});
     this.tabContent.TabsVisible = false;
     this.tabContent.Text = "superTabControl1";
     //
     // superTabControlPanel2
     //
     this.superTabControlPanel2.Controls.Add(this.splClass);
     this.superTabControlPanel2.Controls.Add(this.pnlWhomList);
     this.superTabControlPanel2.Controls.Add(this.pnlWhomLPView);
     this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0);
     this.superTabControlPanel2.Name = "superTabControlPanel2";
     this.superTabControlPanel2.Size = new System.Drawing.Size(807, 504);
     this.superTabControlPanel2.TabIndex = 0;
     this.superTabControlPanel2.TabItem = this.tabClass;
     //
     // splClass
     //
     this.splClass.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClass.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClass.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.splClass.Dock = System.Windows.Forms.DockStyle.Right;
     this.splClass.ExpandableControl = this.pnlWhomLPView;
     this.splClass.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClass.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClass.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClass.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClass.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClass.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClass.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splClass.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splClass.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.splClass.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.splClass.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.splClass.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.splClass.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClass.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClass.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClass.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClass.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClass.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClass.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splClass.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splClass.Location = new System.Drawing.Point(204, 0);
     this.splClass.Name = "splClass";
     this.splClass.Size = new System.Drawing.Size(3, 504);
     this.splClass.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.splClass.TabIndex = 2;
     this.splClass.TabStop = false;
     //
     // pnlWhomLPView
     //
     this.pnlWhomLPView.Controls.Add(this.tabClassCalendar);
     this.pnlWhomLPView.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlWhomLPView.Location = new System.Drawing.Point(207, 0);
     this.pnlWhomLPView.Name = "pnlWhomLPView";
     this.pnlWhomLPView.Size = new System.Drawing.Size(600, 504);
     this.pnlWhomLPView.TabIndex = 0;
     //
     // tabClassCalendar
     //
     this.tabClassCalendar.AutoCloseTabs = true;
     this.tabClassCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabClassCalendar.CanReorderTabs = true;
     this.tabClassCalendar.CloseButtonOnTabsVisible = true;
     this.tabClassCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
     this.tabClassCalendar.Controls.Add(this.tabControlPanelClass);
     this.tabClassCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabClassCalendar.Location = new System.Drawing.Point(0, 0);
     this.tabClassCalendar.Name = "tabClassCalendar";
     this.tabClassCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabClassCalendar.SelectedTabIndex = -1;
     this.tabClassCalendar.Size = new System.Drawing.Size(600, 504);
     this.tabClassCalendar.TabIndex = 2;
     this.tabClassCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabClassCalendar.Tabs.Add(this.tabItemClass);
     this.tabClassCalendar.Text = "tabControl1";
     this.tabClassCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose);
     //
     // tabControlPanelClass
     //
     this.tabControlPanelClass.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanelClass.Location = new System.Drawing.Point(0, 28);
     this.tabControlPanelClass.Name = "tabControlPanelClass";
     this.tabControlPanelClass.Padding = new System.Windows.Forms.Padding(1);
     this.tabControlPanelClass.Size = new System.Drawing.Size(600, 476);
     this.tabControlPanelClass.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanelClass.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanelClass.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanelClass.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanelClass.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
     | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanelClass.Style.GradientAngle = 90;
     this.tabControlPanelClass.TabIndex = 1;
     this.tabControlPanelClass.TabItem = this.tabItemClass;
     //
     // tabItemClass
     //
     this.tabItemClass.AttachedControl = this.tabControlPanelClass;
     this.tabItemClass.CloseButtonVisible = false;
     this.tabItemClass.Name = "tabItemClass";
     this.tabItemClass.Text = "行事曆";
     //
     // pnlWhomList
     //
     this.pnlWhomList.Controls.Add(this.panel10);
     this.pnlWhomList.Controls.Add(this.panel3);
     this.pnlWhomList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlWhomList.Location = new System.Drawing.Point(0, 0);
     this.pnlWhomList.Name = "pnlWhomList";
     this.pnlWhomList.Size = new System.Drawing.Size(207, 504);
     this.pnlWhomList.TabIndex = 1;
     //
     // panel10
     //
     this.panel10.Controls.Add(this.grdClassCalendar);
     this.panel10.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel10.Location = new System.Drawing.Point(0, 35);
     this.panel10.Name = "panel10";
     this.panel10.Size = new System.Drawing.Size(207, 469);
     this.panel10.TabIndex = 10;
     //
     // grdClassCalendar
     //
     this.grdClassCalendar.AllowUserToAddRows = false;
     this.grdClassCalendar.AllowUserToDeleteRows = false;
     this.grdClassCalendar.AllowUserToOrderColumns = true;
     this.grdClassCalendar.AllowUserToResizeRows = false;
     this.grdClassCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.grdClassCalendar.BackgroundColor = System.Drawing.Color.White;
     this.grdClassCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grdClassCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.colClassStatus,
     this.dataGridViewTextBoxColumn70,
     this.dataGridViewTextBoxColumn71,
     this.dataGridViewTextBoxColumn78,
     this.colSubject,
     this.dataGridViewTextBoxColumn80,
     this.dataGridViewTextBoxColumn73,
     this.dataGridViewTextBoxColumn74});
     dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle8.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.grdClassCalendar.DefaultCellStyle = dataGridViewCellStyle8;
     this.grdClassCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grdClassCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grdClassCalendar.Location = new System.Drawing.Point(0, 0);
     this.grdClassCalendar.Name = "grdClassCalendar";
     this.grdClassCalendar.ReadOnly = true;
     this.grdClassCalendar.RowHeadersVisible = false;
     this.grdClassCalendar.RowTemplate.Height = 24;
     this.grdClassCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdClassCalendar.Size = new System.Drawing.Size(207, 469);
     this.grdClassCalendar.TabIndex = 10;
     this.grdClassCalendar.VirtualMode = true;
     this.grdClassCalendar.SelectionChanged += new System.EventHandler(this.grdClassCalendar_SelectionChanged);
     //
     // colClassStatus
     //
     this.colClassStatus.DataPropertyName = "Status";
     this.colClassStatus.HeaderText = "狀態";
     this.colClassStatus.Name = "colClassStatus";
     this.colClassStatus.ReadOnly = true;
     this.colClassStatus.Width = 54;
     //
     // dataGridViewTextBoxColumn70
     //
     this.dataGridViewTextBoxColumn70.DataPropertyName = "Date";
     dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle5;
     this.dataGridViewTextBoxColumn70.HeaderText = "日期";
     this.dataGridViewTextBoxColumn70.MinimumWidth = 60;
     this.dataGridViewTextBoxColumn70.Name = "dataGridViewTextBoxColumn70";
     this.dataGridViewTextBoxColumn70.ReadOnly = true;
     this.dataGridViewTextBoxColumn70.Width = 60;
     //
     // dataGridViewTextBoxColumn71
     //
     this.dataGridViewTextBoxColumn71.DataPropertyName = "DisplayWeekDay";
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn71.DefaultCellStyle = dataGridViewCellStyle6;
     this.dataGridViewTextBoxColumn71.HeaderText = "星期";
     this.dataGridViewTextBoxColumn71.MinimumWidth = 40;
     this.dataGridViewTextBoxColumn71.Name = "dataGridViewTextBoxColumn71";
     this.dataGridViewTextBoxColumn71.ReadOnly = true;
     this.dataGridViewTextBoxColumn71.Width = 54;
     //
     // dataGridViewTextBoxColumn78
     //
     this.dataGridViewTextBoxColumn78.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn78.DataPropertyName = "Period";
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn78.DefaultCellStyle = dataGridViewCellStyle7;
     this.dataGridViewTextBoxColumn78.HeaderText = "節次";
     this.dataGridViewTextBoxColumn78.Name = "dataGridViewTextBoxColumn78";
     this.dataGridViewTextBoxColumn78.ReadOnly = true;
     this.dataGridViewTextBoxColumn78.Width = 54;
     //
     // colSubject
     //
     this.colSubject.DataPropertyName = "Subject";
     this.colSubject.HeaderText = "科目名稱";
     this.colSubject.Name = "colSubject";
     this.colSubject.ReadOnly = true;
     this.colSubject.Width = 78;
     //
     // dataGridViewTextBoxColumn80
     //
     this.dataGridViewTextBoxColumn80.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.dataGridViewTextBoxColumn80.DataPropertyName = "TeacherName";
     this.dataGridViewTextBoxColumn80.HeaderText = "教師名稱";
     this.dataGridViewTextBoxColumn80.Name = "dataGridViewTextBoxColumn80";
     this.dataGridViewTextBoxColumn80.ReadOnly = true;
     this.dataGridViewTextBoxColumn80.Width = 78;
     //
     // dataGridViewTextBoxColumn73
     //
     this.dataGridViewTextBoxColumn73.DataPropertyName = "ClassName";
     this.dataGridViewTextBoxColumn73.HeaderText = "班級名稱";
     this.dataGridViewTextBoxColumn73.Name = "dataGridViewTextBoxColumn73";
     this.dataGridViewTextBoxColumn73.ReadOnly = true;
     this.dataGridViewTextBoxColumn73.Width = 78;
     //
     // dataGridViewTextBoxColumn74
     //
     this.dataGridViewTextBoxColumn74.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn74.DataPropertyName = "ClassroomName";
     this.dataGridViewTextBoxColumn74.HeaderText = "場地名稱";
     this.dataGridViewTextBoxColumn74.Name = "dataGridViewTextBoxColumn74";
     this.dataGridViewTextBoxColumn74.ReadOnly = true;
     this.dataGridViewTextBoxColumn74.Width = 78;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.labelX6);
     this.panel3.Controls.Add(this.lblClass);
     this.panel3.Controls.Add(this.labelX3);
     this.panel3.Controls.Add(this.labelX1);
     this.panel3.Controls.Add(this.btnClassEventExpand);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(207, 35);
     this.panel3.TabIndex = 9;
     //
     // labelX6
     //
     this.labelX6.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.labelX6.AutoSize = true;
     //
     //
     //
     this.labelX6.BackgroundStyle.Class = "";
     this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX6.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX6.Location = new System.Drawing.Point(48, 4);
     this.labelX6.Name = "labelX6";
     this.labelX6.Size = new System.Drawing.Size(123, 26);
     this.labelX6.TabIndex = 4;
     this.labelX6.Text = "黃色為未排分課";
     this.labelX6.Visible = false;
     //
     // lblClass
     //
     this.lblClass.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.lblClass.AutoSize = true;
     //
     //
     //
     this.lblClass.BackgroundStyle.Class = "";
     this.lblClass.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.lblClass.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.lblClass.Location = new System.Drawing.Point(7, 4);
     this.lblClass.Name = "lblClass";
     this.lblClass.Size = new System.Drawing.Size(0, 0);
     this.lblClass.TabIndex = 3;
     //
     // labelX3
     //
     this.labelX3.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX3.AutoSize = true;
     //
     //
     //
     this.labelX3.BackgroundStyle.Class = "";
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX3.Location = new System.Drawing.Point(7, 4);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(0, 0);
     this.labelX3.TabIndex = 2;
     //
     // labelX1
     //
     this.labelX1.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX1.AutoSize = true;
     //
     //
     //
     this.labelX1.BackgroundStyle.Class = "";
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX1.Location = new System.Drawing.Point(7, 4);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(0, 0);
     this.labelX1.TabIndex = 1;
     //
     // btnClassEventExpand
     //
     this.btnClassEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnClassEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnClassEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnClassEventExpand.Location = new System.Drawing.Point(173, 5);
     this.btnClassEventExpand.Name = "btnClassEventExpand";
     this.btnClassEventExpand.Size = new System.Drawing.Size(28, 23);
     this.btnClassEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnClassEventExpand.TabIndex = 0;
     this.btnClassEventExpand.Text = ">>";
     //
     // tabClass
     //
     this.tabClass.AttachedControl = this.superTabControlPanel2;
     this.tabClass.GlobalItem = false;
     this.tabClass.Name = "tabClass";
     this.tabClass.Text = "班級";
     //
     // superTabControlPanel1
     //
     this.superTabControlPanel1.Controls.Add(this.pnlWhoList);
     this.superTabControlPanel1.Controls.Add(this.splTeacher);
     this.superTabControlPanel1.Controls.Add(this.pnlWhoLPView);
     this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel1.Location = new System.Drawing.Point(0, 30);
     this.superTabControlPanel1.Name = "superTabControlPanel1";
     this.superTabControlPanel1.Size = new System.Drawing.Size(807, 474);
     this.superTabControlPanel1.TabIndex = 1;
     this.superTabControlPanel1.TabItem = this.tabTeacher;
     //
     // pnlWhoList
     //
     this.pnlWhoList.Controls.Add(this.grdTeacherCalendar);
     this.pnlWhoList.Controls.Add(this.panel5);
     this.pnlWhoList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlWhoList.Location = new System.Drawing.Point(0, 0);
     this.pnlWhoList.Name = "pnlWhoList";
     this.pnlWhoList.Size = new System.Drawing.Size(204, 474);
     this.pnlWhoList.TabIndex = 6;
     //
     // grdTeacherCalendar
     //
     this.grdTeacherCalendar.AllowUserToAddRows = false;
     this.grdTeacherCalendar.AllowUserToDeleteRows = false;
     this.grdTeacherCalendar.AllowUserToOrderColumns = true;
     this.grdTeacherCalendar.AllowUserToResizeRows = false;
     this.grdTeacherCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.grdTeacherCalendar.BackgroundColor = System.Drawing.Color.White;
     this.grdTeacherCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grdTeacherCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.colStatus,
     this.colSolutionCount,
     this.colWeekDay,
     this.colPeriodNo,
     this.colSubjectName,
     this.colCourseName,
     this.colLength,
     this.colWhoName});
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle4.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.grdTeacherCalendar.DefaultCellStyle = dataGridViewCellStyle4;
     this.grdTeacherCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grdTeacherCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grdTeacherCalendar.Location = new System.Drawing.Point(0, 35);
     this.grdTeacherCalendar.Name = "grdTeacherCalendar";
     this.grdTeacherCalendar.ReadOnly = true;
     this.grdTeacherCalendar.RowHeadersVisible = false;
     this.grdTeacherCalendar.RowTemplate.Height = 24;
     this.grdTeacherCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdTeacherCalendar.Size = new System.Drawing.Size(204, 439);
     this.grdTeacherCalendar.TabIndex = 9;
     this.grdTeacherCalendar.VirtualMode = true;
     this.grdTeacherCalendar.SelectionChanged += new System.EventHandler(this.grdTeacherCalendar_SelectionChanged);
     //
     // colStatus
     //
     this.colStatus.DataPropertyName = "Status";
     this.colStatus.HeaderText = "狀態";
     this.colStatus.Name = "colStatus";
     this.colStatus.ReadOnly = true;
     this.colStatus.Width = 54;
     //
     // colSolutionCount
     //
     this.colSolutionCount.DataPropertyName = "Date";
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.colSolutionCount.DefaultCellStyle = dataGridViewCellStyle1;
     this.colSolutionCount.HeaderText = "日期";
     this.colSolutionCount.MinimumWidth = 60;
     this.colSolutionCount.Name = "colSolutionCount";
     this.colSolutionCount.ReadOnly = true;
     this.colSolutionCount.Width = 60;
     //
     // colWeekDay
     //
     this.colWeekDay.DataPropertyName = "DisplayWeekDay";
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.colWeekDay.DefaultCellStyle = dataGridViewCellStyle2;
     this.colWeekDay.HeaderText = "星期";
     this.colWeekDay.MinimumWidth = 40;
     this.colWeekDay.Name = "colWeekDay";
     this.colWeekDay.ReadOnly = true;
     this.colWeekDay.Width = 54;
     //
     // colPeriodNo
     //
     this.colPeriodNo.DataPropertyName = "Period";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.colPeriodNo.DefaultCellStyle = dataGridViewCellStyle3;
     this.colPeriodNo.HeaderText = "節次";
     this.colPeriodNo.Name = "colPeriodNo";
     this.colPeriodNo.ReadOnly = true;
     this.colPeriodNo.Width = 54;
     //
     // colSubjectName
     //
     this.colSubjectName.DataPropertyName = "Subject";
     this.colSubjectName.HeaderText = "科目名稱";
     this.colSubjectName.Name = "colSubjectName";
     this.colSubjectName.ReadOnly = true;
     this.colSubjectName.Width = 78;
     //
     // colCourseName
     //
     this.colCourseName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.colCourseName.DataPropertyName = "TeacherName";
     this.colCourseName.HeaderText = "教師名稱";
     this.colCourseName.Name = "colCourseName";
     this.colCourseName.ReadOnly = true;
     this.colCourseName.Width = 78;
     //
     // colLength
     //
     this.colLength.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.colLength.DataPropertyName = "ClassName";
     this.colLength.HeaderText = "班級名稱";
     this.colLength.Name = "colLength";
     this.colLength.ReadOnly = true;
     this.colLength.Width = 78;
     //
     // colWhoName
     //
     this.colWhoName.DataPropertyName = "ClassroomName";
     this.colWhoName.HeaderText = "場地名稱";
     this.colWhoName.Name = "colWhoName";
     this.colWhoName.ReadOnly = true;
     this.colWhoName.Width = 78;
     //
     // panel5
     //
     this.panel5.Controls.Add(this.labelX2);
     this.panel5.Controls.Add(this.lblTeacher);
     this.panel5.Controls.Add(this.btnTeacherEventExpand);
     this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(204, 35);
     this.panel5.TabIndex = 8;
     //
     // labelX2
     //
     this.labelX2.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.labelX2.AutoSize = true;
     //
     //
     //
     this.labelX2.BackgroundStyle.Class = "";
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX2.Location = new System.Drawing.Point(23, 3);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(140, 26);
     this.labelX2.TabIndex = 2;
     this.labelX2.Text = "灰色為停課行事曆";
     this.labelX2.Visible = false;
     //
     // lblTeacher
     //
     this.lblTeacher.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.lblTeacher.AutoSize = true;
     //
     //
     //
     this.lblTeacher.BackgroundStyle.Class = "";
     this.lblTeacher.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.lblTeacher.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.lblTeacher.Location = new System.Drawing.Point(7, 4);
     this.lblTeacher.Name = "lblTeacher";
     this.lblTeacher.Size = new System.Drawing.Size(0, 0);
     this.lblTeacher.TabIndex = 1;
     //
     // btnTeacherEventExpand
     //
     this.btnTeacherEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnTeacherEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnTeacherEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnTeacherEventExpand.Location = new System.Drawing.Point(170, 5);
     this.btnTeacherEventExpand.Name = "btnTeacherEventExpand";
     this.btnTeacherEventExpand.Size = new System.Drawing.Size(28, 23);
     this.btnTeacherEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnTeacherEventExpand.TabIndex = 0;
     this.btnTeacherEventExpand.Text = ">>";
     //
     // splTeacher
     //
     this.splTeacher.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splTeacher.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splTeacher.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.splTeacher.Dock = System.Windows.Forms.DockStyle.Right;
     this.splTeacher.ExpandableControl = this.pnlWhoLPView;
     this.splTeacher.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splTeacher.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splTeacher.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splTeacher.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splTeacher.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splTeacher.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splTeacher.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splTeacher.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splTeacher.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.splTeacher.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.splTeacher.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.splTeacher.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.splTeacher.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splTeacher.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splTeacher.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splTeacher.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splTeacher.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splTeacher.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splTeacher.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splTeacher.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splTeacher.Location = new System.Drawing.Point(204, 0);
     this.splTeacher.Name = "splTeacher";
     this.splTeacher.Size = new System.Drawing.Size(3, 474);
     this.splTeacher.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.splTeacher.TabIndex = 5;
     this.splTeacher.TabStop = false;
     //
     // pnlWhoLPView
     //
     this.pnlWhoLPView.Controls.Add(this.tabTeacherCalendar);
     this.pnlWhoLPView.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlWhoLPView.Location = new System.Drawing.Point(207, 0);
     this.pnlWhoLPView.Name = "pnlWhoLPView";
     this.pnlWhoLPView.Size = new System.Drawing.Size(600, 474);
     this.pnlWhoLPView.TabIndex = 4;
     //
     // tabTeacherCalendar
     //
     this.tabTeacherCalendar.AutoCloseTabs = true;
     this.tabTeacherCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabTeacherCalendar.CanReorderTabs = true;
     this.tabTeacherCalendar.CloseButtonOnTabsVisible = true;
     this.tabTeacherCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
     this.tabTeacherCalendar.Controls.Add(this.tabControlPanelTeacher);
     this.tabTeacherCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabTeacherCalendar.Location = new System.Drawing.Point(0, 0);
     this.tabTeacherCalendar.Name = "tabTeacherCalendar";
     this.tabTeacherCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabTeacherCalendar.SelectedTabIndex = -1;
     this.tabTeacherCalendar.Size = new System.Drawing.Size(600, 474);
     this.tabTeacherCalendar.TabIndex = 1;
     this.tabTeacherCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabTeacherCalendar.Tabs.Add(this.tabItemTeacher);
     this.tabTeacherCalendar.Text = "tabControl1";
     this.tabTeacherCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose);
     //
     // tabControlPanelTeacher
     //
     this.tabControlPanelTeacher.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanelTeacher.Location = new System.Drawing.Point(0, 28);
     this.tabControlPanelTeacher.Name = "tabControlPanelTeacher";
     this.tabControlPanelTeacher.Padding = new System.Windows.Forms.Padding(1);
     this.tabControlPanelTeacher.Size = new System.Drawing.Size(600, 446);
     this.tabControlPanelTeacher.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanelTeacher.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanelTeacher.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanelTeacher.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanelTeacher.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
     | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanelTeacher.Style.GradientAngle = 90;
     this.tabControlPanelTeacher.TabIndex = 1;
     this.tabControlPanelTeacher.TabItem = this.tabItemTeacher;
     //
     // tabItemTeacher
     //
     this.tabItemTeacher.AttachedControl = this.tabControlPanelTeacher;
     this.tabItemTeacher.CloseButtonVisible = false;
     this.tabItemTeacher.Name = "tabItemTeacher";
     this.tabItemTeacher.Text = "行事曆";
     //
     // tabTeacher
     //
     this.tabTeacher.AttachedControl = this.superTabControlPanel1;
     this.tabTeacher.GlobalItem = false;
     this.tabTeacher.Name = "tabTeacher";
     this.tabTeacher.Text = "教師";
     //
     // superTabControlPanel4
     //
     this.superTabControlPanel4.Controls.Add(this.superTabControlPanel8);
     this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel4.Location = new System.Drawing.Point(0, 0);
     this.superTabControlPanel4.Name = "superTabControlPanel4";
     this.superTabControlPanel4.Size = new System.Drawing.Size(807, 504);
     this.superTabControlPanel4.TabIndex = 1;
     this.superTabControlPanel4.TabItem = this.tabPlace;
     //
     // superTabControlPanel8
     //
     this.superTabControlPanel8.Controls.Add(this.pnlWhereList);
     this.superTabControlPanel8.Controls.Add(this.splClassroom);
     this.superTabControlPanel8.Controls.Add(this.pnlWhereLPView);
     this.superTabControlPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel8.Location = new System.Drawing.Point(0, 0);
     this.superTabControlPanel8.Name = "superTabControlPanel8";
     this.superTabControlPanel8.Size = new System.Drawing.Size(807, 504);
     this.superTabControlPanel8.TabIndex = 1;
     this.superTabControlPanel8.TabItem = this.tabClassroom;
     //
     // pnlWhereList
     //
     this.pnlWhereList.Controls.Add(this.panel15);
     this.pnlWhereList.Controls.Add(this.panel16);
     this.pnlWhereList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlWhereList.Location = new System.Drawing.Point(0, 0);
     this.pnlWhereList.Name = "pnlWhereList";
     this.pnlWhereList.Size = new System.Drawing.Size(204, 504);
     this.pnlWhereList.TabIndex = 2;
     //
     // panel15
     //
     this.panel15.Controls.Add(this.grdPlaceCalendar);
     this.panel15.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel15.Location = new System.Drawing.Point(0, 35);
     this.panel15.Name = "panel15";
     this.panel15.Size = new System.Drawing.Size(204, 469);
     this.panel15.TabIndex = 11;
     //
     // grdPlaceCalendar
     //
     this.grdPlaceCalendar.AllowUserToAddRows = false;
     this.grdPlaceCalendar.AllowUserToDeleteRows = false;
     this.grdPlaceCalendar.AllowUserToOrderColumns = true;
     this.grdPlaceCalendar.AllowUserToResizeRows = false;
     this.grdPlaceCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.grdPlaceCalendar.BackgroundColor = System.Drawing.Color.White;
     this.grdPlaceCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.grdPlaceCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn24,
     this.dataGridViewTextBoxColumn17,
     this.dataGridViewTextBoxColumn18,
     this.dataGridViewTextBoxColumn19,
     this.dataGridViewTextBoxColumn20,
     this.dataGridViewTextBoxColumn21,
     this.dataGridViewTextBoxColumn22,
     this.dataGridViewTextBoxColumn23});
     dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle12.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.grdPlaceCalendar.DefaultCellStyle = dataGridViewCellStyle12;
     this.grdPlaceCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grdPlaceCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grdPlaceCalendar.Location = new System.Drawing.Point(0, 0);
     this.grdPlaceCalendar.Name = "grdPlaceCalendar";
     this.grdPlaceCalendar.ReadOnly = true;
     this.grdPlaceCalendar.RowHeadersVisible = false;
     this.grdPlaceCalendar.RowTemplate.Height = 24;
     this.grdPlaceCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.grdPlaceCalendar.Size = new System.Drawing.Size(204, 469);
     this.grdPlaceCalendar.TabIndex = 11;
     this.grdPlaceCalendar.VirtualMode = true;
     //
     // dataGridViewTextBoxColumn24
     //
     this.dataGridViewTextBoxColumn24.DataPropertyName = "Status";
     this.dataGridViewTextBoxColumn24.HeaderText = "狀態";
     this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
     this.dataGridViewTextBoxColumn24.ReadOnly = true;
     this.dataGridViewTextBoxColumn24.Width = 54;
     //
     // dataGridViewTextBoxColumn17
     //
     this.dataGridViewTextBoxColumn17.DataPropertyName = "Date";
     dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle9;
     this.dataGridViewTextBoxColumn17.HeaderText = "日期";
     this.dataGridViewTextBoxColumn17.MinimumWidth = 60;
     this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
     this.dataGridViewTextBoxColumn17.ReadOnly = true;
     this.dataGridViewTextBoxColumn17.Width = 60;
     //
     // dataGridViewTextBoxColumn18
     //
     this.dataGridViewTextBoxColumn18.DataPropertyName = "DisplayWeekDay";
     dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle10;
     this.dataGridViewTextBoxColumn18.HeaderText = "星期";
     this.dataGridViewTextBoxColumn18.MinimumWidth = 40;
     this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
     this.dataGridViewTextBoxColumn18.ReadOnly = true;
     this.dataGridViewTextBoxColumn18.Width = 54;
     //
     // dataGridViewTextBoxColumn19
     //
     this.dataGridViewTextBoxColumn19.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn19.DataPropertyName = "Period";
     dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle11;
     this.dataGridViewTextBoxColumn19.HeaderText = "節次";
     this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
     this.dataGridViewTextBoxColumn19.ReadOnly = true;
     this.dataGridViewTextBoxColumn19.Width = 54;
     //
     // dataGridViewTextBoxColumn20
     //
     this.dataGridViewTextBoxColumn20.DataPropertyName = "Subject";
     this.dataGridViewTextBoxColumn20.HeaderText = "科目名稱";
     this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
     this.dataGridViewTextBoxColumn20.ReadOnly = true;
     this.dataGridViewTextBoxColumn20.Width = 78;
     //
     // dataGridViewTextBoxColumn21
     //
     this.dataGridViewTextBoxColumn21.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.dataGridViewTextBoxColumn21.DataPropertyName = "TeacherName";
     this.dataGridViewTextBoxColumn21.HeaderText = "教師名稱";
     this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
     this.dataGridViewTextBoxColumn21.ReadOnly = true;
     this.dataGridViewTextBoxColumn21.Width = 78;
     //
     // dataGridViewTextBoxColumn22
     //
     this.dataGridViewTextBoxColumn22.DataPropertyName = "ClassName";
     this.dataGridViewTextBoxColumn22.HeaderText = "班級名稱";
     this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
     this.dataGridViewTextBoxColumn22.ReadOnly = true;
     this.dataGridViewTextBoxColumn22.Width = 78;
     //
     // dataGridViewTextBoxColumn23
     //
     this.dataGridViewTextBoxColumn23.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn23.DataPropertyName = "ClassroomName";
     this.dataGridViewTextBoxColumn23.HeaderText = "場地名稱";
     this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
     this.dataGridViewTextBoxColumn23.ReadOnly = true;
     this.dataGridViewTextBoxColumn23.Width = 78;
     //
     // panel16
     //
     this.panel16.Controls.Add(this.lblClassroom);
     this.panel16.Controls.Add(this.labelX12);
     this.panel16.Controls.Add(this.labelX13);
     this.panel16.Controls.Add(this.btnClassroomEventExpand);
     this.panel16.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel16.Location = new System.Drawing.Point(0, 0);
     this.panel16.Name = "panel16";
     this.panel16.Size = new System.Drawing.Size(204, 35);
     this.panel16.TabIndex = 10;
     //
     // lblClassroom
     //
     this.lblClassroom.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.lblClassroom.AutoSize = true;
     //
     //
     //
     this.lblClassroom.BackgroundStyle.Class = "";
     this.lblClassroom.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.lblClassroom.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.lblClassroom.Location = new System.Drawing.Point(7, 4);
     this.lblClassroom.Name = "lblClassroom";
     this.lblClassroom.Size = new System.Drawing.Size(0, 0);
     this.lblClassroom.TabIndex = 3;
     //
     // labelX12
     //
     this.labelX12.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX12.AutoSize = true;
     //
     //
     //
     this.labelX12.BackgroundStyle.Class = "";
     this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX12.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX12.Location = new System.Drawing.Point(7, 4);
     this.labelX12.Name = "labelX12";
     this.labelX12.Size = new System.Drawing.Size(0, 0);
     this.labelX12.TabIndex = 2;
     //
     // labelX13
     //
     this.labelX13.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX13.AutoSize = true;
     //
     //
     //
     this.labelX13.BackgroundStyle.Class = "";
     this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX13.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX13.Location = new System.Drawing.Point(7, 4);
     this.labelX13.Name = "labelX13";
     this.labelX13.Size = new System.Drawing.Size(0, 0);
     this.labelX13.TabIndex = 1;
     //
     // btnClassroomEventExpand
     //
     this.btnClassroomEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnClassroomEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.btnClassroomEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnClassroomEventExpand.Location = new System.Drawing.Point(170, 5);
     this.btnClassroomEventExpand.Name = "btnClassroomEventExpand";
     this.btnClassroomEventExpand.Size = new System.Drawing.Size(28, 23);
     this.btnClassroomEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnClassroomEventExpand.TabIndex = 0;
     this.btnClassroomEventExpand.Text = ">>";
     //
     // splClassroom
     //
     this.splClassroom.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClassroom.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClassroom.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.splClassroom.Dock = System.Windows.Forms.DockStyle.Right;
     this.splClassroom.ExpandableControl = this.pnlWhereLPView;
     this.splClassroom.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClassroom.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClassroom.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClassroom.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClassroom.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClassroom.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClassroom.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splClassroom.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splClassroom.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.splClassroom.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.splClassroom.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.splClassroom.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.splClassroom.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClassroom.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClassroom.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.splClassroom.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.splClassroom.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.splClassroom.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.splClassroom.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.splClassroom.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.splClassroom.Location = new System.Drawing.Point(204, 0);
     this.splClassroom.Name = "splClassroom";
     this.splClassroom.Size = new System.Drawing.Size(3, 504);
     this.splClassroom.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.splClassroom.TabIndex = 1;
     this.splClassroom.TabStop = false;
     //
     // pnlWhereLPView
     //
     this.pnlWhereLPView.Controls.Add(this.tabClassroomCalendar);
     this.pnlWhereLPView.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlWhereLPView.Location = new System.Drawing.Point(207, 0);
     this.pnlWhereLPView.Name = "pnlWhereLPView";
     this.pnlWhereLPView.Size = new System.Drawing.Size(600, 504);
     this.pnlWhereLPView.TabIndex = 0;
     //
     // tabClassroomCalendar
     //
     this.tabClassroomCalendar.AutoCloseTabs = true;
     this.tabClassroomCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabClassroomCalendar.CanReorderTabs = true;
     this.tabClassroomCalendar.CloseButtonOnTabsVisible = true;
     this.tabClassroomCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
     this.tabClassroomCalendar.Controls.Add(this.tabControlPanelClassroom);
     this.tabClassroomCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabClassroomCalendar.Location = new System.Drawing.Point(0, 0);
     this.tabClassroomCalendar.Name = "tabClassroomCalendar";
     this.tabClassroomCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabClassroomCalendar.SelectedTabIndex = -1;
     this.tabClassroomCalendar.Size = new System.Drawing.Size(600, 504);
     this.tabClassroomCalendar.TabIndex = 3;
     this.tabClassroomCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabClassroomCalendar.Tabs.Add(this.tabItem4);
     this.tabClassroomCalendar.Text = "tabControl1";
     this.tabClassroomCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose);
     //
     // tabControlPanelClassroom
     //
     this.tabControlPanelClassroom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanelClassroom.Location = new System.Drawing.Point(0, 28);
     this.tabControlPanelClassroom.Name = "tabControlPanelClassroom";
     this.tabControlPanelClassroom.Padding = new System.Windows.Forms.Padding(1);
     this.tabControlPanelClassroom.Size = new System.Drawing.Size(600, 476);
     this.tabControlPanelClassroom.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanelClassroom.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanelClassroom.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanelClassroom.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanelClassroom.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
     | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanelClassroom.Style.GradientAngle = 90;
     this.tabControlPanelClassroom.TabIndex = 1;
     this.tabControlPanelClassroom.TabItem = this.tabItem4;
     //
     // tabItem4
     //
     this.tabItem4.AttachedControl = this.tabControlPanelClassroom;
     this.tabItem4.CloseButtonVisible = false;
     this.tabItem4.Name = "tabItem4";
     this.tabItem4.Text = "行事曆";
     //
     // tabClassroom
     //
     this.tabClassroom.GlobalItem = false;
     this.tabClassroom.Name = "tabClassroom";
     this.tabClassroom.Text = "場地";
     //
     // tabPlace
     //
     this.tabPlace.AttachedControl = this.superTabControlPanel4;
     this.tabPlace.GlobalItem = false;
     this.tabPlace.Name = "tabPlace";
     this.tabPlace.Text = "場地";
     //
     // expandableSplitter1
     //
     this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter1.Location = new System.Drawing.Point(206, 0);
     this.expandableSplitter1.Name = "expandableSplitter1";
     this.expandableSplitter1.Size = new System.Drawing.Size(3, 504);
     this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter1.TabIndex = 10;
     this.expandableSplitter1.TabStop = false;
     //
     // LeftNavigationPanel
     //
     this.LeftNavigationPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.LeftNavigationPanel.CanCollapse = true;
     this.LeftNavigationPanel.Controls.Add(this.pnlTeacher);
     this.LeftNavigationPanel.Controls.Add(this.pnlClassroom);
     this.LeftNavigationPanel.Controls.Add(this.pnlClass);
     this.LeftNavigationPanel.Controls.Add(this.pnlPlace);
     this.LeftNavigationPanel.Dock = System.Windows.Forms.DockStyle.Left;
     this.LeftNavigationPanel.ItemPaddingBottom = 2;
     this.LeftNavigationPanel.ItemPaddingTop = 2;
     this.LeftNavigationPanel.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnTeacher,
     this.btnClass,
     this.btnClassroom});
     this.LeftNavigationPanel.Location = new System.Drawing.Point(0, 0);
     this.LeftNavigationPanel.Name = "LeftNavigationPanel";
     this.LeftNavigationPanel.Padding = new System.Windows.Forms.Padding(1);
     this.LeftNavigationPanel.Size = new System.Drawing.Size(206, 504);
     this.LeftNavigationPanel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.LeftNavigationPanel.TabIndex = 9;
     //
     //
     //
     this.LeftNavigationPanel.TitlePanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.LeftNavigationPanel.TitlePanel.Dock = System.Windows.Forms.DockStyle.Top;
     this.LeftNavigationPanel.TitlePanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LeftNavigationPanel.TitlePanel.Location = new System.Drawing.Point(1, 1);
     this.LeftNavigationPanel.TitlePanel.Name = "panelTitle";
     this.LeftNavigationPanel.TitlePanel.Size = new System.Drawing.Size(202, 24);
     this.LeftNavigationPanel.TitlePanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.LeftNavigationPanel.TitlePanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.LeftNavigationPanel.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.LeftNavigationPanel.TitlePanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.LeftNavigationPanel.TitlePanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.LeftNavigationPanel.TitlePanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.LeftNavigationPanel.TitlePanel.Style.GradientAngle = 90;
     this.LeftNavigationPanel.TitlePanel.Style.MarginLeft = 4;
     this.LeftNavigationPanel.TitlePanel.TabIndex = 0;
     this.LeftNavigationPanel.TitlePanel.Text = "教師";
     //
     // pnlTeacher
     //
     this.pnlTeacher.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.pnlTeacher.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlTeacher.Location = new System.Drawing.Point(1, 25);
     this.pnlTeacher.Name = "pnlTeacher";
     this.pnlTeacher.ParentItem = this.btnTeacher;
     this.pnlTeacher.Size = new System.Drawing.Size(202, 444);
     this.pnlTeacher.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.pnlTeacher.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.pnlTeacher.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.pnlTeacher.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.pnlTeacher.Style.GradientAngle = 90;
     this.pnlTeacher.TabIndex = 2;
     //
     // btnTeacher
     //
     this.btnTeacher.Checked = true;
     this.btnTeacher.ImageFixedSize = new System.Drawing.Size(16, 16);
     this.btnTeacher.Name = "btnTeacher";
     this.btnTeacher.OptionGroup = "navBar";
     this.btnTeacher.Text = "教師";
     //
     // pnlClassroom
     //
     this.pnlClassroom.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.pnlClassroom.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlClassroom.Location = new System.Drawing.Point(1, 1);
     this.pnlClassroom.Name = "pnlClassroom";
     this.pnlClassroom.ParentItem = null;
     this.pnlClassroom.Size = new System.Drawing.Size(202, 468);
     this.pnlClassroom.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.pnlClassroom.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.pnlClassroom.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.pnlClassroom.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.pnlClassroom.Style.GradientAngle = 90;
     this.pnlClassroom.TabIndex = 4;
     //
     // pnlClass
     //
     this.pnlClass.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.pnlClass.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlClass.Location = new System.Drawing.Point(1, 1);
     this.pnlClass.Name = "pnlClass";
     this.pnlClass.ParentItem = this.btnClass;
     this.pnlClass.Size = new System.Drawing.Size(202, 468);
     this.pnlClass.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.pnlClass.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.pnlClass.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.pnlClass.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.pnlClass.Style.GradientAngle = 90;
     this.pnlClass.TabIndex = 3;
     //
     // btnClass
     //
     this.btnClass.ImageFixedSize = new System.Drawing.Size(16, 16);
     this.btnClass.Name = "btnClass";
     this.btnClass.OptionGroup = "navBar";
     this.btnClass.Text = "班級";
     //
     // pnlPlace
     //
     this.pnlPlace.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.pnlPlace.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlPlace.Location = new System.Drawing.Point(1, 1);
     this.pnlPlace.Name = "pnlPlace";
     this.pnlPlace.ParentItem = this.btnClassroom;
     this.pnlPlace.Size = new System.Drawing.Size(202, 468);
     this.pnlPlace.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.pnlPlace.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.pnlPlace.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.pnlPlace.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.pnlPlace.Style.GradientAngle = 90;
     this.pnlPlace.TabIndex = 5;
     //
     // btnClassroom
     //
     this.btnClassroom.ImageFixedSize = new System.Drawing.Size(16, 16);
     this.btnClassroom.Name = "btnClassroom";
     this.btnClassroom.OptionGroup = "navBar";
     this.btnClassroom.Text = "場地";
     //
     // superTabItem1
     //
     this.superTabItem1.AttachedControl = this.superTabControlPanel3;
     this.superTabItem1.GlobalItem = false;
     this.superTabItem1.Name = "superTabItem1";
     this.superTabItem1.Text = "superTabItem1";
     //
     // superTabControlPanel3
     //
     this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel3.Location = new System.Drawing.Point(0, 30);
     this.superTabControlPanel3.Name = "superTabControlPanel3";
     this.superTabControlPanel3.Size = new System.Drawing.Size(661, 391);
     this.superTabControlPanel3.TabIndex = 0;
     this.superTabControlPanel3.TabItem = this.superTabItem1;
     //
     // panel1
     //
     this.panel1.Location = new System.Drawing.Point(8, 8);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(200, 100);
     this.panel1.TabIndex = 0;
     //
     // panel6
     //
     this.panel6.Controls.Add(this.superTabControl1);
     this.panel6.Controls.Add(this.expandableSplitter4);
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(200, 100);
     this.panel6.TabIndex = 0;
     //
     // superTabControl1
     //
     //
     //
     //
     //
     //
     //
     this.superTabControl1.ControlBox.CloseBox.Name = "";
     //
     //
     //
     this.superTabControl1.ControlBox.MenuBox.Name = "";
     this.superTabControl1.ControlBox.Name = "";
     this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.superTabControl1.ControlBox.MenuBox,
     this.superTabControl1.ControlBox.CloseBox});
     this.superTabControl1.Controls.Add(this.superTabControlPanel6);
     this.superTabControl1.Controls.Add(this.superTabControlPanel7);
     this.superTabControl1.Controls.Add(this.superTabControlPanel5);
     this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControl1.Location = new System.Drawing.Point(3, 0);
     this.superTabControl1.Name = "superTabControl1";
     this.superTabControl1.ReorderTabsEnabled = true;
     this.superTabControl1.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.superTabControl1.SelectedTabIndex = 0;
     this.superTabControl1.Size = new System.Drawing.Size(197, 100);
     this.superTabControl1.TabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.superTabControl1.TabIndex = 11;
     this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.superTabItem3,
     this.superTabItem2,
     this.superTabItem4});
     this.superTabControl1.TabsVisible = false;
     this.superTabControl1.Text = "superTabControl1";
     //
     // superTabControlPanel6
     //
     this.superTabControlPanel6.Controls.Add(this.panel12);
     this.superTabControlPanel6.Controls.Add(this.expandableSplitter3);
     this.superTabControlPanel6.Controls.Add(this.panel14);
     this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel6.Location = new System.Drawing.Point(0, 30);
     this.superTabControlPanel6.Name = "superTabControlPanel6";
     this.superTabControlPanel6.Size = new System.Drawing.Size(197, 70);
     this.superTabControlPanel6.TabIndex = 1;
     this.superTabControlPanel6.TabItem = this.superTabItem3;
     //
     // panel12
     //
     this.panel12.Controls.Add(this.dataGridViewX2);
     this.panel12.Controls.Add(this.panel13);
     this.panel12.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel12.Location = new System.Drawing.Point(0, 0);
     this.panel12.Name = "panel12";
     this.panel12.Size = new System.Drawing.Size(0, 70);
     this.panel12.TabIndex = 6;
     //
     // dataGridViewX2
     //
     this.dataGridViewX2.AllowUserToAddRows = false;
     this.dataGridViewX2.AllowUserToDeleteRows = false;
     this.dataGridViewX2.AllowUserToOrderColumns = true;
     this.dataGridViewX2.AllowUserToResizeRows = false;
     this.dataGridViewX2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.dataGridViewX2.BackgroundColor = System.Drawing.Color.White;
     this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn9,
     this.dataGridViewTextBoxColumn10,
     this.dataGridViewTextBoxColumn11,
     this.dataGridViewTextBoxColumn12,
     this.dataGridViewTextBoxColumn13,
     this.dataGridViewTextBoxColumn14,
     this.dataGridViewTextBoxColumn15,
     this.dataGridViewTextBoxColumn16});
     dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle17.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle17;
     this.dataGridViewX2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dataGridViewX2.Location = new System.Drawing.Point(0, 35);
     this.dataGridViewX2.Name = "dataGridViewX2";
     this.dataGridViewX2.ReadOnly = true;
     this.dataGridViewX2.RowHeadersVisible = false;
     this.dataGridViewX2.RowTemplate.Height = 24;
     this.dataGridViewX2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridViewX2.Size = new System.Drawing.Size(0, 35);
     this.dataGridViewX2.TabIndex = 9;
     this.dataGridViewX2.VirtualMode = true;
     //
     // dataGridViewTextBoxColumn9
     //
     this.dataGridViewTextBoxColumn9.DataPropertyName = "Date";
     dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle13;
     this.dataGridViewTextBoxColumn9.HeaderText = "日期";
     this.dataGridViewTextBoxColumn9.MinimumWidth = 60;
     this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
     this.dataGridViewTextBoxColumn9.ReadOnly = true;
     this.dataGridViewTextBoxColumn9.Width = 60;
     //
     // dataGridViewTextBoxColumn10
     //
     this.dataGridViewTextBoxColumn10.DataPropertyName = "DisplayWeekDay";
     dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle14;
     this.dataGridViewTextBoxColumn10.HeaderText = "星期";
     this.dataGridViewTextBoxColumn10.MinimumWidth = 40;
     this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
     this.dataGridViewTextBoxColumn10.ReadOnly = true;
     this.dataGridViewTextBoxColumn10.Width = 54;
     //
     // dataGridViewTextBoxColumn11
     //
     this.dataGridViewTextBoxColumn11.DataPropertyName = "Period";
     dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle15;
     this.dataGridViewTextBoxColumn11.HeaderText = "節次";
     this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
     this.dataGridViewTextBoxColumn11.ReadOnly = true;
     this.dataGridViewTextBoxColumn11.Width = 54;
     //
     // dataGridViewTextBoxColumn12
     //
     this.dataGridViewTextBoxColumn12.DataPropertyName = "Subject";
     this.dataGridViewTextBoxColumn12.HeaderText = "科目名稱";
     this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
     this.dataGridViewTextBoxColumn12.ReadOnly = true;
     this.dataGridViewTextBoxColumn12.Width = 78;
     //
     // dataGridViewTextBoxColumn13
     //
     this.dataGridViewTextBoxColumn13.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn13.DataPropertyName = "TeacherName";
     this.dataGridViewTextBoxColumn13.HeaderText = "教師名稱";
     this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
     this.dataGridViewTextBoxColumn13.ReadOnly = true;
     this.dataGridViewTextBoxColumn13.Width = 78;
     //
     // dataGridViewTextBoxColumn14
     //
     this.dataGridViewTextBoxColumn14.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.dataGridViewTextBoxColumn14.DataPropertyName = "ClassName";
     dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle16;
     this.dataGridViewTextBoxColumn14.HeaderText = "班級名稱";
     this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
     this.dataGridViewTextBoxColumn14.ReadOnly = true;
     this.dataGridViewTextBoxColumn14.Width = 78;
     //
     // dataGridViewTextBoxColumn15
     //
     this.dataGridViewTextBoxColumn15.DataPropertyName = "ClassroomName";
     this.dataGridViewTextBoxColumn15.HeaderText = "場地名稱";
     this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
     this.dataGridViewTextBoxColumn15.ReadOnly = true;
     this.dataGridViewTextBoxColumn15.Width = 78;
     //
     // dataGridViewTextBoxColumn16
     //
     this.dataGridViewTextBoxColumn16.DataPropertyName = "Status";
     this.dataGridViewTextBoxColumn16.HeaderText = "狀態";
     this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
     this.dataGridViewTextBoxColumn16.ReadOnly = true;
     this.dataGridViewTextBoxColumn16.Width = 54;
     //
     // panel13
     //
     this.panel13.Controls.Add(this.labelX9);
     this.panel13.Controls.Add(this.labelX10);
     this.panel13.Controls.Add(this.buttonX2);
     this.panel13.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel13.Location = new System.Drawing.Point(0, 0);
     this.panel13.Name = "panel13";
     this.panel13.Size = new System.Drawing.Size(0, 35);
     this.panel13.TabIndex = 8;
     //
     // labelX9
     //
     this.labelX9.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.labelX9.AutoSize = true;
     //
     //
     //
     this.labelX9.BackgroundStyle.Class = "";
     this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX9.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX9.Location = new System.Drawing.Point(-181, 3);
     this.labelX9.Name = "labelX9";
     this.labelX9.Size = new System.Drawing.Size(140, 26);
     this.labelX9.TabIndex = 2;
     this.labelX9.Text = "灰色為停課行事曆";
     this.labelX9.Visible = false;
     //
     // labelX10
     //
     this.labelX10.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX10.AutoSize = true;
     //
     //
     //
     this.labelX10.BackgroundStyle.Class = "";
     this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX10.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX10.Location = new System.Drawing.Point(7, 4);
     this.labelX10.Name = "labelX10";
     this.labelX10.Size = new System.Drawing.Size(0, 0);
     this.labelX10.TabIndex = 1;
     //
     // buttonX2
     //
     this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX2.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX2.Location = new System.Drawing.Point(-34, 5);
     this.buttonX2.Name = "buttonX2";
     this.buttonX2.Size = new System.Drawing.Size(28, 23);
     this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonX2.TabIndex = 0;
     this.buttonX2.Text = ">>";
     //
     // expandableSplitter3
     //
     this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter3.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter3.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter3.Dock = System.Windows.Forms.DockStyle.Right;
     this.expandableSplitter3.ExpandableControl = this.panel14;
     this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter3.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter3.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter3.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter3.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter3.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter3.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter3.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter3.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter3.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter3.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter3.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter3.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter3.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter3.Location = new System.Drawing.Point(-406, 0);
     this.expandableSplitter3.Name = "expandableSplitter3";
     this.expandableSplitter3.Size = new System.Drawing.Size(3, 70);
     this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter3.TabIndex = 5;
     this.expandableSplitter3.TabStop = false;
     //
     // panel14
     //
     this.panel14.Controls.Add(this.tabControl2);
     this.panel14.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel14.Location = new System.Drawing.Point(-403, 0);
     this.panel14.Name = "panel14";
     this.panel14.Size = new System.Drawing.Size(600, 70);
     this.panel14.TabIndex = 4;
     //
     // tabControl2
     //
     this.tabControl2.AutoCloseTabs = true;
     this.tabControl2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabControl2.CanReorderTabs = true;
     this.tabControl2.CloseButtonOnTabsVisible = true;
     this.tabControl2.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
     this.tabControl2.Controls.Add(this.tabControlPanel4);
     this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl2.Location = new System.Drawing.Point(0, 0);
     this.tabControl2.Name = "tabControl2";
     this.tabControl2.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabControl2.SelectedTabIndex = -1;
     this.tabControl2.Size = new System.Drawing.Size(600, 70);
     this.tabControl2.TabIndex = 1;
     this.tabControl2.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabControl2.Tabs.Add(this.tabItem2);
     this.tabControl2.Text = "tabControl1";
     //
     // tabControlPanel4
     //
     this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel4.Location = new System.Drawing.Point(0, 28);
     this.tabControlPanel4.Name = "tabControlPanel4";
     this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1);
     this.tabControlPanel4.Size = new System.Drawing.Size(600, 42);
     this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
     | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanel4.Style.GradientAngle = 90;
     this.tabControlPanel4.TabIndex = 1;
     this.tabControlPanel4.TabItem = this.tabItem2;
     //
     // tabItem2
     //
     this.tabItem2.AttachedControl = this.tabControlPanel4;
     this.tabItem2.CloseButtonVisible = false;
     this.tabItem2.Name = "tabItem2";
     this.tabItem2.Text = "行事曆";
     //
     // superTabItem3
     //
     this.superTabItem3.AttachedControl = this.superTabControlPanel6;
     this.superTabItem3.GlobalItem = false;
     this.superTabItem3.Name = "superTabItem3";
     this.superTabItem3.Text = "教師";
     //
     // superTabControlPanel7
     //
     this.superTabControlPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel7.Location = new System.Drawing.Point(0, 0);
     this.superTabControlPanel7.Name = "superTabControlPanel7";
     this.superTabControlPanel7.Size = new System.Drawing.Size(197, 100);
     this.superTabControlPanel7.TabIndex = 1;
     this.superTabControlPanel7.TabItem = this.superTabItem4;
     //
     // superTabItem4
     //
     this.superTabItem4.AttachedControl = this.superTabControlPanel7;
     this.superTabItem4.GlobalItem = false;
     this.superTabItem4.Name = "superTabItem4";
     this.superTabItem4.Text = "場地";
     //
     // superTabControlPanel5
     //
     this.superTabControlPanel5.Controls.Add(this.expandableSplitter2);
     this.superTabControlPanel5.Controls.Add(this.panel8);
     this.superTabControlPanel5.Controls.Add(this.panel7);
     this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel5.Location = new System.Drawing.Point(0, 0);
     this.superTabControlPanel5.Name = "superTabControlPanel5";
     this.superTabControlPanel5.Size = new System.Drawing.Size(197, 100);
     this.superTabControlPanel5.TabIndex = 0;
     this.superTabControlPanel5.TabItem = this.superTabItem2;
     //
     // expandableSplitter2
     //
     this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter2.Dock = System.Windows.Forms.DockStyle.Right;
     this.expandableSplitter2.ExpandableControl = this.panel7;
     this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter2.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter2.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter2.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter2.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter2.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter2.Location = new System.Drawing.Point(-406, 0);
     this.expandableSplitter2.Name = "expandableSplitter2";
     this.expandableSplitter2.Size = new System.Drawing.Size(3, 100);
     this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter2.TabIndex = 2;
     this.expandableSplitter2.TabStop = false;
     //
     // panel7
     //
     this.panel7.Controls.Add(this.tabControl1);
     this.panel7.Dock = System.Windows.Forms.DockStyle.Right;
     this.panel7.Location = new System.Drawing.Point(-403, 0);
     this.panel7.Name = "panel7";
     this.panel7.Size = new System.Drawing.Size(600, 100);
     this.panel7.TabIndex = 0;
     //
     // tabControl1
     //
     this.tabControl1.AutoCloseTabs = true;
     this.tabControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabControl1.CanReorderTabs = true;
     this.tabControl1.CloseButtonOnTabsVisible = true;
     this.tabControl1.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right;
     this.tabControl1.Controls.Add(this.tabControlPanel3);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold);
     this.tabControl1.SelectedTabIndex = -1;
     this.tabControl1.Size = new System.Drawing.Size(600, 100);
     this.tabControl1.TabIndex = 2;
     this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabControl1.Tabs.Add(this.tabItem1);
     this.tabControl1.Text = "tabControl1";
     //
     // tabControlPanel3
     //
     this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel3.Location = new System.Drawing.Point(0, 28);
     this.tabControlPanel3.Name = "tabControlPanel3";
     this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1);
     this.tabControlPanel3.Size = new System.Drawing.Size(600, 72);
     this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
     | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanel3.Style.GradientAngle = 90;
     this.tabControlPanel3.TabIndex = 1;
     this.tabControlPanel3.TabItem = this.tabItem1;
     //
     // tabItem1
     //
     this.tabItem1.AttachedControl = this.tabControlPanel3;
     this.tabItem1.CloseButtonVisible = false;
     this.tabItem1.Name = "tabItem1";
     this.tabItem1.Text = "行事曆";
     //
     // panel8
     //
     this.panel8.Controls.Add(this.panel9);
     this.panel8.Controls.Add(this.panel11);
     this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel8.Location = new System.Drawing.Point(0, 0);
     this.panel8.Name = "panel8";
     this.panel8.Size = new System.Drawing.Size(0, 100);
     this.panel8.TabIndex = 1;
     //
     // panel9
     //
     this.panel9.Controls.Add(this.dataGridViewX1);
     this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel9.Location = new System.Drawing.Point(0, 35);
     this.panel9.Name = "panel9";
     this.panel9.Size = new System.Drawing.Size(0, 65);
     this.panel9.TabIndex = 10;
     //
     // dataGridViewX1
     //
     this.dataGridViewX1.AllowUserToAddRows = false;
     this.dataGridViewX1.AllowUserToDeleteRows = false;
     this.dataGridViewX1.AllowUserToOrderColumns = true;
     this.dataGridViewX1.AllowUserToResizeRows = false;
     this.dataGridViewX1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
     this.dataGridViewX1.BackgroundColor = System.Drawing.Color.White;
     this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8});
     dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle21.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle21;
     this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.dataGridViewX1.Location = new System.Drawing.Point(0, 0);
     this.dataGridViewX1.Name = "dataGridViewX1";
     this.dataGridViewX1.ReadOnly = true;
     this.dataGridViewX1.RowHeadersVisible = false;
     this.dataGridViewX1.RowTemplate.Height = 24;
     this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridViewX1.Size = new System.Drawing.Size(0, 65);
     this.dataGridViewX1.TabIndex = 10;
     this.dataGridViewX1.VirtualMode = true;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "Date";
     dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle18;
     this.dataGridViewTextBoxColumn1.HeaderText = "日期";
     this.dataGridViewTextBoxColumn1.MinimumWidth = 60;
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly = true;
     this.dataGridViewTextBoxColumn1.Width = 60;
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "DisplayWeekDay";
     dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle19;
     this.dataGridViewTextBoxColumn2.HeaderText = "星期";
     this.dataGridViewTextBoxColumn2.MinimumWidth = 40;
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     this.dataGridViewTextBoxColumn2.ReadOnly = true;
     this.dataGridViewTextBoxColumn2.Width = 54;
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn3.DataPropertyName = "Period";
     this.dataGridViewTextBoxColumn3.HeaderText = "節次";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     this.dataGridViewTextBoxColumn3.ReadOnly = true;
     this.dataGridViewTextBoxColumn3.Width = 54;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "Subject";
     this.dataGridViewTextBoxColumn4.HeaderText = "科目名稱";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.ReadOnly = true;
     this.dataGridViewTextBoxColumn4.Width = 78;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
     this.dataGridViewTextBoxColumn5.DataPropertyName = "TeacherName";
     dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle20;
     this.dataGridViewTextBoxColumn5.HeaderText = "教師名稱";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly = true;
     this.dataGridViewTextBoxColumn5.Width = 78;
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "ClassName";
     this.dataGridViewTextBoxColumn6.HeaderText = "班級名稱";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     this.dataGridViewTextBoxColumn6.ReadOnly = true;
     this.dataGridViewTextBoxColumn6.Width = 78;
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
     this.dataGridViewTextBoxColumn7.DataPropertyName = "ClassroomName";
     this.dataGridViewTextBoxColumn7.HeaderText = "場地名稱";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     this.dataGridViewTextBoxColumn7.ReadOnly = true;
     this.dataGridViewTextBoxColumn7.Width = 78;
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "Status";
     this.dataGridViewTextBoxColumn8.HeaderText = "狀態";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     this.dataGridViewTextBoxColumn8.ReadOnly = true;
     this.dataGridViewTextBoxColumn8.Width = 54;
     //
     // panel11
     //
     this.panel11.Controls.Add(this.labelX4);
     this.panel11.Controls.Add(this.labelX5);
     this.panel11.Controls.Add(this.labelX7);
     this.panel11.Controls.Add(this.labelX8);
     this.panel11.Controls.Add(this.buttonX1);
     this.panel11.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel11.Location = new System.Drawing.Point(0, 0);
     this.panel11.Name = "panel11";
     this.panel11.Size = new System.Drawing.Size(0, 35);
     this.panel11.TabIndex = 9;
     //
     // labelX4
     //
     this.labelX4.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.labelX4.AutoSize = true;
     //
     //
     //
     this.labelX4.BackgroundStyle.Class = "";
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX4.Location = new System.Drawing.Point(-159, 4);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(123, 26);
     this.labelX4.TabIndex = 4;
     this.labelX4.Text = "黃色為未排分課";
     this.labelX4.Visible = false;
     //
     // labelX5
     //
     this.labelX5.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX5.AutoSize = true;
     //
     //
     //
     this.labelX5.BackgroundStyle.Class = "";
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX5.Location = new System.Drawing.Point(7, 4);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(0, 0);
     this.labelX5.TabIndex = 3;
     //
     // labelX7
     //
     this.labelX7.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX7.AutoSize = true;
     //
     //
     //
     this.labelX7.BackgroundStyle.Class = "";
     this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX7.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX7.Location = new System.Drawing.Point(7, 4);
     this.labelX7.Name = "labelX7";
     this.labelX7.Size = new System.Drawing.Size(0, 0);
     this.labelX7.TabIndex = 2;
     //
     // labelX8
     //
     this.labelX8.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.labelX8.AutoSize = true;
     //
     //
     //
     this.labelX8.BackgroundStyle.Class = "";
     this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX8.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.labelX8.Location = new System.Drawing.Point(7, 4);
     this.labelX8.Name = "labelX8";
     this.labelX8.Size = new System.Drawing.Size(0, 0);
     this.labelX8.TabIndex = 1;
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.Anchor = System.Windows.Forms.AnchorStyles.Right;
     this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX1.Location = new System.Drawing.Point(-34, 5);
     this.buttonX1.Name = "buttonX1";
     this.buttonX1.Size = new System.Drawing.Size(28, 23);
     this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonX1.TabIndex = 0;
     this.buttonX1.Text = ">>";
     //
     // superTabItem2
     //
     this.superTabItem2.AttachedControl = this.superTabControlPanel5;
     this.superTabItem2.GlobalItem = false;
     this.superTabItem2.Name = "superTabItem2";
     this.superTabItem2.Text = "班級";
     //
     // expandableSplitter4
     //
     this.expandableSplitter4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter4.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter4.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandableSplitter4.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter4.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter4.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter4.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter4.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter4.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter4.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter4.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter4.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61)))));
     this.expandableSplitter4.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94)))));
     this.expandableSplitter4.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
     this.expandableSplitter4.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
     this.expandableSplitter4.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter4.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter4.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.expandableSplitter4.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandableSplitter4.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207)))));
     this.expandableSplitter4.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandableSplitter4.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255)))));
     this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandableSplitter4.Location = new System.Drawing.Point(0, 0);
     this.expandableSplitter4.Name = "expandableSplitter4";
     this.expandableSplitter4.Size = new System.Drawing.Size(3, 100);
     this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
     this.expandableSplitter4.TabIndex = 10;
     this.expandableSplitter4.TabStop = false;
     //
     // navigationPane1
     //
     this.navigationPane1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.navigationPane1.CanCollapse = true;
     this.navigationPane1.Controls.Add(this.navigationPanePanel1);
     this.navigationPane1.ItemPaddingBottom = 2;
     this.navigationPane1.ItemPaddingTop = 2;
     this.navigationPane1.Location = new System.Drawing.Point(0, 0);
     this.navigationPane1.Name = "navigationPane1";
     this.navigationPane1.NavigationBarHeight = 38;
     this.navigationPane1.Padding = new System.Windows.Forms.Padding(1);
     this.navigationPane1.Size = new System.Drawing.Size(150, 192);
     this.navigationPane1.TabIndex = 0;
     //
     //
     //
     this.navigationPane1.TitlePanel.Location = new System.Drawing.Point(0, 0);
     this.navigationPane1.TitlePanel.Name = "panelTitle";
     this.navigationPane1.TitlePanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(135)))), ((int)(((byte)(214)))));
     this.navigationPane1.TitlePanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(56)))), ((int)(((byte)(148)))));
     this.navigationPane1.TitlePanel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150)))));
     this.navigationPane1.TitlePanel.Style.ForeColor.Color = System.Drawing.Color.White;
     this.navigationPane1.TitlePanel.TabIndex = 0;
     //
     // navigationPanePanel1
     //
     this.navigationPanePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel1.Location = new System.Drawing.Point(1, 1);
     this.navigationPanePanel1.Name = "navigationPanePanel1";
     this.navigationPanePanel1.ParentItem = null;
     this.navigationPanePanel1.Size = new System.Drawing.Size(146, 150);
     this.navigationPanePanel1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPanePanel1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.navigationPanePanel1.Style.GradientAngle = 90;
     this.navigationPanePanel1.TabIndex = 5;
     //
     // MainForm
     //
     this.Name = "MainForm";
     this.Load += new System.EventHandler(this.MainForm_Load);
     this.Layout += new System.Windows.Forms.LayoutEventHandler(this.MainForm_Layout);
     this.ContentPanePanel.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabContent)).EndInit();
     this.tabContent.ResumeLayout(false);
     this.superTabControlPanel2.ResumeLayout(false);
     this.pnlWhomLPView.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabClassCalendar)).EndInit();
     this.tabClassCalendar.ResumeLayout(false);
     this.pnlWhomList.ResumeLayout(false);
     this.panel10.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdClassCalendar)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.superTabControlPanel1.ResumeLayout(false);
     this.pnlWhoList.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdTeacherCalendar)).EndInit();
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.pnlWhoLPView.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabTeacherCalendar)).EndInit();
     this.tabTeacherCalendar.ResumeLayout(false);
     this.superTabControlPanel4.ResumeLayout(false);
     this.superTabControlPanel8.ResumeLayout(false);
     this.pnlWhereList.ResumeLayout(false);
     this.panel15.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grdPlaceCalendar)).EndInit();
     this.panel16.ResumeLayout(false);
     this.panel16.PerformLayout();
     this.pnlWhereLPView.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabClassroomCalendar)).EndInit();
     this.tabClassroomCalendar.ResumeLayout(false);
     this.LeftNavigationPanel.ResumeLayout(false);
     this.panel6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
     this.superTabControl1.ResumeLayout(false);
     this.superTabControlPanel6.ResumeLayout(false);
     this.panel12.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit();
     this.panel13.ResumeLayout(false);
     this.panel13.PerformLayout();
     this.panel14.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).EndInit();
     this.tabControl2.ResumeLayout(false);
     this.superTabControlPanel5.ResumeLayout(false);
     this.panel7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.panel8.ResumeLayout(false);
     this.panel9.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit();
     this.panel11.ResumeLayout(false);
     this.panel11.PerformLayout();
     this.navigationPane1.ResumeLayout(false);
     this.ResumeLayout(false);
 }