Ejemplo n.º 1
0
        private void ShowPanel(DevComponents.DotNetBar.PanelEx panel)
        {
            Utility.SuspendPainting(panelMain);
            SelectedPanel = panel;

            foreach (var p in Panels)
            {
                p.Style.BackColor1.Color = this.BackColor;
                p.Style.BackColor2.Color = this.BackColor;
            }
            panel.Style.BackColor1.Color = Color.FromArgb(90, 90, 90);
            panel.Style.BackColor2.Color = Color.FromArgb(90, 90, 90);
            panelMain.Visible            = true;

            if (panel == panelAuto)
            {
                labelHeading.Text     = "Auto Install";
                labelDescription.Text = "Your license will be retrieved and installed automatically. Requires an internet connection.";
            }
            else if (panel == panelManual)
            {
                labelHeading.Text     = "Manual Install";
                labelDescription.Text = "The website will be opened for you. Download the license file. Double-click it to install.";
            }
            Utility.ResumePainting(panelMain);
        }
Ejemplo n.º 2
0
 private void SetupExpandVerticalPane()
 {
     m_VerticalExpandPane = new PanelEx();
     m_VerticalExpandPane.ColorSchemeStyle = this.ColorSchemeStyle;
     m_VerticalExpandPane.ColorScheme = this.ColorScheme;
     m_VerticalExpandPane.ApplyButtonStyle();
     m_VerticalExpandPane.Style.VerticalText = true;
     m_VerticalExpandPane.Style.ForeColor.ColorSchemePart = eColorSchemePart.PanelText;
     m_VerticalExpandPane.Style.BackColor1.ColorSchemePart = eColorSchemePart.PanelBackground;
     m_VerticalExpandPane.Style.ResetBackColor2();
     m_VerticalExpandPane.StyleMouseOver.VerticalText = true;
     m_VerticalExpandPane.StyleMouseDown.VerticalText = true;
     m_VerticalExpandPane.Dock = DockStyle.Fill;
     m_VerticalExpandPane.Text = TitlePanel.Text;
     
     this.Controls.Add(m_VerticalExpandPane);
     if(this.TitleStyle.Font!=null)
         m_VerticalExpandPane.Font = this.TitleStyle.Font;
     else if (TitlePanel.Font != null)
         m_VerticalExpandPane.Font = TitlePanel.Font;
     m_VerticalExpandPane.Click += new EventHandler(VerticalExpandPaneClick);
     m_VerticalExpandPane.BringToFront();
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle = 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 dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panelEx1 = new PanelEx();
     this.dataGridViewX1 = new DataGridViewX();
     this.colDoctor = new DataGridViewLabelXColumn();
     this.colAnteMeridiem1 = new DataGridViewButtonXColumn();
     this.colPostMeridiem1 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem2 = new DataGridViewButtonXColumn();
     this.colPostMeridiem2 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem3 = new DataGridViewButtonXColumn();
     this.colPostMeridiem3 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem4 = new DataGridViewButtonXColumn();
     this.colPostMeridiem4 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem5 = new DataGridViewButtonXColumn();
     this.colPostMeridiem5 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem6 = new DataGridViewButtonXColumn();
     this.colPostMeridiem6 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem7 = new DataGridViewButtonXColumn();
     this.colPostMeridiem7 = new DataGridViewButtonXColumn();
     this.colAnteMeridiem8 = new DataGridViewButtonXColumn();
     this.colPostMeridiem8 = new DataGridViewButtonXColumn();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.lbDate8 = new LabelX();
     this.lbDate7 = new LabelX();
     this.lbDate6 = new LabelX();
     this.lbDate5 = new LabelX();
     this.lbDate3 = new LabelX();
     this.lbDate1 = new LabelX();
     this.labelX5 = new LabelX();
     this.lbDate2 = new LabelX();
     this.lbDate4 = new LabelX();
     this.panelInfo = new PanelEx();
     this.plPriority = new PanelEx();
     this.itemPrioritys = new ItemPanel();
     this.labelX4 = new LabelX();
     this.panelEx2 = new PanelEx();
     this.btnSwitch = new SwitchButton();
     this.chkWaitforTime = new CheckBoxX();
     this.cmbDepartment = new ComboBoxEx();
     this.labelX3 = new LabelX();
     this.cmbHospital = new ComboBoxEx();
     this.labelX2 = new LabelX();
     this.cmbArea = new ComboBoxEx();
     this.labelX1 = new LabelX();
     this.btnRefresh = new ButtonX();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.panelEx1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)this.dataGridViewX1).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.plPriority.SuspendLayout();
     this.panelEx2.SuspendLayout();
     base.SuspendLayout();
     this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.dataGridViewX1);
     this.panelEx1.Controls.Add(this.tableLayoutPanel1);
     this.panelEx1.Controls.Add(this.panelInfo);
     this.panelEx1.Controls.Add(this.plPriority);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location = new System.Drawing.Point(0, 0);
     this.panelEx1.Name = "panelEx1";
     this.panelEx1.Size = new System.Drawing.Size(1082, 504);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = eColorSchemePart.PanelBackground;
     this.panelEx1.Style.Border = eBorderType.SingleLine;
     this.panelEx1.Style.BorderColor.ColorSchemePart = eColorSchemePart.PanelBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart = eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex = 1;
     this.dataGridViewX1.AllowDrop = true;
     this.dataGridViewX1.AllowUserToAddRows = false;
     this.dataGridViewX1.AllowUserToDeleteRows = false;
     this.dataGridViewX1.AllowUserToResizeColumns = false;
     this.dataGridViewX1.BackgroundColor = System.Drawing.Color.FromArgb(254, 254, 254);
     dataGridViewCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle.Font = new System.Drawing.Font("SimSun", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     dataGridViewCellStyle.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle;
     this.dataGridViewX1.ColumnHeadersHeight = 30;
     this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[]
     {
         this.colDoctor,
         this.colAnteMeridiem1,
         this.colPostMeridiem1,
         this.colAnteMeridiem2,
         this.colPostMeridiem2,
         this.colAnteMeridiem3,
         this.colPostMeridiem3,
         this.colAnteMeridiem4,
         this.colPostMeridiem4,
         this.colAnteMeridiem5,
         this.colPostMeridiem5,
         this.colAnteMeridiem6,
         this.colPostMeridiem6,
         this.colAnteMeridiem7,
         this.colPostMeridiem7,
         this.colAnteMeridiem8,
         this.colPostMeridiem8
     });
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(254, 254, 254);
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft YaHei", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridViewX1.EnableHeadersVisualStyles = false;
     this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(200, 200, 200);
     this.dataGridViewX1.Location = new System.Drawing.Point(0, 158);
     this.dataGridViewX1.MultiSelect = false;
     this.dataGridViewX1.Name = "dataGridViewX1";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("SimSun", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.Black;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewX1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewX1.RowHeadersVisible = false;
     this.dataGridViewX1.RowHeadersWidth = 30;
     dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     this.dataGridViewX1.RowsDefaultCellStyle = dataGridViewCellStyle4;
     this.dataGridViewX1.RowTemplate.Height = 50;
     this.dataGridViewX1.Size = new System.Drawing.Size(1082, 346);
     this.dataGridViewX1.TabIndex = 2;
     this.dataGridViewX1.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewX1_CellContentDoubleClick);
     this.dataGridViewX1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridViewX1_CellMouseDown);
     this.colDoctor.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colDoctor.DataPropertyName = "Doctor";
     this.colDoctor.FillWeight = 94.38452f;
     this.colDoctor.HeaderText = "医生";
     this.colDoctor.MinimumWidth = 100;
     this.colDoctor.Name = "colDoctor";
     this.colDoctor.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     this.colDoctor.Text = "";
     this.colDoctor.TextAlignment = System.Drawing.StringAlignment.Center;
     this.colDoctor.WordWrap = true;
     this.colAnteMeridiem1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem1.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem1.DataPropertyName = "AnteMeridiem1";
     this.colAnteMeridiem1.FillWeight = 94.38452f;
     this.colAnteMeridiem1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colAnteMeridiem1.HeaderText = "上午";
     this.colAnteMeridiem1.Name = "colAnteMeridiem1";
     this.colAnteMeridiem1.ReadOnly = true;
     this.colAnteMeridiem1.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem1.Text = null;
     this.colPostMeridiem1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem1.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem1.DataPropertyName = "PostMeridiem1";
     this.colPostMeridiem1.FillWeight = 94.38452f;
     this.colPostMeridiem1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colPostMeridiem1.HeaderText = "下午";
     this.colPostMeridiem1.Name = "colPostMeridiem1";
     this.colPostMeridiem1.ReadOnly = true;
     this.colPostMeridiem1.SplitButton = true;
     this.colPostMeridiem1.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem1.Text = null;
     this.colAnteMeridiem2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem2.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem2.DataPropertyName = "AnteMeridiem2";
     this.colAnteMeridiem2.FillWeight = 94.38452f;
     this.colAnteMeridiem2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colAnteMeridiem2.HeaderText = "上午";
     this.colAnteMeridiem2.Name = "colAnteMeridiem2";
     this.colAnteMeridiem2.ReadOnly = true;
     this.colAnteMeridiem2.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem2.Text = null;
     this.colPostMeridiem2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem2.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem2.DataPropertyName = "PostMeridiem2";
     this.colPostMeridiem2.FillWeight = 94.38452f;
     this.colPostMeridiem2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colPostMeridiem2.HeaderText = "下午";
     this.colPostMeridiem2.Name = "colPostMeridiem2";
     this.colPostMeridiem2.ReadOnly = true;
     this.colPostMeridiem2.Text = null;
     this.colAnteMeridiem3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem3.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem3.DataPropertyName = "AnteMeridiem3";
     this.colAnteMeridiem3.FillWeight = 94.38452f;
     this.colAnteMeridiem3.HeaderText = "上午";
     this.colAnteMeridiem3.Name = "colAnteMeridiem3";
     this.colAnteMeridiem3.ReadOnly = true;
     this.colAnteMeridiem3.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem3.Text = null;
     this.colPostMeridiem3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem3.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem3.DataPropertyName = "PostMeridiem3";
     this.colPostMeridiem3.FillWeight = 94.38452f;
     this.colPostMeridiem3.HeaderText = "下午";
     this.colPostMeridiem3.Name = "colPostMeridiem3";
     this.colPostMeridiem3.ReadOnly = true;
     this.colPostMeridiem3.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem3.Text = null;
     this.colAnteMeridiem4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem4.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem4.DataPropertyName = "AnteMeridiem4";
     this.colAnteMeridiem4.FillWeight = 94.38452f;
     this.colAnteMeridiem4.HeaderText = "上午";
     this.colAnteMeridiem4.Name = "colAnteMeridiem4";
     this.colAnteMeridiem4.ReadOnly = true;
     this.colAnteMeridiem4.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem4.Text = null;
     this.colPostMeridiem4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem4.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem4.DataPropertyName = "PostMeridiem4";
     this.colPostMeridiem4.FillWeight = 94.38452f;
     this.colPostMeridiem4.HeaderText = "下午";
     this.colPostMeridiem4.Name = "colPostMeridiem4";
     this.colPostMeridiem4.ReadOnly = true;
     this.colPostMeridiem4.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem4.Text = null;
     this.colAnteMeridiem5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem5.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem5.DataPropertyName = "AnteMeridiem5";
     this.colAnteMeridiem5.FillWeight = 94.38452f;
     this.colAnteMeridiem5.HeaderText = "上午";
     this.colAnteMeridiem5.Name = "colAnteMeridiem5";
     this.colAnteMeridiem5.ReadOnly = true;
     this.colAnteMeridiem5.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem5.Text = null;
     this.colPostMeridiem5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem5.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem5.DataPropertyName = "PostMeridiem5";
     this.colPostMeridiem5.FillWeight = 94.38452f;
     this.colPostMeridiem5.HeaderText = "下午";
     this.colPostMeridiem5.Name = "colPostMeridiem5";
     this.colPostMeridiem5.ReadOnly = true;
     this.colPostMeridiem5.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem5.Text = null;
     this.colAnteMeridiem6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem6.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem6.DataPropertyName = "AnteMeridiem6";
     this.colAnteMeridiem6.FillWeight = 94.38452f;
     this.colAnteMeridiem6.HeaderText = "上午";
     this.colAnteMeridiem6.Name = "colAnteMeridiem6";
     this.colAnteMeridiem6.ReadOnly = true;
     this.colAnteMeridiem6.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem6.Text = null;
     this.colPostMeridiem6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem6.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem6.DataPropertyName = "PostMeridiem6";
     this.colPostMeridiem6.FillWeight = 94.38452f;
     this.colPostMeridiem6.HeaderText = "下午";
     this.colPostMeridiem6.Name = "colPostMeridiem6";
     this.colPostMeridiem6.ReadOnly = true;
     this.colPostMeridiem6.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem6.Text = null;
     this.colAnteMeridiem7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem7.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem7.DataPropertyName = "AnteMeridiem7";
     this.colAnteMeridiem7.FillWeight = 94.38452f;
     this.colAnteMeridiem7.HeaderText = "上午";
     this.colAnteMeridiem7.Name = "colAnteMeridiem7";
     this.colAnteMeridiem7.ReadOnly = true;
     this.colAnteMeridiem7.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem7.Text = null;
     this.colPostMeridiem7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem7.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem7.DataPropertyName = "PostMeridiem7";
     this.colPostMeridiem7.FillWeight = 94.38452f;
     this.colPostMeridiem7.HeaderText = "下午";
     this.colPostMeridiem7.Name = "colPostMeridiem7";
     this.colPostMeridiem7.ReadOnly = true;
     this.colPostMeridiem7.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem7.Text = null;
     this.colAnteMeridiem8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colAnteMeridiem8.ColorTable = eButtonColor.Office2007WithBackground;
     this.colAnteMeridiem8.DataPropertyName = "AnteMeridiem8";
     this.colAnteMeridiem8.FillWeight = 94.38452f;
     this.colAnteMeridiem8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colAnteMeridiem8.HeaderText = "上午";
     this.colAnteMeridiem8.Name = "colAnteMeridiem8";
     this.colAnteMeridiem8.ReadOnly = true;
     this.colAnteMeridiem8.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colAnteMeridiem8.Text = null;
     this.colPostMeridiem8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.colPostMeridiem8.ColorTable = eButtonColor.Office2007WithBackground;
     this.colPostMeridiem8.DataPropertyName = "PostMeridiem8";
     this.colPostMeridiem8.FillWeight = 94.38452f;
     this.colPostMeridiem8.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.colPostMeridiem8.HeaderText = "下午";
     this.colPostMeridiem8.Name = "colPostMeridiem8";
     this.colPostMeridiem8.ReadOnly = true;
     this.colPostMeridiem8.Style = eDotNetBarStyle.StyleManagerControlled;
     this.colPostMeridiem8.Text = null;
     this.tableLayoutPanel1.CausesValidation = false;
     this.tableLayoutPanel1.ColumnCount = 9;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 922f));
     this.tableLayoutPanel1.Controls.Add(this.lbDate8, 8, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate7, 7, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate6, 6, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate5, 5, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate3, 3, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.labelX5, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate2, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.lbDate4, 4, 0);
     this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 123);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 1;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tableLayoutPanel1.Size = new System.Drawing.Size(1082, 35);
     this.tableLayoutPanel1.TabIndex = 0;
     this.lbDate8.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate8.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate8.Location = new System.Drawing.Point(163, 3);
     this.lbDate8.Name = "lbDate8";
     this.lbDate8.Size = new System.Drawing.Size(916, 29);
     this.lbDate8.TabIndex = 9;
     this.lbDate8.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate7.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate7.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate7.Location = new System.Drawing.Point(143, 3);
     this.lbDate7.Name = "lbDate7";
     this.lbDate7.Size = new System.Drawing.Size(14, 29);
     this.lbDate7.TabIndex = 8;
     this.lbDate7.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate6.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate6.Location = new System.Drawing.Point(123, 3);
     this.lbDate6.Name = "lbDate6";
     this.lbDate6.Size = new System.Drawing.Size(14, 29);
     this.lbDate6.TabIndex = 7;
     this.lbDate6.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate5.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate5.Location = new System.Drawing.Point(103, 3);
     this.lbDate5.Name = "lbDate5";
     this.lbDate5.Size = new System.Drawing.Size(14, 29);
     this.lbDate5.TabIndex = 6;
     this.lbDate5.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate3.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate3.Location = new System.Drawing.Point(63, 3);
     this.lbDate3.Name = "lbDate3";
     this.lbDate3.Size = new System.Drawing.Size(14, 29);
     this.lbDate3.TabIndex = 5;
     this.lbDate3.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate1.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate1.Location = new System.Drawing.Point(23, 3);
     this.lbDate1.Name = "lbDate1";
     this.lbDate1.Size = new System.Drawing.Size(14, 29);
     this.lbDate1.TabIndex = 3;
     this.lbDate1.TextAlignment = System.Drawing.StringAlignment.Center;
     this.labelX5.BackgroundStyle.CornerType = eCornerType.Square;
     this.labelX5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.labelX5.Location = new System.Drawing.Point(3, 3);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(14, 29);
     this.labelX5.TabIndex = 2;
     this.labelX5.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate2.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate2.Location = new System.Drawing.Point(43, 3);
     this.lbDate2.Name = "lbDate2";
     this.lbDate2.Size = new System.Drawing.Size(14, 29);
     this.lbDate2.TabIndex = 0;
     this.lbDate2.TextAlignment = System.Drawing.StringAlignment.Center;
     this.lbDate4.BackgroundStyle.CornerType = eCornerType.Square;
     this.lbDate4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lbDate4.Location = new System.Drawing.Point(83, 3);
     this.lbDate4.Name = "lbDate4";
     this.lbDate4.Size = new System.Drawing.Size(14, 29);
     this.lbDate4.TabIndex = 4;
     this.lbDate4.TextAlignment = System.Drawing.StringAlignment.Center;
     this.panelInfo.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelInfo.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled;
     this.panelInfo.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelInfo.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelInfo.Location = new System.Drawing.Point(0, 87);
     this.panelInfo.Name = "panelInfo";
     this.panelInfo.Size = new System.Drawing.Size(1082, 36);
     this.panelInfo.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelInfo.Style.BackColor1.Color = System.Drawing.Color.Transparent;
     this.panelInfo.Style.Font = new System.Drawing.Font("SimSun", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
     this.panelInfo.Style.ForeColor.Color = System.Drawing.Color.FromArgb(192, 0, 0);
     this.panelInfo.Style.GradientAngle = 90;
     this.panelInfo.Style.WordWrap = true;
     this.panelInfo.TabIndex = 3;
     this.plPriority.CanvasColor = System.Drawing.SystemColors.Control;
     this.plPriority.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled;
     this.plPriority.Controls.Add(this.itemPrioritys);
     this.plPriority.Controls.Add(this.labelX4);
     this.plPriority.DisabledBackColor = System.Drawing.Color.Empty;
     this.plPriority.Dock = System.Windows.Forms.DockStyle.Top;
     this.plPriority.Location = new System.Drawing.Point(0, 50);
     this.plPriority.Name = "plPriority";
     this.plPriority.Size = new System.Drawing.Size(1082, 37);
     this.plPriority.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.plPriority.Style.BackColor1.ColorSchemePart = eColorSchemePart.PanelBackground;
     this.plPriority.Style.Border = eBorderType.SingleLine;
     this.plPriority.Style.BorderColor.ColorSchemePart = eColorSchemePart.PanelBorder;
     this.plPriority.Style.ForeColor.ColorSchemePart = eColorSchemePart.PanelText;
     this.plPriority.Style.GradientAngle = 90;
     this.plPriority.TabIndex = 0;
     this.plPriority.Visible = false;
     this.itemPrioritys.AllowDrop = true;
     this.itemPrioritys.BackgroundStyle.Class = "ItemPanel";
     this.itemPrioritys.BackgroundStyle.CornerType = eCornerType.Square;
     this.itemPrioritys.BackgroundStyle.Description = "这是一个测试";
     this.itemPrioritys.BackgroundStyle.Name = "这是一个测试2";
     this.itemPrioritys.ContainerControlProcessDialogKey = true;
     this.itemPrioritys.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPrioritys.DragDropSupport = true;
     this.itemPrioritys.ItemSpacing = 5;
     this.itemPrioritys.Location = new System.Drawing.Point(97, 0);
     this.itemPrioritys.MultiLine = true;
     this.itemPrioritys.Name = "itemPrioritys";
     this.itemPrioritys.Size = new System.Drawing.Size(985, 37);
     this.itemPrioritys.Style = eDotNetBarStyle.StyleManagerControlled;
     this.itemPrioritys.TabIndex = 1;
     this.itemPrioritys.Text = "测试下";
     this.itemPrioritys.UseNativeDragDrop = true;
     this.itemPrioritys.ItemDoubleClick += new System.Windows.Forms.MouseEventHandler(this.itemPrioritys_ItemDoubleClick);
     this.itemPrioritys.DragDrop += new System.Windows.Forms.DragEventHandler(this.itemPrioritys_DragDrop);
     this.itemPrioritys.DragEnter += new System.Windows.Forms.DragEventHandler(this.itemPrioritys_DragEnter);
     this.labelX4.BackgroundStyle.CornerType = eCornerType.Square;
     this.labelX4.Dock = System.Windows.Forms.DockStyle.Left;
     this.labelX4.Location = new System.Drawing.Point(0, 0);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(97, 37);
     this.labelX4.TabIndex = 0;
     this.labelX4.Text = "医生优先级:";
     this.labelX4.TextAlignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.btnSwitch);
     this.panelEx2.Controls.Add(this.chkWaitforTime);
     this.panelEx2.Controls.Add(this.cmbDepartment);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.cmbHospital);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.cmbArea);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Controls.Add(this.btnRefresh);
     this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelEx2.Dock = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location = new System.Drawing.Point(0, 0);
     this.panelEx2.Name = "panelEx2";
     this.panelEx2.Size = new System.Drawing.Size(1082, 50);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = eColorSchemePart.PanelBackground;
     this.panelEx2.Style.Border = eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart = eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex = 0;
     this.btnSwitch.BackgroundStyle.CornerType = eCornerType.Square;
     this.btnSwitch.Enabled = false;
     this.btnSwitch.Location = new System.Drawing.Point(800, 24);
     this.btnSwitch.Name = "btnSwitch";
     this.btnSwitch.OffText = "隐藏优先级";
     this.btnSwitch.OnText = "展开优先级";
     this.btnSwitch.Size = new System.Drawing.Size(110, 22);
     this.btnSwitch.Style = eDotNetBarStyle.StyleManagerControlled;
     this.btnSwitch.TabIndex = 8;
     this.btnSwitch.ValueChanged += new System.EventHandler(this.btnSwitch_ValueChanged);
     this.chkWaitforTime.BackgroundStyle.CornerType = eCornerType.Square;
     this.chkWaitforTime.FocusCuesEnabled = false;
     this.chkWaitforTime.Location = new System.Drawing.Point(801, 1);
     this.chkWaitforTime.Name = "chkWaitforTime";
     this.chkWaitforTime.Size = new System.Drawing.Size(109, 23);
     this.chkWaitforTime.Style = eDotNetBarStyle.StyleManagerControlled;
     this.chkWaitforTime.TabIndex = 6;
     this.chkWaitforTime.Text = "静候放票";
     this.chkWaitforTime.CheckedChanged += new System.EventHandler(this.chkWaitforTime_CheckedChanged);
     this.cmbDepartment.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.cmbDepartment.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.cmbDepartment.DisplayMember = "Text";
     this.cmbDepartment.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbDepartment.FormattingEnabled = true;
     this.cmbDepartment.ItemHeight = 15;
     this.cmbDepartment.Location = new System.Drawing.Point(545, 16);
     this.cmbDepartment.Name = "cmbDepartment";
     this.cmbDepartment.Size = new System.Drawing.Size(238, 21);
     this.cmbDepartment.Style = eDotNetBarStyle.StyleManagerControlled;
     this.cmbDepartment.TabIndex = 5;
     this.cmbDepartment.SelectedIndexChanged += new System.EventHandler(this.cmbDepartment_SelectedIndexChanged);
     this.labelX3.BackgroundStyle.CornerType = eCornerType.Square;
     this.labelX3.Location = new System.Drawing.Point(504, 16);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(49, 23);
     this.labelX3.TabIndex = 4;
     this.labelX3.Text = "科室:";
     this.cmbHospital.DisplayMember = "Text";
     this.cmbHospital.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbHospital.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbHospital.FormattingEnabled = true;
     this.cmbHospital.ItemHeight = 15;
     this.cmbHospital.Location = new System.Drawing.Point(206, 15);
     this.cmbHospital.Name = "cmbHospital";
     this.cmbHospital.Size = new System.Drawing.Size(272, 21);
     this.cmbHospital.Style = eDotNetBarStyle.StyleManagerControlled;
     this.cmbHospital.TabIndex = 2;
     this.cmbHospital.SelectedIndexChanged += new System.EventHandler(this.cmbHospital_SelectedIndexChanged);
     this.labelX2.BackgroundStyle.CornerType = eCornerType.Square;
     this.labelX2.Location = new System.Drawing.Point(167, 15);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(49, 23);
     this.labelX2.TabIndex = 3;
     this.labelX2.Text = "医院:";
     this.cmbArea.DisplayMember = "Text";
     this.cmbArea.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbArea.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbArea.FormattingEnabled = true;
     this.cmbArea.ItemHeight = 15;
     this.cmbArea.Location = new System.Drawing.Point(62, 15);
     this.cmbArea.Name = "cmbArea";
     this.cmbArea.Size = new System.Drawing.Size(79, 21);
     this.cmbArea.Style = eDotNetBarStyle.StyleManagerControlled;
     this.cmbArea.TabIndex = 1;
     this.cmbArea.DropDown += new System.EventHandler(this.cmbArea_DropDown);
     this.cmbArea.SelectedIndexChanged += new System.EventHandler(this.cmbArea_SelectedIndexChanged);
     this.labelX1.BackgroundStyle.CornerType = eCornerType.Square;
     this.labelX1.Location = new System.Drawing.Point(19, 15);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(49, 23);
     this.labelX1.TabIndex = 1;
     this.labelX1.Text = "地区:";
     this.btnRefresh.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnRefresh.ColorTable = eButtonColor.OrangeWithBackground;
     this.btnRefresh.Dock = System.Windows.Forms.DockStyle.Right;
     this.btnRefresh.Font = new System.Drawing.Font("SimSun", 14.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
     this.btnRefresh.Location = new System.Drawing.Point(992, 0);
     this.btnRefresh.Name = "btnRefresh";
     this.btnRefresh.Size = new System.Drawing.Size(90, 50);
     this.btnRefresh.Style = eDotNetBarStyle.StyleManagerControlled;
     this.btnRefresh.TabIndex = 0;
     this.btnRefresh.Text = "刷新";
     this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
     base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
     base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     base.Controls.Add(this.panelEx1);
     base.Name = "RegisterControl";
     base.Size = new System.Drawing.Size(1082, 504);
     base.SizeChanged += new System.EventHandler(this.RegisterControl_SizeChanged);
     this.panelEx1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)this.dataGridViewX1).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.plPriority.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Ejemplo n.º 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.Button1 = new DevComponents.DotNetBar.ButtonX();
            this.Button2 = new DevComponents.DotNetBar.ButtonX();
            this.Button3 = new DevComponents.DotNetBar.ButtonX();
            this.PictureBox1 = new System.Windows.Forms.PictureBox();
            this.TextPanel = new DevComponents.DotNetBar.PanelEx();
            this.ButtonBackgroundPanel = new DevComponents.DotNetBar.PanelEx();
            this.SuspendLayout();
            // 
            // Button1
            // 
            this.Button1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.Button1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.Button1.Location = new System.Drawing.Point(26, 85);
            this.Button1.Name = "Button1";
            this.Button1.Size = new System.Drawing.Size(77, 24);
            this.Button1.TabIndex = 0;
            this.Button1.Text = "&OK";
            this.Button1.Click += new System.EventHandler(this.Button1_Click);
            // 
            // Button2
            // 
            this.Button2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.Button2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.Button2.Location = new System.Drawing.Point(109, 85);
            this.Button2.Name = "Button2";
            this.Button2.Size = new System.Drawing.Size(77, 24);
            this.Button2.TabIndex = 1;
            this.Button2.Text = "&Cancel";
            this.Button2.Click += new System.EventHandler(this.Button2_Click);
            // 
            // Button3
            // 
            this.Button3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.Button3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.Button3.Location = new System.Drawing.Point(192, 85);
            this.Button3.Name = "Button3";
            this.Button3.Size = new System.Drawing.Size(77, 24);
            this.Button3.TabIndex = 2;
            this.Button3.Text = "&Ignore";
            this.Button3.Click += new System.EventHandler(this.Button3_Click);
            // 
            // PictureBox1
            // 
            this.PictureBox1.BackColor = System.Drawing.Color.Transparent;
            this.PictureBox1.Location = new System.Drawing.Point(10, 10);
            this.PictureBox1.Name = "PictureBox1";
            this.PictureBox1.Size = new System.Drawing.Size(34, 34);
            this.PictureBox1.TabIndex = 3;
            this.PictureBox1.TabStop = false;
            // 
            // TextPanel
            // 
            this.TextPanel.AntiAlias = false;
            this.TextPanel.CanvasColor = System.Drawing.SystemColors.Control;
            this.TextPanel.Location = new System.Drawing.Point(53, 10);
            this.TextPanel.Name = "TextPanel";
            this.TextPanel.Size = new System.Drawing.Size(225, 53);
            this.TextPanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            this.TextPanel.Style.BorderWidth = 0;
            this.TextPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
            this.TextPanel.Style.GradientAngle = 90;
            this.TextPanel.Style.LineAlignment = System.Drawing.StringAlignment.Near;
            this.TextPanel.TabIndex = 4;
            this.TextPanel.TabStop = false;
            this.TextPanel.Style.WordWrap = true;
            this.TextPanel.MarkupLinkClick += new MarkupLinkClickEventHandler(TextPanelMarkupLinkClick);

            // 
            // ButtonBackgroundPanel
            // 
            this.ButtonBackgroundPanel.AntiAlias = false;
            this.ButtonBackgroundPanel.CanvasColor = System.Drawing.SystemColors.Control;
            this.ButtonBackgroundPanel.Location = new System.Drawing.Point(53, 10);
            this.ButtonBackgroundPanel.Name = "ButtonBackgroundPanel";
            this.ButtonBackgroundPanel.Size = new System.Drawing.Size(225, 42);
            this.ButtonBackgroundPanel.Dock = DockStyle.Bottom;
            this.ButtonBackgroundPanel.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled;
            this.ButtonBackgroundPanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            this.ButtonBackgroundPanel.Style.BorderWidth = 1;
            this.ButtonBackgroundPanel.Style.BorderSide = eBorderSide.Top;
            this.ButtonBackgroundPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
            this.ButtonBackgroundPanel.Style.BackColor1.ColorSchemePart = eColorSchemePart.BarBackground;
            this.ButtonBackgroundPanel.Style.BorderColor.ColorSchemePart = eColorSchemePart.BarDockedBorder;
            this.ButtonBackgroundPanel.Style.GradientAngle = 90;
            this.ButtonBackgroundPanel.Style.LineAlignment = System.Drawing.StringAlignment.Near;
            this.ButtonBackgroundPanel.TabIndex = 4;
            this.ButtonBackgroundPanel.TabStop = false;
            // 
            // MessageBoxDialog
            // 
#if FRAMEWORK20
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
#endif
            this.ClientSize = new System.Drawing.Size(290, 121);
            this.ShowInTaskbar = false;
            this.Controls.Add(this.TextPanel);
            this.Controls.Add(this.PictureBox1);
            this.Controls.Add(this.Button3);
            this.Controls.Add(this.Button2);
            this.Controls.Add(this.Button1);
            this.Controls.Add(this.ButtonBackgroundPanel);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "MessageBoxDialog";
            this.ResumeLayout(false);

        }
Ejemplo n.º 5
0
        private void ShowPanel(DevComponents.DotNetBar.PanelEx panel)
        {
            Utility.SuspendPainting(panelMain);
            SelectedPanel = panel;

            for (int i = 0; i < Panels.Count; i++)
            {
                var p = Panels[i];
                p.Style.BackColor1.Color = this.BackColor;
                p.Style.BackColor2.Color = this.BackColor;
                p.Style.ForeColor.Color = Color.Black;
                PictureBoxes[i].Image = imageList1.Images[i * 2 + 1];
            }
            panel.Style.BackColor1.Color = Color.FromArgb(90, 90, 90);
            panel.Style.BackColor2.Color = Color.FromArgb(90, 90, 90);
            panel.Style.ForeColor.Color = Color.White;
            panelMain.Visible = true;
            textBoxSerial.Visible = false;
            textBoxLicenseFile.Visible = false;
            buttonBrowse.Visible = false;
            buttonGetNewTrialLicenseAuto.Visible = false;
            buttonGetNewTrialLicenseManual.Visible = false;
            buttonContinue.Visible = false;
            buttonBuyNow.Visible = false;
            buttonInstallLicenseFile.Visible = false;
            buttonExtendTrial.Visible = false;
            labelDescription.Top = labelHeading.Bottom + 10;
            labelSerial.Visible = false;
            labelEmail.Visible = false;
            textBoxEmail.Visible = false;

            if (panel == panelContinueTrial)
            {
                if (frmLicenseWizard.LicenseStatus == SlyceAuthorizer.LicenseStates.LicenseFileNotFound)
                {
                    labelHeading.Text = "Start trial";
                    labelDescription.Text = "Get a trial license. Click 'Start trial' to automatically install a license (requires internet connection). Click 'Visit website' to manually download a license from the website.";
                    buttonGetNewTrialLicenseAuto.Text = "Start trial";
                    buttonGetNewTrialLicenseAuto.Visible = true;
                    buttonGetNewTrialLicenseManual.Visible = true;
                    labelEmail.Visible = true;
                    textBoxEmail.Visible = true;
                }
                else
                {
                    labelHeading.Text = "Continue trial";
                    labelDescription.Text = "Click to 'Continue trial' to continue using the trial version.";
                    buttonContinue.Visible = true;
                }
                pictureBoxStartTrial.Image = imageList1.Images[(int)Images.StartTrial];
            }
            else if (panel == panelSerial)
            {
                labelHeading.Text = "Enter serial number";
                labelDescription.Text = "If you have a serial number (purchased), enter it then click 'Get license' to download and install your full license.";
                textBoxSerial.Visible = true;
                labelSerial.Visible = true;
                buttonGetNewTrialLicenseAuto.Text = "Get license";
                buttonGetNewTrialLicenseAuto.Visible = true;
                buttonGetNewTrialLicenseManual.Visible = true;
                pictureBoxSerial.Image = imageList1.Images[(int)Images.SerialNumber];
            }
            else if (panel == panelLicenseFile)
            {
                labelHeading.Text = "Install license file";
                labelDescription.Text = "If you already have a license file, locate it then click 'Install'.";
                textBoxLicenseFile.Visible = true;
                buttonBrowse.Visible = true;
                buttonInstallLicenseFile.Visible = true;
                pictureBoxLicense.Image = imageList1.Images[(int)Images.License];
            }
            else if (panel == panelBuy)
            {
                labelHeading.Text = "Buy now";
                labelDescription.Text = "Click 'Buy now' to purchase online.";
                buttonBuyNow.Visible = true;
                pictureBoxPurchase.Image = imageList1.Images[(int)Images.Purchase];
            }
            else if (panel == panelExtendTrial)
            {
                labelHeading.Text = "Request trial extesion";
                labelDescription.Text = "Click to send an email requesting a trial extension.";
                pictureBoxExtend.Image = imageList1.Images[(int)Images.Extend];
                buttonExtendTrial.Visible = true;
            }
            Utility.ResumePainting(panelMain);
        }
Ejemplo n.º 6
0
        private void buttonRefreshLicense_Click(object sender, System.EventArgs e)
        {
            // Determine existing license, trial or full
            if (LicenseMonitor.CurrentLicense.Lic.Type == License.LicenseTypes.Trial)
            {
                File.Delete(LicenseMonitor.LicenseFilePath);
                ParentForm.Cursor = Cursors.WaitCursor;
                buttonGetNewTrialLicenseAuto.Enabled = false;
                backgroundWorker1.RunWorkerAsync("GetNewTrialLicenseAuto");
            }
            else if (LicenseMonitor.CurrentLicense.Lic.Type == License.LicenseTypes.Full)
            {
                textBoxSerial.Text = LicenseMonitor.CurrentLicense.Lic.Serial;
                SelectedPanel = panelSerial;
                ShowPanel(panelSerial);
                Refresh();

                File.Delete(LicenseMonitor.LicenseFilePath);

                ParentForm.Cursor = Cursors.WaitCursor;
                buttonGetNewTrialLicenseAuto.Enabled = false;
                backgroundWorker1.RunWorkerAsync("GetNewTrialLicenseAuto");
            }
        }
Ejemplo n.º 7
0
        private void ShowPanel(DevComponents.DotNetBar.PanelEx panel)
        {
            Utility.SuspendPainting(panelMain);
            SelectedPanel = panel;

            for (int i = 0; i < Panels.Count; i++)
            {
                var p = Panels[i];
                p.Style.BackColor1.Color = this.BackColor;
                p.Style.BackColor2.Color = this.BackColor;
                p.Style.ForeColor.Color  = Color.Black;
                PictureBoxes[i].Image    = imageList1.Images[i * 2 + 1];
            }
            panel.Style.BackColor1.Color           = Color.FromArgb(90, 90, 90);
            panel.Style.BackColor2.Color           = Color.FromArgb(90, 90, 90);
            panel.Style.ForeColor.Color            = Color.White;
            panelMain.Visible                      = true;
            textBoxSerial.Visible                  = false;
            textBoxLicenseFile.Visible             = false;
            buttonBrowse.Visible                   = false;
            buttonGetNewTrialLicenseAuto.Visible   = false;
            buttonGetNewTrialLicenseManual.Visible = false;
            buttonContinue.Visible                 = false;
            buttonBuyNow.Visible                   = false;
            buttonInstallLicenseFile.Visible       = false;
            buttonExtendTrial.Visible              = false;
            labelDescription.Top                   = labelHeading.Bottom + 10;
            labelSerial.Visible                    = false;
            labelEmail.Visible                     = false;
            textBoxEmail.Visible                   = false;

            if (panel == panelContinueTrial)
            {
                if (frmLicenseWizard.LicenseStatus == SlyceAuthorizer.LicenseStates.LicenseFileNotFound)
                {
                    labelHeading.Text                      = "Start trial";
                    labelDescription.Text                  = "Get a trial license. Click 'Start trial' to automatically install a license (requires internet connection). Click 'Visit website' to manually download a license from the website.";
                    buttonGetNewTrialLicenseAuto.Text      = "Start trial";
                    buttonGetNewTrialLicenseAuto.Visible   = true;
                    buttonGetNewTrialLicenseManual.Visible = true;
                    labelEmail.Visible                     = true;
                    textBoxEmail.Visible                   = true;
                }
                else
                {
                    labelHeading.Text      = "Continue trial";
                    labelDescription.Text  = "Click to 'Continue trial' to continue using the trial version.";
                    buttonContinue.Visible = true;
                }
                pictureBoxStartTrial.Image = imageList1.Images[(int)Images.StartTrial];
            }
            else if (panel == panelSerial)
            {
                labelHeading.Text                      = "Enter serial number";
                labelDescription.Text                  = "If you have a serial number (purchased), enter it then click 'Get license' to download and install your full license.";
                textBoxSerial.Visible                  = true;
                labelSerial.Visible                    = true;
                buttonGetNewTrialLicenseAuto.Text      = "Get license";
                buttonGetNewTrialLicenseAuto.Visible   = true;
                buttonGetNewTrialLicenseManual.Visible = true;
                pictureBoxSerial.Image                 = imageList1.Images[(int)Images.SerialNumber];
            }
            else if (panel == panelLicenseFile)
            {
                labelHeading.Text                = "Install license file";
                labelDescription.Text            = "If you already have a license file, locate it then click 'Install'.";
                textBoxLicenseFile.Visible       = true;
                buttonBrowse.Visible             = true;
                buttonInstallLicenseFile.Visible = true;
                pictureBoxLicense.Image          = imageList1.Images[(int)Images.License];
            }
            else if (panel == panelBuy)
            {
                labelHeading.Text        = "Buy now";
                labelDescription.Text    = "Click 'Buy now' to purchase online.";
                buttonBuyNow.Visible     = true;
                pictureBoxPurchase.Image = imageList1.Images[(int)Images.Purchase];
            }
            else if (panel == panelExtendTrial)
            {
                labelHeading.Text         = "Request trial extesion";
                labelDescription.Text     = "Click to send an email requesting a trial extension.";
                pictureBoxExtend.Image    = imageList1.Images[(int)Images.Extend];
                buttonExtendTrial.Visible = true;
            }
            Utility.ResumePainting(panelMain);
        }
Ejemplo n.º 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_panelMain   = new DevComponents.DotNetBar.PanelEx();
     this.panelEx2      = new DevComponents.DotNetBar.PanelEx();
     this.panelEmbedded = new DevComponents.DotNetBar.PanelEx();
     this.spacer        = new DevComponents.DotNetBar.PanelEx();
     this.testPanel     = new DevComponents.DotNetBar.PanelEx();
     this.m_panelMain.SuspendLayout();
     this.panelEx2.SuspendLayout();
     this.SuspendLayout();
     //
     // m_panelMain
     //
     this.m_panelMain.Controls.Add(this.panelEx2);
     this.m_panelMain.Controls.Add(this.spacer);
     this.m_panelMain.Controls.Add(this.testPanel);
     this.m_panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.m_panelMain.DockPadding.Bottom = 0;
     this.m_panelMain.DockPadding.Left   = 2;
     this.m_panelMain.DockPadding.Right  = 2;
     this.m_panelMain.DockPadding.Top    = 0;
     this.m_panelMain.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_panelMain.Location = new System.Drawing.Point(0, 0);
     this.m_panelMain.Name     = "m_panelMain";
     this.m_panelMain.Size     = new System.Drawing.Size(704, 24);
     this.m_panelMain.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.m_panelMain.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.m_panelMain.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.m_panelMain.Style.BorderSide  = DevComponents.DotNetBar.eBorderSide.None;
     this.m_panelMain.Style.BorderWidth = 0;
     this.m_panelMain.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.m_panelMain.Style.GradientAngle             = 90;
     this.m_panelMain.TabIndex = 0;
     this.m_panelMain.Text     = "Title";
     //
     // panelEx2
     //
     this.panelEx2.Controls.Add(this.panelEmbedded);
     this.panelEx2.Dock            = System.Windows.Forms.DockStyle.Right;
     this.panelEx2.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panelEx2.Location        = new System.Drawing.Point(465, 2);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(56, 20);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Far;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.StyleMouseOver.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotBackground;
     this.panelEx2.StyleMouseOver.ForeColor.Color            = System.Drawing.Color.Yellow;
     this.panelEx2.TabIndex = 2;
     this.panelEx2.Text     = "Test2";
     //
     // panelEmbedded
     //
     this.panelEmbedded.Location        = new System.Drawing.Point(0, 0);
     this.panelEmbedded.Name            = "panelEmbedded";
     this.panelEmbedded.Size            = new System.Drawing.Size(20, 20);
     this.panelEmbedded.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEmbedded.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEmbedded.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEmbedded.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEmbedded.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEmbedded.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEmbedded.Style.GradientAngle = 90;
     this.panelEmbedded.TabIndex            = 0;
     this.panelEmbedded.Text = "zzz";
     //
     // spacer
     //
     this.spacer.Dock            = System.Windows.Forms.DockStyle.Right;
     this.spacer.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.spacer.Location        = new System.Drawing.Point(521, 2);
     this.spacer.Name            = "spacer";
     this.spacer.Size            = new System.Drawing.Size(48, 20);
     this.spacer.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.spacer.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.spacer.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.spacer.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.spacer.Style.BorderSide  = DevComponents.DotNetBar.eBorderSide.None;
     this.spacer.Style.BorderWidth = 0;
     this.spacer.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
     this.spacer.Style.GradientAngle             = 90;
     this.spacer.StyleMouseOver.ForeColor.Color  = System.Drawing.Color.Yellow;
     this.spacer.TabIndex = 1;
     //
     // testPanel
     //
     this.testPanel.Dock            = System.Windows.Forms.DockStyle.Right;
     this.testPanel.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.testPanel.Location        = new System.Drawing.Point(569, 2);
     this.testPanel.Name            = "testPanel";
     this.testPanel.Size            = new System.Drawing.Size(120, 20);
     this.testPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.testPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedBackground;
     this.testPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedBackground2;
     this.testPanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.testPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.testPanel.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
     this.testPanel.Style.GradientAngle            = 90;
     this.testPanel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.Yellow;
     this.testPanel.TabIndex = 0;
     this.testPanel.Text     = "Test";
     //
     // PaneBar
     //
     this.Controls.Add(this.m_panelMain);
     this.Name = "PaneBar";
     this.Size = new System.Drawing.Size(696, 24);
     this.m_panelMain.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 9
0
 private void AddItem(PanelEx panel)
 {
     TaggingContainer.Controls.Add(panel);
 }
Ejemplo n.º 10
0
        /*  Constructor  */
        public DecPeriod(DevComponents.DotNetBar.PanelEx pnl, int colIndex, int rowIndex, SchedulerType schType)
        {
            this._pnl = pnl;
            this._schType = schType;
            this._colIndex = colIndex;
            this._rowIndex = rowIndex;
            /*
            this.pnlCover = new Panel();
            this.pnlCover.Size = new Size(this._pnl.Size.Width-2, this._pnl.Size.Height-2);
            this.pnlCover.Location = new Point(1, 1);
            this.pnlCover.Click += new EventHandler(_pnl_Click);
            this.pnlCover.MouseEnter += new EventHandler(_pnl_MouseEnter);
            this.pnlCover.MouseLeave += new EventHandler(_pnl_MouseLeave);
            this.pnlCover.BackColor = Color.Yellow;
            this.pnlCover.BringToFront();
            this._pnl.Controls.Add(this.pnlCover);
            */

            /* 註冊事件  */

            this._pnl.Click += new EventHandler(_pnl_Click);
            this._pnl.MouseEnter += new EventHandler(_pnl_MouseEnter);
            this._pnl.MouseLeave += new EventHandler(_pnl_MouseLeave);

            /* picBox */
            this.picBox = new PictureBox();
            Size s = new Size(16, 16);
            Point pt = new Point(this._pnl.Width - s.Width - 6, this._pnl.Height - s.Height - 6);
            this.picBox.Size = s;
            this.picBox.Location = pt;
            //this.picBox.Image = Properties.Resources.busy;
            this.picBox.SizeMode = PictureBoxSizeMode.StretchImage;
            this.picBox.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this._pnl.Controls.Add(this.picBox);
            this.picBox.Click += new EventHandler(picBox_Click);

            /* 建立 label */
            this.dicLables = new Dictionary<string, Label>();
            int initX = 6;
            int initY = 6;
            int labelHeight = 20;
            for (int i = 0; i < 3; i++)
            {
                Label lbl = new Label();
                lbl.Name = string.Format("label{0}", (i + 1).ToString());
                lbl.Visible = true;
                lbl.Text = "This is :" + i.ToString();
                Point p = new Point(initX, initY + i * labelHeight);
                lbl.Location = p;
                if (i == 0)
                    this.lbl1 = lbl;
                else if (i == 1)
                    this.lbl2 = lbl;
                else if (i == 2)
                    this.lbl3 = lbl;

                lbl.Click += new EventHandler(_pnl_Click);

                lbl.MouseEnter += new EventHandler(lbl_MouseEnter);
                lbl.MouseLeave += new EventHandler(lbl_MouseLeave);

                /*    * */
                this.dicLables.Add(lbl.Name, lbl);
                this._pnl.Controls.Add(lbl);
            }
        }
Ejemplo n.º 11
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.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Deleted Items", 1, 1);
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Drafts", 1, 1);
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Inbox", 1, 1);
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Outbox", 1, 1);
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Sent Items", 1, 1);
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Personal Folders", 0, 0, new System.Windows.Forms.TreeNode[] {
         treeNode1,
         treeNode2,
         treeNode3,
         treeNode4,
         treeNode5
     });
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.navigationPane1      = new DevComponents.DotNetBar.NavigationPane();
     this.navigationPanePanel1 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.treeView1            = new System.Windows.Forms.TreeView();
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.panelEx1             = new DevComponents.DotNetBar.PanelEx();
     this.buttonItem1          = new DevComponents.DotNetBar.ButtonItem();
     this.navigationPanePanel2 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.buttonItem2          = new DevComponents.DotNetBar.ButtonItem();
     this.navigationPanePanel3 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.buttonItem3          = new DevComponents.DotNetBar.ButtonItem();
     this.navigationPanePanel5 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.buttonItem5          = new DevComponents.DotNetBar.ButtonItem();
     this.navigationPanePanel4 = new DevComponents.DotNetBar.NavigationPanePanel();
     this.buttonItem4          = new DevComponents.DotNetBar.ButtonItem();
     this.expandablePanel1     = new DevComponents.DotNetBar.ExpandablePanel();
     this.textEvents           = new System.Windows.Forms.TextBox();
     this.styleManager1        = new DevComponents.DotNetBar.StyleManager(this.components);
     this.bar1          = new DevComponents.DotNetBar.Bar();
     this.buttonItem6   = new DevComponents.DotNetBar.ButtonItem();
     this.checkBoxItem1 = new DevComponents.DotNetBar.CheckBoxItem();
     this.navigationPane1.SuspendLayout();
     this.navigationPanePanel1.SuspendLayout();
     this.expandablePanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.SuspendLayout();
     //
     // navigationPane1
     //
     this.navigationPane1.CanCollapse = true;
     this.navigationPane1.Controls.Add(this.navigationPanePanel1);
     this.navigationPane1.Controls.Add(this.navigationPanePanel2);
     this.navigationPane1.Controls.Add(this.navigationPanePanel3);
     this.navigationPane1.Controls.Add(this.navigationPanePanel5);
     this.navigationPane1.Controls.Add(this.navigationPanePanel4);
     this.navigationPane1.Dock = System.Windows.Forms.DockStyle.Left;
     this.navigationPane1.ItemPaddingBottom = 2;
     this.navigationPane1.ItemPaddingTop    = 2;
     this.navigationPane1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem1,
         this.buttonItem2,
         this.buttonItem3,
         this.buttonItem4,
         this.buttonItem5
     });
     this.navigationPane1.Location            = new System.Drawing.Point(0, 0);
     this.navigationPane1.Name                = "navigationPane1";
     this.navigationPane1.NavigationBarHeight = 172;
     this.navigationPane1.Size                = new System.Drawing.Size(184, 440);
     this.navigationPane1.Style               = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.navigationPane1.TabIndex            = 0;
     //
     //
     //
     this.navigationPane1.TitlePanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPane1.TitlePanel.Dock             = System.Windows.Forms.DockStyle.Top;
     this.navigationPane1.TitlePanel.Font             = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.navigationPane1.TitlePanel.Location         = new System.Drawing.Point(0, 0);
     this.navigationPane1.TitlePanel.Name             = "panelEx1";
     this.navigationPane1.TitlePanel.Size             = new System.Drawing.Size(184, 24);
     this.navigationPane1.TitlePanel.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.navigationPane1.TitlePanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPane1.TitlePanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.navigationPane1.TitlePanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.navigationPane1.TitlePanel.Style.GradientAngle             = 90;
     this.navigationPane1.TitlePanel.Style.MarginLeft = 4;
     this.navigationPane1.TitlePanel.TabIndex         = 0;
     this.navigationPane1.TitlePanel.Text             = "Mail";
     this.navigationPane1.ExpandedChanging           += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.navigationPane1_ExpandedChanging);
     this.navigationPane1.PanelChanging    += new DevComponents.DotNetBar.PanelChangingEventHandler(this.navigationPane1_PanelChanging);
     this.navigationPane1.BeforePanelPopup += new DevComponents.DotNetBar.PanelPopupEventHandler(this.navigationPane1_BeforePanelPopup);
     this.navigationPane1.ExpandedChanged  += new DevComponents.DotNetBar.ExpandChangeEventHandler(this.navigationPane1_ExpandedChanged);
     this.navigationPane1.ItemClick        += new System.EventHandler(this.navigationPane1_ItemClick);
     //
     // navigationPanePanel1
     //
     this.navigationPanePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPanePanel1.Controls.Add(this.treeView1);
     this.navigationPanePanel1.Controls.Add(this.panelEx1);
     this.navigationPanePanel1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel1.Location        = new System.Drawing.Point(0, 24);
     this.navigationPanePanel1.Name            = "navigationPanePanel1";
     this.navigationPanePanel1.Padding         = new System.Windows.Forms.Padding(1, 1, 1, 0);
     this.navigationPanePanel1.ParentItem      = this.buttonItem1;
     this.navigationPanePanel1.Size            = new System.Drawing.Size(184, 244);
     this.navigationPanePanel1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.navigationPanePanel1.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.navigationPanePanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel1.TabIndex = 2;
     //
     // treeView1
     //
     this.treeView1.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.treeView1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.ImageIndex    = 0;
     this.treeView1.ImageList     = this.imageList1;
     this.treeView1.Location      = new System.Drawing.Point(1, 21);
     this.treeView1.Name          = "treeView1";
     treeNode1.ImageIndex         = 1;
     treeNode1.Name               = "";
     treeNode1.SelectedImageIndex = 1;
     treeNode1.Text               = "Deleted Items";
     treeNode2.ImageIndex         = 1;
     treeNode2.Name               = "";
     treeNode2.SelectedImageIndex = 1;
     treeNode2.Text               = "Drafts";
     treeNode3.ImageIndex         = 1;
     treeNode3.Name               = "";
     treeNode3.SelectedImageIndex = 1;
     treeNode3.Text               = "Inbox";
     treeNode4.ImageIndex         = 1;
     treeNode4.Name               = "";
     treeNode4.SelectedImageIndex = 1;
     treeNode4.Text               = "Outbox";
     treeNode5.ImageIndex         = 1;
     treeNode5.Name               = "";
     treeNode5.SelectedImageIndex = 1;
     treeNode5.Text               = "Sent Items";
     treeNode6.ImageIndex         = 0;
     treeNode6.Name               = "";
     treeNode6.SelectedImageIndex = 0;
     treeNode6.Text               = "Personal Folders";
     this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode6
     });
     this.treeView1.Scrollable         = false;
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size     = new System.Drawing.Size(182, 223);
     this.treeView1.Sorted   = true;
     this.treeView1.TabIndex = 1;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     //
     // panelEx1
     //
     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(182, 20);
     this.panelEx1.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx1.Style.BackgroundImagePosition     = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.Style.MarginLeft    = 4;
     this.panelEx1.TabIndex            = 2;
     this.panelEx1.Text = "Mail Folders";
     //
     // buttonItem1
     //
     this.buttonItem1.ButtonStyle         = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem1.Checked             = true;
     this.buttonItem1.Image               = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image")));
     this.buttonItem1.Name                = "buttonItem1";
     this.buttonItem1.OptionGroup         = "navBar";
     this.buttonItem1.SubItemsExpandWidth = 11;
     this.buttonItem1.Text                = "Mail";
     this.buttonItem1.Tooltip             = "Click to manage Mail";
     //
     // navigationPanePanel2
     //
     this.navigationPanePanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPanePanel2.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel2.Location         = new System.Drawing.Point(0, 0);
     this.navigationPanePanel2.Name             = "navigationPanePanel2";
     this.navigationPanePanel2.ParentItem       = this.buttonItem2;
     this.navigationPanePanel2.Size             = new System.Drawing.Size(184, 268);
     this.navigationPanePanel2.Style.Alignment  = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.navigationPanePanel2.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.navigationPanePanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.navigationPanePanel2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPanePanel2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.navigationPanePanel2.Style.GradientAngle      = 90;
     this.navigationPanePanel2.Style.WordWrap           = true;
     this.navigationPanePanel2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel2.StyleMouseDown.WordWrap  = true;
     this.navigationPanePanel2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel2.StyleMouseOver.WordWrap  = true;
     this.navigationPanePanel2.TabIndex = 3;
     this.navigationPanePanel2.Text     = "Drop your controls here and erase Text property";
     //
     // buttonItem2
     //
     this.buttonItem2.ButtonStyle         = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem2.Image               = ((System.Drawing.Image)(resources.GetObject("buttonItem2.Image")));
     this.buttonItem2.Name                = "buttonItem2";
     this.buttonItem2.OptionGroup         = "navBar";
     this.buttonItem2.SubItemsExpandWidth = 11;
     this.buttonItem2.Text                = "Calendar";
     this.buttonItem2.Tooltip             = "Click to view your Calendar";
     //
     // navigationPanePanel3
     //
     this.navigationPanePanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPanePanel3.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel3.Location         = new System.Drawing.Point(0, 0);
     this.navigationPanePanel3.Name             = "navigationPanePanel3";
     this.navigationPanePanel3.ParentItem       = this.buttonItem3;
     this.navigationPanePanel3.Size             = new System.Drawing.Size(184, 268);
     this.navigationPanePanel3.Style.Alignment  = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.navigationPanePanel3.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.navigationPanePanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.navigationPanePanel3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPanePanel3.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.navigationPanePanel3.Style.GradientAngle      = 90;
     this.navigationPanePanel3.Style.WordWrap           = true;
     this.navigationPanePanel3.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel3.StyleMouseDown.WordWrap  = true;
     this.navigationPanePanel3.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel3.StyleMouseOver.WordWrap  = true;
     this.navigationPanePanel3.TabIndex = 4;
     this.navigationPanePanel3.Text     = "Drop your controls here and erase Text property";
     //
     // buttonItem3
     //
     this.buttonItem3.ButtonStyle         = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem3.Image               = ((System.Drawing.Image)(resources.GetObject("buttonItem3.Image")));
     this.buttonItem3.Name                = "buttonItem3";
     this.buttonItem3.OptionGroup         = "navBar";
     this.buttonItem3.SubItemsExpandWidth = 11;
     this.buttonItem3.Text                = "Contacts";
     this.buttonItem3.Tooltip             = "Click to view your Contacts";
     //
     // navigationPanePanel5
     //
     this.navigationPanePanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPanePanel5.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel5.Location         = new System.Drawing.Point(0, 0);
     this.navigationPanePanel5.Name             = "navigationPanePanel5";
     this.navigationPanePanel5.ParentItem       = this.buttonItem5;
     this.navigationPanePanel5.Size             = new System.Drawing.Size(184, 268);
     this.navigationPanePanel5.Style.Alignment  = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel5.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.navigationPanePanel5.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.navigationPanePanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.navigationPanePanel5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPanePanel5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.navigationPanePanel5.Style.GradientAngle      = 90;
     this.navigationPanePanel5.Style.WordWrap           = true;
     this.navigationPanePanel5.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel5.StyleMouseDown.WordWrap  = true;
     this.navigationPanePanel5.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel5.StyleMouseOver.WordWrap  = true;
     this.navigationPanePanel5.TabIndex = 6;
     this.navigationPanePanel5.Text     = "Drop your controls here and erase Text property";
     //
     // buttonItem5
     //
     this.buttonItem5.Image               = ((System.Drawing.Image)(resources.GetObject("buttonItem5.Image")));
     this.buttonItem5.ImageFixedSize      = new System.Drawing.Size(16, 16);
     this.buttonItem5.Name                = "buttonItem5";
     this.buttonItem5.OptionGroup         = "navBar";
     this.buttonItem5.SubItemsExpandWidth = 11;
     this.buttonItem5.Text                = "Notes";
     //
     // navigationPanePanel4
     //
     this.navigationPanePanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
     this.navigationPanePanel4.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.navigationPanePanel4.Location         = new System.Drawing.Point(0, 0);
     this.navigationPanePanel4.Name             = "navigationPanePanel4";
     this.navigationPanePanel4.ParentItem       = this.buttonItem4;
     this.navigationPanePanel4.Size             = new System.Drawing.Size(184, 268);
     this.navigationPanePanel4.Style.Alignment  = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.navigationPanePanel4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.navigationPanePanel4.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.navigationPanePanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.navigationPanePanel4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.navigationPanePanel4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.navigationPanePanel4.Style.GradientAngle      = 90;
     this.navigationPanePanel4.Style.WordWrap           = true;
     this.navigationPanePanel4.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel4.StyleMouseDown.WordWrap  = true;
     this.navigationPanePanel4.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
     this.navigationPanePanel4.StyleMouseOver.WordWrap  = true;
     this.navigationPanePanel4.TabIndex = 5;
     this.navigationPanePanel4.Text     = "Drop your controls here and erase Text property";
     //
     // buttonItem4
     //
     this.buttonItem4.ButtonStyle         = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem4.Image               = ((System.Drawing.Image)(resources.GetObject("buttonItem4.Image")));
     this.buttonItem4.Name                = "buttonItem4";
     this.buttonItem4.OptionGroup         = "navBar";
     this.buttonItem4.SubItemsExpandWidth = 11;
     this.buttonItem4.Text                = "Tasks";
     //
     // expandablePanel1
     //
     this.expandablePanel1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.expandablePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.expandablePanel1.Controls.Add(this.textEvents);
     this.expandablePanel1.Dock            = System.Windows.Forms.DockStyle.Bottom;
     this.expandablePanel1.Location        = new System.Drawing.Point(184, 243);
     this.expandablePanel1.Name            = "expandablePanel1";
     this.expandablePanel1.Size            = new System.Drawing.Size(379, 197);
     this.expandablePanel1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel1.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandablePanel1.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.expandablePanel1.Style.BackgroundImagePosition     = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.expandablePanel1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel1.Style.GradientAngle  = 90;
     this.expandablePanel1.TabIndex             = 2;
     this.expandablePanel1.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel1.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel1.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel1.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel1.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel1.TitleStyle.GradientAngle = 90;
     this.expandablePanel1.TitleText = "Navigation Pane Events";
     //
     // textEvents
     //
     this.textEvents.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textEvents.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textEvents.Location    = new System.Drawing.Point(0, 26);
     this.textEvents.Multiline   = true;
     this.textEvents.Name        = "textEvents";
     this.textEvents.Size        = new System.Drawing.Size(379, 171);
     this.textEvents.TabIndex    = 1;
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle         = DevComponents.DotNetBar.eStyle.Office2010Blue;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26))))));
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem6,
         this.checkBoxItem1
     });
     this.bar1.Location = new System.Drawing.Point(184, 0);
     this.bar1.Name     = "bar1";
     this.bar1.Size     = new System.Drawing.Size(379, 25);
     this.bar1.Stretch  = true;
     this.bar1.Style    = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex = 3;
     this.bar1.TabStop  = false;
     this.bar1.Text     = "bar1";
     //
     // buttonItem6
     //
     this.buttonItem6.Name   = "buttonItem6";
     this.buttonItem6.Text   = "Toggle State";
     this.buttonItem6.Click += new System.EventHandler(this.buttonItem6_Click);
     //
     // checkBoxItem1
     //
     this.checkBoxItem1.Checked         = true;
     this.checkBoxItem1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBoxItem1.Name            = "checkBoxItem1";
     this.checkBoxItem1.Text            = "Allow Collapse";
     this.checkBoxItem1.CheckedChanged += new DevComponents.DotNetBar.CheckBoxChangeEventHandler(this.checkBoxItem1_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(563, 440);
     this.Controls.Add(this.bar1);
     this.Controls.Add(this.expandablePanel1);
     this.Controls.Add(this.navigationPane1);
     this.DoubleBuffered = true;
     this.EnableGlass    = false;
     this.Name           = "Form1";
     this.Text           = "DotNetBar Navigation Pane Control";
     this.Load          += new System.EventHandler(this.Form1_Load);
     this.Closed        += new System.EventHandler(this.Form1_Closed);
     this.navigationPane1.ResumeLayout(false);
     this.navigationPanePanel1.ResumeLayout(false);
     this.expandablePanel1.ResumeLayout(false);
     this.expandablePanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.panelEx1        = new DevComponents.DotNetBar.PanelEx();
     this.chartTypes      = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem1     = new DevComponents.DotNetBar.ButtonItem();
     this.columnSelector  = new DevComponents.DotNetBar.ButtonItem();
     this.lineSelector    = new DevComponents.DotNetBar.ButtonItem();
     this.pieSelector     = new DevComponents.DotNetBar.ButtonItem();
     this.barSelector     = new DevComponents.DotNetBar.ButtonItem();
     this.areaSelector    = new DevComponents.DotNetBar.ButtonItem();
     this.xySelector      = new DevComponents.DotNetBar.ButtonItem();
     this.stockSelector   = new DevComponents.DotNetBar.ButtonItem();
     this.buttonX1        = new DevComponents.DotNetBar.ButtonX();
     this.buttonX2        = new DevComponents.DotNetBar.ButtonX();
     this.itemPanel2      = new DevComponents.DotNetBar.ItemPanel();
     this.labelItem1      = new DevComponents.DotNetBar.LabelItem();
     this.columnContainer = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem12    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem13    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem14    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem15    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem16    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem17    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem18    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem19    = new DevComponents.DotNetBar.ButtonItem();
     this.labelItem2      = new DevComponents.DotNetBar.LabelItem();
     this.lineContainer   = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem20    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem21    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem22    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem23    = new DevComponents.DotNetBar.ButtonItem();
     this.labelItem3      = new DevComponents.DotNetBar.LabelItem();
     this.pieContainer    = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem9     = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem10    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem11    = new DevComponents.DotNetBar.ButtonItem();
     this.labelItem4      = new DevComponents.DotNetBar.LabelItem();
     this.barContainer    = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem24    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem25    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem26    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem27    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem28    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem29    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem30    = new DevComponents.DotNetBar.ButtonItem();
     this.labelItem5      = new DevComponents.DotNetBar.LabelItem();
     this.areaContainer   = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem31    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem32    = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem33    = new DevComponents.DotNetBar.ButtonItem();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor                     = System.Drawing.SystemColors.Control;
     this.panelEx1.Dock                            = System.Windows.Forms.DockStyle.Top;
     this.panelEx1.Font                            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.panelEx1.Location                        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name                            = "panelEx1";
     this.panelEx1.Size                            = new System.Drawing.Size(562, 32);
     this.panelEx1.Style.BackColor1.Color          = System.Drawing.Color.FromArgb(((System.Byte)(95)), ((System.Byte)(136)), ((System.Byte)(215)));
     this.panelEx1.Style.BackColor2.Color          = System.Drawing.Color.FromArgb(((System.Byte)(67)), ((System.Byte)(108)), ((System.Byte)(191)));
     this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle             = 90;
     this.panelEx1.Style.MarginLeft                = 8;
     this.panelEx1.TabIndex                        = 0;
     this.panelEx1.Text                            = "Choose a Chart Type";
     //
     // chartTypes
     //
     this.chartTypes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)));
     //
     // chartTypes.BackgroundStyle
     //
     this.chartTypes.BackgroundStyle.BackColor         = System.Drawing.Color.White;
     this.chartTypes.BackgroundStyle.BorderBottom      = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.chartTypes.BackgroundStyle.BorderBottomWidth = 1;
     this.chartTypes.BackgroundStyle.BorderColor       = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(157)), ((System.Byte)(185)));
     this.chartTypes.BackgroundStyle.BorderLeft        = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.chartTypes.BackgroundStyle.BorderLeftWidth   = 1;
     this.chartTypes.BackgroundStyle.BorderRight       = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.chartTypes.BackgroundStyle.BorderRightWidth  = 1;
     this.chartTypes.BackgroundStyle.BorderTop         = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.chartTypes.BackgroundStyle.BorderTopWidth    = 1;
     this.chartTypes.BackgroundStyle.PaddingBottom     = 1;
     this.chartTypes.BackgroundStyle.PaddingLeft       = 1;
     this.chartTypes.BackgroundStyle.PaddingRight      = 1;
     this.chartTypes.BackgroundStyle.PaddingTop        = 1;
     this.chartTypes.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chartTypes.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem1,
         this.columnSelector,
         this.lineSelector,
         this.pieSelector,
         this.barSelector,
         this.areaSelector,
         this.xySelector,
         this.stockSelector
     });
     this.chartTypes.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.chartTypes.Location          = new System.Drawing.Point(6, 36);
     this.chartTypes.Name     = "chartTypes";
     this.chartTypes.Size     = new System.Drawing.Size(152, 262);
     this.chartTypes.TabIndex = 1;
     this.chartTypes.Text     = "itemPanel1";
     //
     // buttonItem1
     //
     this.buttonItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem1.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image")));
     this.buttonItem1.Name        = "buttonItem1";
     this.buttonItem1.OptionGroup = "charts";
     this.buttonItem1.Text        = "Templates";
     //
     // columnSelector
     //
     this.columnSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.columnSelector.Checked     = true;
     this.columnSelector.Image       = ((System.Drawing.Image)(resources.GetObject("columnSelector.Image")));
     this.columnSelector.Name        = "columnSelector";
     this.columnSelector.OptionGroup = "charts";
     this.columnSelector.Text        = "Column";
     this.columnSelector.Click      += new System.EventHandler(this.columnSelector_Click);
     //
     // lineSelector
     //
     this.lineSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.lineSelector.Image       = ((System.Drawing.Image)(resources.GetObject("lineSelector.Image")));
     this.lineSelector.Name        = "lineSelector";
     this.lineSelector.OptionGroup = "charts";
     this.lineSelector.Text        = "Line";
     this.lineSelector.Click      += new System.EventHandler(this.lineSelector_Click);
     //
     // pieSelector
     //
     this.pieSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.pieSelector.Image       = ((System.Drawing.Image)(resources.GetObject("pieSelector.Image")));
     this.pieSelector.Name        = "pieSelector";
     this.pieSelector.OptionGroup = "charts";
     this.pieSelector.Text        = "Pie";
     this.pieSelector.Click      += new System.EventHandler(this.pieSelector_Click);
     //
     // barSelector
     //
     this.barSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.barSelector.Image       = ((System.Drawing.Image)(resources.GetObject("barSelector.Image")));
     this.barSelector.Name        = "barSelector";
     this.barSelector.OptionGroup = "charts";
     this.barSelector.Text        = "Bar";
     this.barSelector.Click      += new System.EventHandler(this.barSelector_Click);
     //
     // areaSelector
     //
     this.areaSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.areaSelector.Image       = ((System.Drawing.Image)(resources.GetObject("areaSelector.Image")));
     this.areaSelector.Name        = "areaSelector";
     this.areaSelector.OptionGroup = "charts";
     this.areaSelector.Text        = "Area";
     this.areaSelector.Click      += new System.EventHandler(this.areaSelector_Click);
     //
     // xySelector
     //
     this.xySelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.xySelector.Image       = ((System.Drawing.Image)(resources.GetObject("xySelector.Image")));
     this.xySelector.Name        = "xySelector";
     this.xySelector.OptionGroup = "charts";
     this.xySelector.Text        = "X Y (Scatter)";
     //
     // stockSelector
     //
     this.stockSelector.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.stockSelector.Image       = ((System.Drawing.Image)(resources.GetObject("stockSelector.Image")));
     this.stockSelector.Name        = "stockSelector";
     this.stockSelector.OptionGroup = "charts";
     this.stockSelector.Text        = "Stock";
     //
     // buttonX1
     //
     this.buttonX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonX1.ColorScheme.DockSiteBackColorGradientAngle = 0;
     this.buttonX1.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonX1.Location     = new System.Drawing.Point(404, 304);
     this.buttonX1.Name         = "buttonX1";
     this.buttonX1.Size         = new System.Drawing.Size(72, 24);
     this.buttonX1.TabIndex     = 2;
     this.buttonX1.Text         = "OK";
     this.buttonX1.ThemeAware   = true;
     this.buttonX1.Click       += new System.EventHandler(this.buttonX1_Click);
     //
     // buttonX2
     //
     this.buttonX2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonX2.ColorScheme.DockSiteBackColorGradientAngle = 0;
     this.buttonX2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonX2.Location     = new System.Drawing.Point(482, 304);
     this.buttonX2.Name         = "buttonX2";
     this.buttonX2.Size         = new System.Drawing.Size(72, 24);
     this.buttonX2.TabIndex     = 3;
     this.buttonX2.Text         = "Cancel";
     this.buttonX2.ThemeAware   = true;
     this.buttonX2.Click       += new System.EventHandler(this.buttonX2_Click);
     //
     // itemPanel2
     //
     this.itemPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.itemPanel2.AutoScroll        = true;
     this.itemPanel2.AutoScrollMinSize = new System.Drawing.Size(369, 493);
     //
     // itemPanel2.BackgroundStyle
     //
     this.itemPanel2.BackgroundStyle.BackColor         = System.Drawing.Color.White;
     this.itemPanel2.BackgroundStyle.BorderBottom      = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderBottomWidth = 1;
     this.itemPanel2.BackgroundStyle.BorderColor       = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(157)), ((System.Byte)(185)));
     this.itemPanel2.BackgroundStyle.BorderLeft        = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderLeftWidth   = 1;
     this.itemPanel2.BackgroundStyle.BorderRight       = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderRightWidth  = 1;
     this.itemPanel2.BackgroundStyle.BorderTop         = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderTopWidth    = 1;
     this.itemPanel2.BackgroundStyle.PaddingBottom     = 1;
     this.itemPanel2.BackgroundStyle.PaddingLeft       = 1;
     this.itemPanel2.BackgroundStyle.PaddingRight      = 1;
     this.itemPanel2.BackgroundStyle.PaddingTop        = 1;
     this.itemPanel2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.labelItem1,
         this.columnContainer,
         this.labelItem2,
         this.lineContainer,
         this.labelItem3,
         this.pieContainer,
         this.labelItem4,
         this.barContainer,
         this.labelItem5,
         this.areaContainer
     });
     this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel2.Location          = new System.Drawing.Point(168, 36);
     this.itemPanel2.Name       = "itemPanel2";
     this.itemPanel2.Size       = new System.Drawing.Size(386, 262);
     this.itemPanel2.TabIndex   = 4;
     this.itemPanel2.Text       = "itemPanel2";
     this.itemPanel2.ItemClick += new System.EventHandler(this.itemPanel2_ItemClick);
     //
     // labelItem1
     //
     this.labelItem1.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(235)), ((System.Byte)(235)));
     this.labelItem1.BorderSide      = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem1.BorderType      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.labelItem1.Name            = "labelItem1";
     this.labelItem1.PaddingBottom   = 1;
     this.labelItem1.PaddingLeft     = 1;
     this.labelItem1.PaddingRight    = 1;
     this.labelItem1.PaddingTop      = 1;
     this.labelItem1.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(197)), ((System.Byte)(197)), ((System.Byte)(197)));
     this.labelItem1.Text            = "<b>Column</b>";
     //
     // columnContainer
     //
     this.columnContainer.MinimumSize = new System.Drawing.Size(0, 0);
     this.columnContainer.MultiLine   = true;
     this.columnContainer.Name        = "columnContainer";
     this.columnContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem12,
         this.buttonItem13,
         this.buttonItem14,
         this.buttonItem15,
         this.buttonItem16,
         this.buttonItem17,
         this.buttonItem18,
         this.buttonItem19
     });
     //
     // buttonItem12
     //
     this.buttonItem12.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem12.Image")));
     this.buttonItem12.Name        = "buttonItem12";
     this.buttonItem12.OptionGroup = "chart";
     this.buttonItem12.Text        = "Clustered Column";
     this.buttonItem12.Tooltip     = "Clustered Column";
     //
     // buttonItem13
     //
     this.buttonItem13.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem13.Image")));
     this.buttonItem13.Name        = "buttonItem13";
     this.buttonItem13.OptionGroup = "chart";
     this.buttonItem13.Text        = "Stacked Column";
     this.buttonItem13.Tooltip     = "Stacked Column";
     //
     // buttonItem14
     //
     this.buttonItem14.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem14.Image")));
     this.buttonItem14.Name        = "buttonItem14";
     this.buttonItem14.OptionGroup = "chart";
     this.buttonItem14.Text        = "100% Stacked Column";
     this.buttonItem14.Tooltip     = "100% Stacked Column";
     //
     // buttonItem15
     //
     this.buttonItem15.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem15.Image")));
     this.buttonItem15.Name        = "buttonItem15";
     this.buttonItem15.OptionGroup = "chart";
     this.buttonItem15.Text        = "Clustered Column";
     this.buttonItem15.Tooltip     = "Clustered Column";
     //
     // buttonItem16
     //
     this.buttonItem16.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem16.Image")));
     this.buttonItem16.Name        = "buttonItem16";
     this.buttonItem16.OptionGroup = "chart";
     this.buttonItem16.Text        = "Stacked Column";
     this.buttonItem16.Tooltip     = "Stacked Column";
     //
     // buttonItem17
     //
     this.buttonItem17.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem17.Image")));
     this.buttonItem17.Name        = "buttonItem17";
     this.buttonItem17.OptionGroup = "chart";
     this.buttonItem17.Text        = "100% Stacked Column";
     this.buttonItem17.Tooltip     = "100% Stacked Column";
     //
     // buttonItem18
     //
     this.buttonItem18.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem18.Image")));
     this.buttonItem18.Name        = "buttonItem18";
     this.buttonItem18.OptionGroup = "chart";
     this.buttonItem18.Text        = "Clustered Column";
     this.buttonItem18.Tooltip     = "Clustered Column";
     //
     // buttonItem19
     //
     this.buttonItem19.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem19.Image")));
     this.buttonItem19.Name        = "buttonItem19";
     this.buttonItem19.OptionGroup = "chart";
     this.buttonItem19.Text        = "Stacked Column";
     this.buttonItem19.Tooltip     = "Stacked Column";
     //
     // labelItem2
     //
     this.labelItem2.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(235)), ((System.Byte)(235)));
     this.labelItem2.BorderSide      = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem2.BorderType      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.labelItem2.Name            = "labelItem2";
     this.labelItem2.PaddingBottom   = 1;
     this.labelItem2.PaddingLeft     = 1;
     this.labelItem2.PaddingRight    = 1;
     this.labelItem2.PaddingTop      = 1;
     this.labelItem2.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(197)), ((System.Byte)(197)), ((System.Byte)(197)));
     this.labelItem2.Text            = "<b>Line</b>";
     //
     // lineContainer
     //
     this.lineContainer.MinimumSize = new System.Drawing.Size(0, 0);
     this.lineContainer.MultiLine   = true;
     this.lineContainer.Name        = "lineContainer";
     this.lineContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem20,
         this.buttonItem21,
         this.buttonItem22,
         this.buttonItem23
     });
     //
     // buttonItem20
     //
     this.buttonItem20.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem20.Image")));
     this.buttonItem20.Name        = "buttonItem20";
     this.buttonItem20.OptionGroup = "chart";
     this.buttonItem20.Text        = "Line";
     this.buttonItem20.Tooltip     = "Line";
     //
     // buttonItem21
     //
     this.buttonItem21.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem21.Image")));
     this.buttonItem21.Name        = "buttonItem21";
     this.buttonItem21.OptionGroup = "chart";
     this.buttonItem21.Text        = "Stacked Line";
     this.buttonItem21.Tooltip     = "Stacked Line";
     //
     // buttonItem22
     //
     this.buttonItem22.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem22.Image")));
     this.buttonItem22.Name        = "buttonItem22";
     this.buttonItem22.OptionGroup = "chart";
     this.buttonItem22.Text        = "100% Stacked Line";
     this.buttonItem22.Tooltip     = "100% Stacked Line";
     //
     // buttonItem23
     //
     this.buttonItem23.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem23.Image")));
     this.buttonItem23.Name        = "buttonItem23";
     this.buttonItem23.OptionGroup = "chart";
     this.buttonItem23.Text        = "Line With Markers";
     this.buttonItem23.Tooltip     = "Line With Markers";
     //
     // labelItem3
     //
     this.labelItem3.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(235)), ((System.Byte)(235)));
     this.labelItem3.BorderSide      = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem3.BorderType      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.labelItem3.Name            = "labelItem3";
     this.labelItem3.PaddingBottom   = 1;
     this.labelItem3.PaddingLeft     = 1;
     this.labelItem3.PaddingRight    = 1;
     this.labelItem3.PaddingTop      = 1;
     this.labelItem3.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(197)), ((System.Byte)(197)), ((System.Byte)(197)));
     this.labelItem3.Text            = "<b>Pie</b>";
     //
     // pieContainer
     //
     this.pieContainer.MinimumSize = new System.Drawing.Size(0, 0);
     this.pieContainer.MultiLine   = true;
     this.pieContainer.Name        = "pieContainer";
     this.pieContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem9,
         this.buttonItem10,
         this.buttonItem11
     });
     //
     // buttonItem9
     //
     this.buttonItem9.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem9.Image")));
     this.buttonItem9.Name        = "buttonItem9";
     this.buttonItem9.OptionGroup = "chart";
     this.buttonItem9.Text        = "Pie";
     this.buttonItem9.Tooltip     = "Pie";
     //
     // buttonItem10
     //
     this.buttonItem10.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem10.Image")));
     this.buttonItem10.Name        = "buttonItem10";
     this.buttonItem10.OptionGroup = "chart";
     this.buttonItem10.Text        = "Pie";
     this.buttonItem10.Tooltip     = "Pie";
     //
     // buttonItem11
     //
     this.buttonItem11.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem11.Image")));
     this.buttonItem11.Name        = "buttonItem11";
     this.buttonItem11.OptionGroup = "chart";
     this.buttonItem11.Text        = "Pie";
     this.buttonItem11.Tooltip     = "Pie";
     //
     // labelItem4
     //
     this.labelItem4.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(235)), ((System.Byte)(235)));
     this.labelItem4.BorderSide      = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem4.BorderType      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.labelItem4.Name            = "labelItem4";
     this.labelItem4.PaddingBottom   = 1;
     this.labelItem4.PaddingLeft     = 1;
     this.labelItem4.PaddingRight    = 1;
     this.labelItem4.PaddingTop      = 1;
     this.labelItem4.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(197)), ((System.Byte)(197)), ((System.Byte)(197)));
     this.labelItem4.Text            = "<b>Bar</b>";
     //
     // barContainer
     //
     this.barContainer.MinimumSize = new System.Drawing.Size(0, 0);
     this.barContainer.MultiLine   = true;
     this.barContainer.Name        = "barContainer";
     this.barContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem24,
         this.buttonItem25,
         this.buttonItem26,
         this.buttonItem27,
         this.buttonItem28,
         this.buttonItem29,
         this.buttonItem30
     });
     //
     // buttonItem24
     //
     this.buttonItem24.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem24.Image")));
     this.buttonItem24.Name        = "buttonItem24";
     this.buttonItem24.OptionGroup = "chart";
     this.buttonItem24.Text        = "Clustered Bar";
     this.buttonItem24.Tooltip     = "Clustered Bar";
     //
     // buttonItem25
     //
     this.buttonItem25.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem25.Image")));
     this.buttonItem25.Name        = "buttonItem25";
     this.buttonItem25.OptionGroup = "chart";
     this.buttonItem25.Text        = "Stacked Bar";
     this.buttonItem25.Tooltip     = "Stacked Bar";
     //
     // buttonItem26
     //
     this.buttonItem26.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem26.Image")));
     this.buttonItem26.Name        = "buttonItem26";
     this.buttonItem26.OptionGroup = "chart";
     this.buttonItem26.Text        = "100% Stacked Bar";
     this.buttonItem26.Tooltip     = "100% Stacked Bar";
     //
     // buttonItem27
     //
     this.buttonItem27.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem27.Image")));
     this.buttonItem27.Name        = "buttonItem27";
     this.buttonItem27.OptionGroup = "chart";
     this.buttonItem27.Text        = "Clustered Bar";
     this.buttonItem27.Tooltip     = "Clustered Bar";
     //
     // buttonItem28
     //
     this.buttonItem28.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem28.Image")));
     this.buttonItem28.Name        = "buttonItem28";
     this.buttonItem28.OptionGroup = "chart";
     this.buttonItem28.Text        = "Stacked Bar";
     this.buttonItem28.Tooltip     = "Stacked Bar";
     //
     // buttonItem29
     //
     this.buttonItem29.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem29.Image")));
     this.buttonItem29.Name        = "buttonItem29";
     this.buttonItem29.OptionGroup = "chart";
     this.buttonItem29.Text        = "100% Stacked Bar";
     this.buttonItem29.Tooltip     = "100% Stacked Bar";
     //
     // buttonItem30
     //
     this.buttonItem30.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem30.Image")));
     this.buttonItem30.Name        = "buttonItem30";
     this.buttonItem30.OptionGroup = "chart";
     this.buttonItem30.Text        = "Clustered Bar";
     this.buttonItem30.Tooltip     = "Clustered Bar";
     //
     // labelItem5
     //
     this.labelItem5.BackColor       = System.Drawing.Color.FromArgb(((System.Byte)(235)), ((System.Byte)(235)), ((System.Byte)(235)));
     this.labelItem5.BorderSide      = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem5.BorderType      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.labelItem5.Name            = "labelItem5";
     this.labelItem5.PaddingBottom   = 1;
     this.labelItem5.PaddingLeft     = 1;
     this.labelItem5.PaddingRight    = 1;
     this.labelItem5.PaddingTop      = 1;
     this.labelItem5.SingleLineColor = System.Drawing.Color.FromArgb(((System.Byte)(197)), ((System.Byte)(197)), ((System.Byte)(197)));
     this.labelItem5.Text            = "<b>Area</b>";
     //
     // areaContainer
     //
     this.areaContainer.MinimumSize = new System.Drawing.Size(0, 0);
     this.areaContainer.MultiLine   = true;
     this.areaContainer.Name        = "areaContainer";
     this.areaContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem31,
         this.buttonItem32,
         this.buttonItem33
     });
     //
     // buttonItem31
     //
     this.buttonItem31.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem31.Image")));
     this.buttonItem31.Name        = "buttonItem31";
     this.buttonItem31.OptionGroup = "chart";
     this.buttonItem31.Text        = "Area";
     this.buttonItem31.Tooltip     = "Area";
     //
     // buttonItem32
     //
     this.buttonItem32.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem32.Image")));
     this.buttonItem32.Name        = "buttonItem32";
     this.buttonItem32.OptionGroup = "chart";
     this.buttonItem32.Text        = "Stacked Area";
     this.buttonItem32.Tooltip     = "Stacked Area";
     //
     // buttonItem33
     //
     this.buttonItem33.Image       = ((System.Drawing.Image)(resources.GetObject("buttonItem33.Image")));
     this.buttonItem33.Name        = "buttonItem33";
     this.buttonItem33.OptionGroup = "chart";
     this.buttonItem33.Text        = "100% Stacked Area";
     this.buttonItem33.Tooltip     = "100% Stacked Area";
     //
     // Form1
     //
     this.AcceptButton      = this.buttonX1;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonX2;
     this.ClientSize        = new System.Drawing.Size(562, 332);
     this.Controls.Add(this.itemPanel2);
     this.Controls.Add(this.buttonX2);
     this.Controls.Add(this.buttonX1);
     this.Controls.Add(this.chartTypes);
     this.Controls.Add(this.panelEx1);
     this.MinimumSize = new System.Drawing.Size(234, 132);
     this.Name        = "Form1";
     this.Text        = "Create Chart";
     this.ResumeLayout(false);
 }
Ejemplo n.º 13
0
        /// <summary>
        /// 主选项鼠标单击事件.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lblOption_Click(object sender, EventArgs e)
        {
            //判断是否已选中.
            if ((optionState)((LabelX)sender).Tag == optionState.CHECKED
                ||
                (optionState)((LabelX)sender).Tag == optionState.MAINCHECKED)
                return;

            //设置所有选项为未选中.
            foreach (LabelX lbl in ((LabelX)sender).Parent.Controls)
            {
                if ((optionState)lbl.Tag == optionState.MAINCHECKED)
                    lbl.Tag = optionState.MAINUNCHECK;
                else if ((optionState)lbl.Tag == optionState.CHECKED)
                {
                    pnlPrevious = dicSelectOptions[lbl];
                    lbl.Tag = optionState.UNCHECK;
                }
                lbl.BackColor = colUnCheck;
                lbl.ForeColor = colUnCheckFore;
                lbl.BackgroundStyle.BorderLeft = eStyleBorderType.None;
            }

            //选中当前选项.
            if ((optionState)((LabelX)sender).Tag == optionState.MAINUNCHECK)
                ((LabelX)sender).Tag = optionState.MAINCHECKED;
            else
                ((LabelX)sender).Tag = optionState.CHECKED;
            ((LabelX)sender).BackColor = colChecked;
            ((LabelX)sender).ForeColor = colCheckedFore;
            ((LabelX)sender).BackgroundStyle.BorderLeft = eStyleBorderType.Solid;
            ((LabelX)sender).BackgroundStyle.BorderLeftWidth = 4;
            ((LabelX)sender).BackgroundStyle.BorderLeftColor = pnlSelectMenuTop.Style.BackColor1.Color;

            #region 面板动画初始化
            //判断是否存在面板对象.
            if ((optionState)((LabelX)sender).Tag != optionState.MAINCHECKED && dicSelectOptions[((LabelX)sender)] == null)
                return;

            //判断前一动画是否执行完毕.
            if (timeOptionAnimate != null && timeOptionAnimate.Enabled)
            {
                timeOptionAnimate.Stop();

                if (pnlPrevious != null)
                    pnlPrevious.Dock = System.Windows.Forms.DockStyle.Fill;
            }

            //初始化动画时间控件.
            timeOptionAnimate = new System.Windows.Forms.Timer();
            timeOptionAnimate.Enabled = false;
            timeOptionAnimate.Interval = 1;

            //判断动画效果.
            if ((optionState)((LabelX)sender).Tag == optionState.MAINCHECKED)
            {
                //判断是否存在面板.
                if (pnlPrevious == null)
                    return;

                //挂载动画事件.
                timeOptionAnimate.Tick += new EventHandler(timeOptionAnimateClose_Tick);

                //设置除前一面板外所有面板为隐藏.
                foreach (System.Windows.Forms.Control ctrlTEMP in pnlCenterContent.Controls)
                {
                    if (ctrlTEMP.GetType() == typeof(PanelEx) && ((PanelEx)ctrlTEMP).Tag != null)
                    {
                        PanelEx pnl = ((PanelEx)ctrlTEMP);

                        if (pnlPrevious != pnl)
                            pnl.Visible = false;
                    }
                }

                //为动画进行属性初始化.
                intWidth = pnlPrevious.Width;
                intHeight = pnlPrevious.Height;
                intWidthSub = intWidth / 10;

                pnlPrevious.Dock = System.Windows.Forms.DockStyle.None;
                pnlPrevious.Location = new Point(0, 0);
                pnlPrevious.Width = intWidth;
                pnlPrevious.Height = intHeight;
            }
            else
            {
                //挂载动画事件.
                timeOptionAnimate.Tick += new EventHandler(timeOptionAnimateOpen_Tick);

                pnlCurrent = dicSelectOptions[((LabelX)sender)];

                //为动画进行属性初始化.
                pnlCurrent.Visible = true;
                pnlCurrent.BringToFront();

                pnlCurrent.Dock = System.Windows.Forms.DockStyle.Fill;

                intWidth = pnlCurrent.Width;
                intHeight = pnlCurrent.Height;
                intWidthSub = intWidth / 10;

                pnlCurrent.Dock = System.Windows.Forms.DockStyle.None;
                pnlCurrent.Location = new Point(-intWidth, 0);
                pnlCurrent.Width = intWidth;
                pnlCurrent.Height = intHeight;
            }
            #endregion
            timeOptionAnimate.Start();
        }
Ejemplo n.º 14
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.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.tabControl1      = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
     this.buttonX1         = new DevComponents.DotNetBar.ButtonX();
     this.tabControl2      = new DevComponents.DotNetBar.TabControl();
     this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel();
     this.buttonX2         = new DevComponents.DotNetBar.ButtonX();
     this.textBoxX2        = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.textBoxX5        = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX4          = new DevComponents.DotNetBar.LabelX();
     this.labelX1          = new DevComponents.DotNetBar.LabelX();
     this.textBoxX4        = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX5          = new DevComponents.DotNetBar.LabelX();
     this.tabItem5         = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.labelX6          = new DevComponents.DotNetBar.LabelX();
     this.comboBoxEx2      = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.textBoxX1        = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelX3          = new DevComponents.DotNetBar.LabelX();
     this.labelX2          = new DevComponents.DotNetBar.LabelX();
     this.textBoxX3        = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.tabItem4         = new DevComponents.DotNetBar.TabItem(this.components);
     this.panelEx2         = new DevComponents.DotNetBar.PanelEx();
     this.radioButton2     = new System.Windows.Forms.RadioButton();
     this.radioButton1     = new System.Windows.Forms.RadioButton();
     this.label1           = new System.Windows.Forms.Label();
     this.panelEx3         = new DevComponents.DotNetBar.PanelEx();
     this.richTextBox2     = new System.Windows.Forms.RichTextBox();
     this.tabItem1         = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
     this.panelEx4         = new DevComponents.DotNetBar.PanelEx();
     this.label2           = new System.Windows.Forms.Label();
     this.panelEx7         = new DevComponents.DotNetBar.PanelEx();
     this.richTextBox4     = new System.Windows.Forms.RichTextBox();
     this.tabItem2         = new DevComponents.DotNetBar.TabItem(this.components);
     this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
     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.openFileDialog1  = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabControlPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).BeginInit();
     this.tabControl2.SuspendLayout();
     this.tabControlPanel5.SuspendLayout();
     this.tabControlPanel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.panelEx2.SuspendLayout();
     this.panelEx3.SuspendLayout();
     this.tabControlPanel2.SuspendLayout();
     this.panelEx4.SuspendLayout();
     this.panelEx7.SuspendLayout();
     this.tabControlPanel3.SuspendLayout();
     this.panelEx5.SuspendLayout();
     this.panelEx6.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor                     = System.Drawing.SystemColors.Control;
     this.panelEx1.Dock                            = System.Windows.Forms.DockStyle.Top;
     this.panelEx1.Font                            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panelEx1.Location                        = new System.Drawing.Point(4, 1);
     this.panelEx1.Name                            = "panelEx1";
     this.panelEx1.Size                            = new System.Drawing.Size(554, 34);
     this.panelEx1.Style.BackColor1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(136)))), ((int)(((byte)(215)))));
     this.panelEx1.Style.BackColor2.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(108)))), ((int)(((byte)(191)))));
     this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx1.Style.GradientAngle             = 90;
     this.panelEx1.Style.MarginLeft                = 8;
     this.panelEx1.TabIndex                        = 0;
     this.panelEx1.Text                            = "数据检查参数配置管理";
     //
     // tabControl1
     //
     this.tabControl1.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
     this.tabControl1.CanReorderTabs = true;
     this.tabControl1.Controls.Add(this.tabControlPanel1);
     this.tabControl1.Controls.Add(this.tabControlPanel2);
     this.tabControl1.Controls.Add(this.tabControlPanel3);
     this.tabControl1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location         = new System.Drawing.Point(4, 35);
     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(554, 273);
     this.tabControl1.TabIndex         = 3;
     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.Add(this.buttonX1);
     this.tabControlPanel1.Controls.Add(this.tabControl2);
     this.tabControlPanel1.Controls.Add(this.panelEx2);
     this.tabControlPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel1.Location = new System.Drawing.Point(0, 26);
     this.tabControlPanel1.Name     = "tabControlPanel1";
     this.tabControlPanel1.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel1.Size     = new System.Drawing.Size(554, 247);
     this.tabControlPanel1.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanel1.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanel1.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanel1.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide)(((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;
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.Location       = new System.Drawing.Point(454, 210);
     this.buttonX1.Name           = "buttonX1";
     this.buttonX1.Size           = new System.Drawing.Size(85, 28);
     this.buttonX1.TabIndex       = 4;
     this.buttonX1.Text           = "确 定";
     //
     // tabControl2
     //
     this.tabControl2.CanReorderTabs = true;
     this.tabControl2.Controls.Add(this.tabControlPanel4);
     this.tabControl2.Controls.Add(this.tabControlPanel5);
     this.tabControl2.Location         = new System.Drawing.Point(14, 66);
     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(536, 138);
     this.tabControl2.Style            = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
     this.tabControl2.TabIndex         = 3;
     this.tabControl2.TabLayoutType    = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabControl2.Tabs.Add(this.tabItem4);
     this.tabControl2.Tabs.Add(this.tabItem5);
     this.tabControl2.Text = "tabControl2";
     //
     // tabControlPanel5
     //
     this.tabControlPanel5.Controls.Add(this.buttonX2);
     this.tabControlPanel5.Controls.Add(this.textBoxX2);
     this.tabControlPanel5.Controls.Add(this.textBoxX5);
     this.tabControlPanel5.Controls.Add(this.labelX4);
     this.tabControlPanel5.Controls.Add(this.labelX1);
     this.tabControlPanel5.Controls.Add(this.textBoxX4);
     this.tabControlPanel5.Controls.Add(this.labelX5);
     this.tabControlPanel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel5.Location = new System.Drawing.Point(0, 25);
     this.tabControlPanel5.Name     = "tabControlPanel5";
     this.tabControlPanel5.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel5.Size     = new System.Drawing.Size(536, 113);
     this.tabControlPanel5.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
     this.tabControlPanel5.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
     this.tabControlPanel5.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
     this.tabControlPanel5.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
                                                                                             | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanel5.Style.GradientAngle = 90;
     this.tabControlPanel5.TabIndex            = 2;
     this.tabControlPanel5.TabItem             = this.tabItem5;
     //
     // buttonX2
     //
     this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX2.Location       = new System.Drawing.Point(308, 16);
     this.buttonX2.Name           = "buttonX2";
     this.buttonX2.Size           = new System.Drawing.Size(23, 21);
     this.buttonX2.TabIndex       = 10;
     this.buttonX2.Text           = "…";
     this.buttonX2.Click         += new System.EventHandler(this.buttonX2_Click);
     //
     // textBoxX2
     //
     //
     //
     //
     this.textBoxX2.Border.Class  = "TextBoxBorder";
     this.textBoxX2.Location      = new System.Drawing.Point(171, 69);
     this.textBoxX2.Name          = "textBoxX2";
     this.textBoxX2.Size          = new System.Drawing.Size(131, 21);
     this.textBoxX2.TabIndex      = 11;
     this.textBoxX2.WatermarkText = "代码与图层关系表名";
     //
     // textBoxX5
     //
     //
     //
     //
     this.textBoxX5.Border.Class  = "TextBoxBorder";
     this.textBoxX5.Location      = new System.Drawing.Point(171, 16);
     this.textBoxX5.Name          = "textBoxX5";
     this.textBoxX5.Size          = new System.Drawing.Size(131, 21);
     this.textBoxX5.TabIndex      = 9;
     this.textBoxX5.WatermarkText = "本地数据库文件路径";
     //
     // labelX4
     //
     this.labelX4.BackColor = System.Drawing.Color.Transparent;
     this.labelX4.Location  = new System.Drawing.Point(38, 71);
     this.labelX4.Name      = "labelX4";
     this.labelX4.Size      = new System.Drawing.Size(135, 21);
     this.labelX4.TabIndex  = 10;
     this.labelX4.Text      = "代码与图层关系表名:";
     //
     // labelX1
     //
     this.labelX1.BackColor = System.Drawing.Color.Transparent;
     this.labelX1.Location  = new System.Drawing.Point(38, 17);
     this.labelX1.Name      = "labelX1";
     this.labelX1.Size      = new System.Drawing.Size(110, 20);
     this.labelX1.TabIndex  = 8;
     this.labelX1.Text      = "本地数据库文件:";
     //
     // textBoxX4
     //
     //
     //
     //
     this.textBoxX4.Border.Class  = "TextBoxBorder";
     this.textBoxX4.Location      = new System.Drawing.Point(171, 42);
     this.textBoxX4.Name          = "textBoxX4";
     this.textBoxX4.Size          = new System.Drawing.Size(131, 21);
     this.textBoxX4.TabIndex      = 6;
     this.textBoxX4.WatermarkText = "分类代码表名";
     //
     // labelX5
     //
     this.labelX5.BackColor = System.Drawing.Color.Transparent;
     this.labelX5.Location  = new System.Drawing.Point(38, 45);
     this.labelX5.Name      = "labelX5";
     this.labelX5.Size      = new System.Drawing.Size(95, 19);
     this.labelX5.TabIndex  = 9;
     this.labelX5.Text      = "分类代码表名:";
     //
     // tabItem5
     //
     this.tabItem5.AttachedControl = this.tabControlPanel5;
     this.tabItem5.Name            = "tabItem5";
     this.tabItem5.Text            = "本地Access数据库";
     //
     // tabControlPanel4
     //
     this.tabControlPanel4.Controls.Add(this.pictureBox1);
     this.tabControlPanel4.Controls.Add(this.labelX6);
     this.tabControlPanel4.Controls.Add(this.comboBoxEx2);
     this.tabControlPanel4.Controls.Add(this.textBoxX1);
     this.tabControlPanel4.Controls.Add(this.labelX3);
     this.tabControlPanel4.Controls.Add(this.labelX2);
     this.tabControlPanel4.Controls.Add(this.textBoxX3);
     this.tabControlPanel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel4.Location = new System.Drawing.Point(0, 25);
     this.tabControlPanel4.Name     = "tabControlPanel4";
     this.tabControlPanel4.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel4.Size     = new System.Drawing.Size(536, 113);
     this.tabControlPanel4.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
     this.tabControlPanel4.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
     this.tabControlPanel4.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
     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.tabItem4;
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(330, 13);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(20, 18);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 13;
     this.pictureBox1.TabStop  = false;
     //
     // labelX6
     //
     this.labelX6.BackColor = System.Drawing.Color.Transparent;
     this.labelX6.Location  = new System.Drawing.Point(37, 15);
     this.labelX6.Name      = "labelX6";
     this.labelX6.Size      = new System.Drawing.Size(110, 20);
     this.labelX6.TabIndex  = 12;
     this.labelX6.Text      = "远程数据库连接:";
     //
     // comboBoxEx2
     //
     this.comboBoxEx2.DisplayMember     = "Text";
     this.comboBoxEx2.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboBoxEx2.FormattingEnabled = true;
     this.comboBoxEx2.Location          = new System.Drawing.Point(171, 13);
     this.comboBoxEx2.Name                  = "comboBoxEx2";
     this.comboBoxEx2.Size                  = new System.Drawing.Size(153, 22);
     this.comboBoxEx2.TabIndex              = 11;
     this.comboBoxEx2.WatermarkText         = "远程数据库连接标识符";
     this.comboBoxEx2.SelectedIndexChanged += new System.EventHandler(this.comboBoxEx2_SelectedIndexChanged);
     //
     // textBoxX1
     //
     //
     //
     //
     this.textBoxX1.Border.Class  = "TextBoxBorder";
     this.textBoxX1.Location      = new System.Drawing.Point(170, 69);
     this.textBoxX1.Name          = "textBoxX1";
     this.textBoxX1.Size          = new System.Drawing.Size(154, 21);
     this.textBoxX1.TabIndex      = 5;
     this.textBoxX1.WatermarkText = "代码与图层关系表名";
     //
     // labelX3
     //
     this.labelX3.BackColor = System.Drawing.Color.Transparent;
     this.labelX3.Location  = new System.Drawing.Point(37, 71);
     this.labelX3.Name      = "labelX3";
     this.labelX3.Size      = new System.Drawing.Size(135, 21);
     this.labelX3.TabIndex  = 4;
     this.labelX3.Text      = "代码与图层关系表名:";
     //
     // labelX2
     //
     this.labelX2.BackColor = System.Drawing.Color.Transparent;
     this.labelX2.Location  = new System.Drawing.Point(37, 45);
     this.labelX2.Name      = "labelX2";
     this.labelX2.Size      = new System.Drawing.Size(95, 19);
     this.labelX2.TabIndex  = 3;
     this.labelX2.Text      = "分类代码表名:";
     //
     // textBoxX3
     //
     //
     //
     //
     this.textBoxX3.Border.Class  = "TextBoxBorder";
     this.textBoxX3.Location      = new System.Drawing.Point(170, 42);
     this.textBoxX3.Name          = "textBoxX3";
     this.textBoxX3.Size          = new System.Drawing.Size(154, 21);
     this.textBoxX3.TabIndex      = 0;
     this.textBoxX3.WatermarkText = "分类代码表名";
     //
     // tabItem4
     //
     this.tabItem4.AttachedControl = this.tabControlPanel4;
     this.tabItem4.Name            = "tabItem4";
     this.tabItem4.Text            = "远程数据库";
     //
     // panelEx2
     //
     this.panelEx2.Controls.Add(this.radioButton2);
     this.panelEx2.Controls.Add(this.radioButton1);
     this.panelEx2.Controls.Add(this.label1);
     this.panelEx2.Controls.Add(this.panelEx3);
     this.panelEx2.Dock                              = System.Windows.Forms.DockStyle.Top;
     this.panelEx2.Location                          = new System.Drawing.Point(1, 1);
     this.panelEx2.Name                              = "panelEx2";
     this.panelEx2.Size                              = new System.Drawing.Size(552, 59);
     this.panelEx2.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(230)))), ((int)(((byte)(247)))));
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle               = 90;
     this.panelEx2.TabIndex                          = 0;
     //
     // radioButton2
     //
     this.radioButton2.AutoSize = true;
     this.radioButton2.Location = new System.Drawing.Point(420, 20);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.Size     = new System.Drawing.Size(95, 16);
     this.radioButton2.TabIndex = 3;
     this.radioButton2.TabStop  = true;
     this.radioButton2.Text     = "使用本地连接";
     this.radioButton2.UseVisualStyleBackColor = true;
     //
     // radioButton1
     //
     this.radioButton1.AutoSize = true;
     this.radioButton1.Location = new System.Drawing.Point(308, 19);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.Size     = new System.Drawing.Size(95, 16);
     this.radioButton1.TabIndex = 2;
     this.radioButton1.TabStop  = true;
     this.radioButton1.Text     = "使用远程连接";
     this.radioButton1.UseVisualStyleBackColor = true;
     //
     // 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, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Gray;
     this.label1.Location  = new System.Drawing.Point(10, 43);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(139, 13);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "分类代码标准化检查设置";
     //
     // panelEx3
     //
     this.panelEx3.Controls.Add(this.richTextBox2);
     this.panelEx3.Location = new System.Drawing.Point(10, 9);
     this.panelEx3.Name     = "panelEx3";
     this.panelEx3.Padding  = new System.Windows.Forms.Padding(6);
     this.panelEx3.Size     = new System.Drawing.Size(230, 34);
     this.panelEx3.Style.BackColor1.Color          = System.Drawing.Color.White;
     this.panelEx3.Style.Border                    = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.Color         = System.Drawing.Color.Gray;
     this.panelEx3.Style.BorderDashStyle           = System.Drawing.Drawing2D.DashStyle.Dash;
     this.panelEx3.Style.CornerDiameter            = 5;
     this.panelEx3.Style.CornerType                = DevComponents.DotNetBar.eCornerType.Rounded;
     this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx3.Style.GradientAngle             = 90;
     this.panelEx3.TabIndex = 0;
     this.panelEx3.Text     = "panelEx3";
     //
     // 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(218, 22);
     this.richTextBox2.TabIndex    = 0;
     this.richTextBox2.Text        = "代码标准化,代码图层设置";
     //
     // tabItem1
     //
     this.tabItem1.AttachedControl = this.tabControlPanel1;
     this.tabItem1.Name            = "tabItem1";
     this.tabItem1.Text            = "代码检查 &D";
     //
     // tabControlPanel2
     //
     this.tabControlPanel2.Controls.Add(this.panelEx4);
     this.tabControlPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel2.Location = new System.Drawing.Point(0, 26);
     this.tabControlPanel2.Name     = "tabControlPanel2";
     this.tabControlPanel2.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel2.Size     = new System.Drawing.Size(554, 247);
     this.tabControlPanel2.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanel2.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanel2.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanel2.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide)(((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;
     //
     // panelEx4
     //
     this.panelEx4.Controls.Add(this.label2);
     this.panelEx4.Controls.Add(this.panelEx7);
     this.panelEx4.Dock                              = System.Windows.Forms.DockStyle.Top;
     this.panelEx4.Location                          = new System.Drawing.Point(1, 1);
     this.panelEx4.Name                              = "panelEx4";
     this.panelEx4.Size                              = new System.Drawing.Size(552, 59);
     this.panelEx4.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(230)))), ((int)(((byte)(247)))));
     this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx4.Style.GradientAngle               = 90;
     this.panelEx4.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, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Gray;
     this.label2.Location  = new System.Drawing.Point(10, 43);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(295, 13);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "悬挂点、骨架线搜索容差,骨架线与对偶线匹配表设置";
     //
     // panelEx7
     //
     this.panelEx7.Controls.Add(this.richTextBox4);
     this.panelEx7.Location                        = new System.Drawing.Point(10, 9);
     this.panelEx7.Name                            = "panelEx7";
     this.panelEx7.Padding                         = new System.Windows.Forms.Padding(1);
     this.panelEx7.Size                            = new System.Drawing.Size(230, 34);
     this.panelEx7.Style.Alignment                 = System.Drawing.StringAlignment.Center;
     this.panelEx7.Style.BackColor1.Color          = System.Drawing.Color.White;
     this.panelEx7.Style.Border                    = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx7.Style.BorderColor.Color         = System.Drawing.Color.Gray;
     this.panelEx7.Style.BorderDashStyle           = System.Drawing.Drawing2D.DashStyle.Dash;
     this.panelEx7.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx7.Style.GradientAngle             = 90;
     this.panelEx7.TabIndex                        = 0;
     this.panelEx7.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(228, 32);
     this.richTextBox4.TabIndex    = 0;
     this.richTextBox4.Text        = "线检查容差,对应表设置";
     //
     // tabItem2
     //
     this.tabItem2.AttachedControl = this.tabControlPanel2;
     this.tabItem2.Name            = "tabItem2";
     this.tabItem2.Text            = "线标准化检查 &X";
     //
     // tabControlPanel3
     //
     this.tabControlPanel3.Controls.Add(this.panelEx5);
     this.tabControlPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel3.Location = new System.Drawing.Point(0, 26);
     this.tabControlPanel3.Name     = "tabControlPanel3";
     this.tabControlPanel3.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel3.Size     = new System.Drawing.Size(554, 247);
     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            = 3;
     this.tabControlPanel3.TabItem             = this.tabItem3;
     //
     // panelEx5
     //
     this.panelEx5.Controls.Add(this.label3);
     this.panelEx5.Controls.Add(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(552, 59);
     this.panelEx5.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.panelEx5.Style.BackColor1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(230)))), ((int)(((byte)(247)))));
     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, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Gray;
     this.label3.Location  = new System.Drawing.Point(10, 43);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(319, 13);
     this.label3.TabIndex  = 1;
     this.label3.Text      = "高程要素与其对应注记搜索容差设置,级别分类对应表设置";
     //
     // panelEx6
     //
     this.panelEx6.Controls.Add(this.richTextBox6);
     this.panelEx6.Location                        = new System.Drawing.Point(10, 9);
     this.panelEx6.Name                            = "panelEx6";
     this.panelEx6.Padding                         = new System.Windows.Forms.Padding(1);
     this.panelEx6.Size                            = new System.Drawing.Size(230, 34);
     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(228, 32);
     this.richTextBox6.TabIndex    = 0;
     this.richTextBox6.Text        = "高程检查容差,对应表设置";
     //
     // tabItem3
     //
     this.tabItem3.AttachedControl = this.tabControlPanel3;
     this.tabItem3.Name            = "tabItem3";
     this.tabItem3.Text            = "高程要素检查  &G";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(562, 310);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.panelEx1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.MinimumSize     = new System.Drawing.Size(281, 142);
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "数据检查设置";
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabControlPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).EndInit();
     this.tabControl2.ResumeLayout(false);
     this.tabControlPanel5.ResumeLayout(false);
     this.tabControlPanel4.ResumeLayout(false);
     this.tabControlPanel4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     this.panelEx3.ResumeLayout(false);
     this.tabControlPanel2.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     this.panelEx4.PerformLayout();
     this.panelEx7.ResumeLayout(false);
     this.tabControlPanel3.ResumeLayout(false);
     this.panelEx5.ResumeLayout(false);
     this.panelEx5.PerformLayout();
     this.panelEx6.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 15
0
 private void InitializeComponent()
 {
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.txtDesc          = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.txtName          = new DevComponents.DotNetBar.Controls.TextBoxX();
     this.labelPreviewFore = new DevComponents.DotNetBar.LabelX();
     this.labelX3          = new DevComponents.DotNetBar.LabelX();
     this.labelX2          = new DevComponents.DotNetBar.LabelX();
     this.labelX1          = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx1.Controls.Add(this.txtDesc);
     this.panelEx1.Controls.Add(this.txtName);
     this.panelEx1.Controls.Add(this.labelPreviewFore);
     this.panelEx1.Controls.Add(this.labelX3);
     this.panelEx1.Controls.Add(this.labelX2);
     this.panelEx1.Controls.Add(this.labelX1);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(420, 350);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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;
     //
     // txtDesc
     //
     //
     //
     //
     this.txtDesc.Border.Class = "TextBoxBorder";
     this.txtDesc.Location     = new System.Drawing.Point(117, 150);
     this.txtDesc.Multiline    = true;
     this.txtDesc.Name         = "txtDesc";
     this.txtDesc.Size         = new System.Drawing.Size(238, 98);
     this.txtDesc.TabIndex     = 5;
     //
     // txtName
     //
     //
     //
     //
     this.txtName.Border.Class = "TextBoxBorder";
     this.txtName.Location     = new System.Drawing.Point(117, 96);
     this.txtName.Name         = "txtName";
     this.txtName.Size         = new System.Drawing.Size(238, 21);
     this.txtName.TabIndex     = 4;
     //
     // labelPreviewFore
     //
     this.labelPreviewFore.BackColor = System.Drawing.Color.Transparent;
     this.labelPreviewFore.Location  = new System.Drawing.Point(117, 31);
     this.labelPreviewFore.Margin    = new System.Windows.Forms.Padding(0);
     this.labelPreviewFore.Name      = "labelPreviewFore";
     this.labelPreviewFore.Size      = new System.Drawing.Size(80, 40);
     this.labelPreviewFore.TabIndex  = 3;
     this.labelPreviewFore.Click    += new System.EventHandler(this.Control_Click);
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     this.labelX3.Location = new System.Drawing.Point(37, 152);
     this.labelX3.Name     = "labelX3";
     this.labelX3.Size     = new System.Drawing.Size(44, 18);
     this.labelX3.TabIndex = 2;
     this.labelX3.Text     = "ÃèÊö£º";
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     this.labelX2.Location = new System.Drawing.Point(37, 97);
     this.labelX2.Name     = "labelX2";
     this.labelX2.Size     = new System.Drawing.Size(44, 18);
     this.labelX2.TabIndex = 1;
     this.labelX2.Text     = "Ãû³Æ£º";
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     this.labelX1.Location = new System.Drawing.Point(37, 42);
     this.labelX1.Name     = "labelX1";
     this.labelX1.Size     = new System.Drawing.Size(44, 18);
     this.labelX1.TabIndex = 0;
     this.labelX1.Text     = "·ûºÅ£º";
     //
     // frmSimpleRenderer
     //
     this.Controls.Add(this.panelEx1);
     this.Name = "frmSimpleRenderer";
     this.Size = new System.Drawing.Size(420, 350);
     this.panelEx1.ResumeLayout(false);
     this.panelEx1.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 16
0
        private void ShowPanel(DevComponents.DotNetBar.PanelEx panel)
        {
            Utility.SuspendPainting(panelMain);
            SelectedPanel = panel;

            foreach (var p in Panels)
            {
                p.Style.BackColor1.Color = this.BackColor;
                p.Style.BackColor2.Color = this.BackColor;
            }
            panel.Style.BackColor1.Color = Color.FromArgb(90, 90, 90);
            panel.Style.BackColor2.Color = Color.FromArgb(90, 90, 90);
            panelMain.Visible = true;

            if (panel == panelAuto)
            {
                labelHeading.Text = "Auto Install";
                labelDescription.Text = "Your license will be retrieved and installed automatically. Requires an internet connection.";
            }
            else if (panel == panelManual)
            {
                labelHeading.Text = "Manual Install";
                labelDescription.Text = "The website will be opened for you. Download the license file. Double-click it to install.";
            }
            Utility.ResumePainting(panelMain);
        }
Ejemplo n.º 17
0
        private PanelEx CreateItem(string title, Color color)
        {
            PanelEx objPanel = new PanelEx();

            objPanel.Margin = new System.Windows.Forms.Padding(2);
            objPanel.CanvasColor = System.Drawing.SystemColors.Control;
            objPanel.ColorSchemeStyle = eDotNetBarStyle.Office2010;
            objPanel.Size = new System.Drawing.Size(91, 20);
            objPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
            objPanel.Style.BorderColor.ColorSchemePart = eColorSchemePart.Custom;
            objPanel.Style.BorderColor.Color = Color.LightBlue;
            objPanel.Style.BackColor2.ColorSchemePart = eColorSchemePart.Custom;
            objPanel.Style.BackColor2.Color = color;
            objPanel.Style.BackColor1.ColorSchemePart = eColorSchemePart.Custom;
            objPanel.Style.BackColor1.Color = Color.White;
            objPanel.Style.ForeColor.ColorSchemePart = eColorSchemePart.Custom;
            objPanel.Style.ForeColor.Color = Color.Black;
            objPanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            objPanel.Style.CornerDiameter = 3;
            objPanel.Style.CornerType = DevComponents.DotNetBar.eCornerType.Diagonal;
            objPanel.Style.GradientAngle = 90;
            objPanel.Style.TextTrimming = System.Drawing.StringTrimming.None;
            objPanel.Text = title;
            Tip.DefaultFont = Font;
            Tip.SetSuperTooltip(objPanel, new SuperTooltipInfo("", "", title, null, null, eTooltipColor.Office2003));

            return objPanel;
        }
Ejemplo n.º 18
0
        }                                           //初始的透明度 xisheng 20110729
        //private XmlDocument m_pXmlDoc;

        private void InitializeComponent()
        {
            this.btnApply  = new DevComponents.DotNetBar.ButtonX();
            this.btnCancel = new DevComponents.DotNetBar.ButtonX();
            this.btnOK     = new DevComponents.DotNetBar.ButtonX();
            this.panelEx1  = new DevComponents.DotNetBar.PanelEx();
            this.SuspendLayout();
            //
            // btnApply
            //
            this.btnApply.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.btnApply.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.btnApply.Location       = new System.Drawing.Point(381, 318);
            this.btnApply.Name           = "btnApply";
            this.btnApply.Size           = new System.Drawing.Size(75, 23);
            this.btnApply.TabIndex       = 6;
            this.btnApply.Text           = "应用";
            this.btnApply.Click         += new System.EventHandler(this.btnApply_Click);
            //
            // btnCancel
            //
            this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.btnCancel.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.btnCancel.Location       = new System.Drawing.Point(300, 318);
            this.btnCancel.Name           = "btnCancel";
            this.btnCancel.Size           = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex       = 5;
            this.btnCancel.Text           = "取消";
            this.btnCancel.Click         += new System.EventHandler(this.btnCancel_Click);
            //
            // btnOK
            //
            this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            this.btnOK.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
            this.btnOK.Location       = new System.Drawing.Point(219, 318);
            this.btnOK.Name           = "btnOK";
            this.btnOK.Size           = new System.Drawing.Size(75, 23);
            this.btnOK.TabIndex       = 4;
            this.btnOK.Text           = "确定";
            this.btnOK.Click         += new System.EventHandler(this.btnOK_Click);
            //
            // panelEx1
            //
            this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
            this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
            this.panelEx1.Dock             = System.Windows.Forms.DockStyle.Top;
            this.panelEx1.Location         = new System.Drawing.Point(0, 0);
            this.panelEx1.Name             = "panelEx1";
            this.panelEx1.Size             = new System.Drawing.Size(467, 313);
            this.panelEx1.Style.Alignment  = System.Drawing.StringAlignment.Center;
            this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
            this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
            this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            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            = 7;
            //
            // frmLayerProperties
            //
            this.ClientSize = new System.Drawing.Size(467, 343);
            this.Controls.Add(this.panelEx1);
            this.Controls.Add(this.btnApply);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnOK);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.HelpButton      = true;
            this.MaximizeBox     = false;
            this.MinimizeBox     = false;
            this.Name            = "frmLayerProperties";
            this.ShowIcon        = false;
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text            = "图层属性";
            this.TopMost         = true;
            this.ResumeLayout(false);
        }
Ejemplo n.º 19
0
        public TaggingBar()
        {
            InitializeComponent();

            #region InitializeComponent Manual
            this.StatusMenuBar = new DevComponents.DotNetBar.ContextMenuBar();

            StatusList = new List<ButtonItem>();

            //依據設定動態建立功能表。
            foreach (StatusItem each in Program.StatusList)
            {
                ButtonItem item = new ButtonItem();

                item.AutoCheckOnClick = true;
                item.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet;
                item.ImagePaddingHorizontal = 8;
                item.OptionGroup = "status";
                item.Text = each.Text;
                item.Tag = each;
                item.CheckedChanged += new System.EventHandler(this.StatusMenu_CheckedChanged);

                StatusList.Add(item);
            }

            this.StatusContainer = new DevComponents.DotNetBar.ButtonItem();
            this.StatusPanel = new DevComponents.DotNetBar.PanelEx();
            ((System.ComponentModel.ISupportInitialize)(this.StatusMenuBar)).BeginInit();
            this.SuspendLayout();
            //
            // contextMenuBar1
            //
            this.StatusMenuBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            this.StatusContainer});
            this.StatusMenuBar.Location = new System.Drawing.Point(36, 12);
            this.StatusMenuBar.Size = new System.Drawing.Size(123, 25);
            this.StatusMenuBar.Stretch = true;
            this.StatusMenuBar.TabIndex = 184;
            this.StatusMenuBar.TabStop = false;
            this.StatusMenuBar.Text = "StatusMenuBar";
            //
            // buttonItem1
            //
            this.StatusContainer.AutoExpandOnClick = true;
            this.StatusContainer.ImageListSizeSelection = DevComponents.DotNetBar.eButtonImageListSelection.NotSet;
            this.StatusContainer.ImagePaddingHorizontal = 8;
            this.StatusContainer.SubItems.AddRange(StatusList.ToArray());
            this.StatusContainer.Text = "statusMenu";
            //
            // panelEx1
            //
            this.StatusPanel.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.StatusPanel.CanvasColor = System.Drawing.SystemColors.Control;
            this.StatusPanel.Location = new System.Drawing.Point(66, 3);
            this.StatusPanel.Margin = new System.Windows.Forms.Padding(0);
            this.StatusPanel.Size = new System.Drawing.Size(95, 20);
            this.StatusPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
            this.StatusPanel.Style.BackColor1.Color = System.Drawing.Color.LightBlue;
            this.StatusPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
            this.StatusPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
            this.StatusPanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
            this.StatusPanel.Style.BorderWidth = 0;
            this.StatusPanel.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
            this.StatusPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
            this.StatusPanel.Style.GradientAngle = 90;
            this.StatusPanel.Style.TextTrimming = System.Drawing.StringTrimming.Word;
            this.StatusPanel.TabIndex = 184;
            this.StatusPanel.Text = "一般";
            this.StatusPanel.Click += new System.EventHandler(this.StatusPanel_Click);
            //
            // DescriptionLabel
            //
            DescriptionLabel = new LabelX();
            DescriptionLabel.Text = string.Empty;
            DescriptionLabel.Dock = DockStyle.Left;
            DescriptionLabel.AutoSize = true;
            DescriptionLabel.Font = new Font(Font.FontFamily, 13);
            //
            // StudentDescription
            //
            //this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
            //this.AutoSize = true;
            this.Controls.Add(this.StatusMenuBar);
            this.Name = "StudentDescription";

            ((System.ComponentModel.ISupportInitialize)(this.StatusMenuBar)).EndInit();
            this.ResumeLayout(false);

            DescriptionPanel.Controls.Add(DescriptionLabel);
            DescriptionPanel.Controls.Add(StatusPanel);
            #endregion

            TaggingWorker.DoWork += (TaggingWorker_DoWork);
            TaggingWorker.RunWorkerCompleted += (TaggingWorker_RunWorkerCompleted);

            TagConfig.AfterInsert += TagRecordChangedEventHandler;
            TagConfig.AfterUpdate += TagRecordChangedEventHandler;
            TagConfig.AfterDelete += TagRecordChangedEventHandler;
        }
Ejemplo n.º 20
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.m_panelMain = new DevComponents.DotNetBar.PanelEx();
			this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
			this.panelEmbedded = new DevComponents.DotNetBar.PanelEx();
			this.spacer = new DevComponents.DotNetBar.PanelEx();
			this.testPanel = new DevComponents.DotNetBar.PanelEx();
			this.m_panelMain.SuspendLayout();
			this.panelEx2.SuspendLayout();
			this.SuspendLayout();
			//
			// m_panelMain
			//
			this.m_panelMain.Controls.Add(this.panelEx2);
			this.m_panelMain.Controls.Add(this.spacer);
			this.m_panelMain.Controls.Add(this.testPanel);
			this.m_panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
			this.m_panelMain.DockPadding.Bottom = 0;
			this.m_panelMain.DockPadding.Left = 2;
			this.m_panelMain.DockPadding.Right = 2;
			this.m_panelMain.DockPadding.Top = 0;
			this.m_panelMain.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.m_panelMain.Location = new System.Drawing.Point(0, 0);
			this.m_panelMain.Name = "m_panelMain";
			this.m_panelMain.Size = new System.Drawing.Size(704, 24);
			this.m_panelMain.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
			this.m_panelMain.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
			this.m_panelMain.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
			this.m_panelMain.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
			this.m_panelMain.Style.BorderWidth = 0;
			this.m_panelMain.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
			this.m_panelMain.Style.GradientAngle = 90;
			this.m_panelMain.TabIndex = 0;
			this.m_panelMain.Text = "Title";
			//
			// panelEx2
			//
			this.panelEx2.Controls.Add(this.panelEmbedded);
			this.panelEx2.Dock = System.Windows.Forms.DockStyle.Right;
			this.panelEx2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.panelEx2.Location = new System.Drawing.Point(465, 2);
			this.panelEx2.Name = "panelEx2";
			this.panelEx2.Size = new System.Drawing.Size(56, 20);
			this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Far;
			this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
			this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
			this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
			this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
			this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
			this.panelEx2.Style.GradientAngle = 90;
			this.panelEx2.StyleMouseOver.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotBackground;
			this.panelEx2.StyleMouseOver.ForeColor.Color = System.Drawing.Color.Yellow;
			this.panelEx2.TabIndex = 2;
			this.panelEx2.Text = "Test2";
			//
			// panelEmbedded
			//
			this.panelEmbedded.Location = new System.Drawing.Point(0, 0);
			this.panelEmbedded.Name = "panelEmbedded";
			this.panelEmbedded.Size = new System.Drawing.Size(20, 20);
			this.panelEmbedded.Style.Alignment = System.Drawing.StringAlignment.Center;
			this.panelEmbedded.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
			this.panelEmbedded.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
			this.panelEmbedded.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
			this.panelEmbedded.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
			this.panelEmbedded.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
			this.panelEmbedded.Style.GradientAngle = 90;
			this.panelEmbedded.TabIndex = 0;
			this.panelEmbedded.Text = "zzz";
			//
			// spacer
			//
			this.spacer.Dock = System.Windows.Forms.DockStyle.Right;
			this.spacer.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.spacer.Location = new System.Drawing.Point(521, 2);
			this.spacer.Name = "spacer";
			this.spacer.Size = new System.Drawing.Size(48, 20);
			this.spacer.Style.Alignment = System.Drawing.StringAlignment.Center;
			this.spacer.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
			this.spacer.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
			this.spacer.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
			this.spacer.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
			this.spacer.Style.BorderWidth = 0;
			this.spacer.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
			this.spacer.Style.GradientAngle = 90;
			this.spacer.StyleMouseOver.ForeColor.Color = System.Drawing.Color.Yellow;
			this.spacer.TabIndex = 1;
			//
			// testPanel
			//
			this.testPanel.Dock = System.Windows.Forms.DockStyle.Right;
			this.testPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.testPanel.Location = new System.Drawing.Point(569, 2);
			this.testPanel.Name = "testPanel";
			this.testPanel.Size = new System.Drawing.Size(120, 20);
			this.testPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
			this.testPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedBackground;
			this.testPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedBackground2;
			this.testPanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
			this.testPanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
			this.testPanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemCheckedText;
			this.testPanel.Style.GradientAngle = 90;
			this.testPanel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.Yellow;
			this.testPanel.TabIndex = 0;
			this.testPanel.Text = "Test";
			//
			// PaneBar
			//
			this.Controls.Add(this.m_panelMain);
			this.Name = "PaneBar";
			this.Size = new System.Drawing.Size(696, 24);
			this.m_panelMain.ResumeLayout(false);
			this.panelEx2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Ejemplo n.º 21
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmStretchColorRampRenderer));
     this.panelEx1              = new DevComponents.DotNetBar.PanelEx();
     this.panelEx2              = new DevComponents.DotNetBar.PanelEx();
     this.labelX4               = new DevComponents.DotNetBar.LabelX();
     this.checkReverse          = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.pBoxColorRamp         = new System.Windows.Forms.PictureBox();
     this.dbBackgrdVal          = new DevComponents.Editors.DoubleInput();
     this.labelX1               = new DevComponents.DotNetBar.LabelX();
     this.colorPickerNoData     = new DevComponents.DotNetBar.ColorPickerButton();
     this.labelNoData           = new DevComponents.DotNetBar.LabelX();
     this.colorPickerBackGround = new DevComponents.DotNetBar.ColorPickerButton();
     this.checkBackgroundColor  = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.cmbColorRamp          = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.maxValueInput         = new DevComponents.Editors.DoubleInput();
     this.minValueInput         = new DevComponents.Editors.DoubleInput();
     this.labelX2               = new DevComponents.DotNetBar.LabelX();
     this.labelX3               = new DevComponents.DotNetBar.LabelX();
     this.labelX5               = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pBoxColorRamp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dbBackgrdVal)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(425, 350);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx2.Controls.Add(this.labelX4);
     this.panelEx2.Controls.Add(this.checkReverse);
     this.panelEx2.Controls.Add(this.pBoxColorRamp);
     this.panelEx2.Controls.Add(this.dbBackgrdVal);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Controls.Add(this.colorPickerNoData);
     this.panelEx2.Controls.Add(this.labelNoData);
     this.panelEx2.Controls.Add(this.colorPickerBackGround);
     this.panelEx2.Controls.Add(this.checkBackgroundColor);
     this.panelEx2.Controls.Add(this.cmbColorRamp);
     this.panelEx2.Controls.Add(this.maxValueInput);
     this.panelEx2.Controls.Add(this.minValueInput);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.labelX5);
     this.panelEx2.Location        = new System.Drawing.Point(3, 2);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(419, 347);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 46;
     //
     // labelX4
     //
     this.labelX4.AutoSize = true;
     this.labelX4.Location = new System.Drawing.Point(16, 14);
     this.labelX4.Name     = "labelX4";
     this.labelX4.Size     = new System.Drawing.Size(44, 18);
     this.labelX4.TabIndex = 22;
     this.labelX4.Text     = "颜色:";
     //
     // checkReverse
     //
     this.checkReverse.Location        = new System.Drawing.Point(317, 181);
     this.checkReverse.Name            = "checkReverse";
     this.checkReverse.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.checkReverse.Size            = new System.Drawing.Size(99, 30);
     this.checkReverse.TabIndex        = 21;
     this.checkReverse.Text            = "色带反向";
     this.checkReverse.CheckedChanged += new System.EventHandler(this.checkReverse_CheckedChanged);
     //
     // pBoxColorRamp
     //
     this.pBoxColorRamp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pBoxColorRamp.BorderStyle           = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pBoxColorRamp.Location = new System.Drawing.Point(71, 14);
     this.pBoxColorRamp.Name     = "pBoxColorRamp";
     this.pBoxColorRamp.Size     = new System.Drawing.Size(25, 75);
     this.pBoxColorRamp.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pBoxColorRamp.TabIndex = 20;
     this.pBoxColorRamp.TabStop  = false;
     //
     // dbBackgrdVal
     //
     //
     //
     //
     this.dbBackgrdVal.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.dbBackgrdVal.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.dbBackgrdVal.Increment = 1;
     this.dbBackgrdVal.Location  = new System.Drawing.Point(129, 144);
     this.dbBackgrdVal.Name      = "dbBackgrdVal";
     this.dbBackgrdVal.Size      = new System.Drawing.Size(62, 21);
     this.dbBackgrdVal.TabIndex  = 19;
     //
     // labelX1
     //
     this.labelX1.Location = new System.Drawing.Point(230, 149);
     this.labelX1.Name     = "labelX1";
     this.labelX1.Size     = new System.Drawing.Size(80, 21);
     this.labelX1.TabIndex = 18;
     this.labelX1.Text     = "的颜色为";
     //
     // colorPickerNoData
     //
     this.colorPickerNoData.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.colorPickerNoData.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.colorPickerNoData.Image          = ((System.Drawing.Image)(resources.GetObject("colorPickerNoData.Image")));
     this.colorPickerNoData.Location       = new System.Drawing.Point(99, 190);
     this.colorPickerNoData.Name           = "colorPickerNoData";
     this.colorPickerNoData.SelectedColorImageRectangle = new System.Drawing.Rectangle(2, 2, 12, 12);
     this.colorPickerNoData.Size     = new System.Drawing.Size(37, 23);
     this.colorPickerNoData.TabIndex = 17;
     //
     // labelNoData
     //
     this.labelNoData.Location = new System.Drawing.Point(16, 190);
     this.labelNoData.Name     = "labelNoData";
     this.labelNoData.Size     = new System.Drawing.Size(80, 21);
     this.labelNoData.TabIndex = 16;
     this.labelNoData.Text     = "无效数据颜色";
     //
     // colorPickerBackGround
     //
     this.colorPickerBackGround.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.colorPickerBackGround.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.colorPickerBackGround.Image          = ((System.Drawing.Image)(resources.GetObject("colorPickerBackGround.Image")));
     this.colorPickerBackGround.Location       = new System.Drawing.Point(351, 144);
     this.colorPickerBackGround.Name           = "colorPickerBackGround";
     this.colorPickerBackGround.SelectedColorImageRectangle = new System.Drawing.Rectangle(2, 2, 12, 12);
     this.colorPickerBackGround.Size     = new System.Drawing.Size(37, 23);
     this.colorPickerBackGround.TabIndex = 15;
     //
     // checkBackgroundColor
     //
     this.checkBackgroundColor.Location        = new System.Drawing.Point(16, 144);
     this.checkBackgroundColor.Name            = "checkBackgroundColor";
     this.checkBackgroundColor.Size            = new System.Drawing.Size(99, 30);
     this.checkBackgroundColor.TabIndex        = 13;
     this.checkBackgroundColor.Text            = "显示背景值:";
     this.checkBackgroundColor.CheckedChanged += new System.EventHandler(this.checkBackgroundColor_CheckedChanged);
     //
     // cmbColorRamp
     //
     this.cmbColorRamp.DisplayMember     = "Text";
     this.cmbColorRamp.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbColorRamp.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbColorRamp.FormattingEnabled = true;
     this.cmbColorRamp.ItemHeight        = 21;
     this.cmbColorRamp.Location          = new System.Drawing.Point(71, 91);
     this.cmbColorRamp.Name                  = "cmbColorRamp";
     this.cmbColorRamp.Size                  = new System.Drawing.Size(317, 27);
     this.cmbColorRamp.TabIndex              = 2;
     this.cmbColorRamp.SelectedIndexChanged += new System.EventHandler(this.cmbColorRamp_SelectedIndexChanged);
     //
     // maxValueInput
     //
     //
     //
     //
     this.maxValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.maxValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.maxValueInput.Enabled   = false;
     this.maxValueInput.Increment = 1;
     this.maxValueInput.Location  = new System.Drawing.Point(267, 11);
     this.maxValueInput.Name      = "maxValueInput";
     this.maxValueInput.Size      = new System.Drawing.Size(122, 21);
     this.maxValueInput.TabIndex  = 3;
     //
     // minValueInput
     //
     //
     //
     //
     this.minValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.minValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.minValueInput.Enabled   = false;
     this.minValueInput.Increment = 1;
     this.minValueInput.Location  = new System.Drawing.Point(267, 65);
     this.minValueInput.Name      = "minValueInput";
     this.minValueInput.Size      = new System.Drawing.Size(122, 21);
     this.minValueInput.TabIndex  = 2;
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     this.labelX2.Location = new System.Drawing.Point(216, 68);
     this.labelX2.Name     = "labelX2";
     this.labelX2.Size     = new System.Drawing.Size(44, 18);
     this.labelX2.TabIndex = 8;
     this.labelX2.Text     = "最小值";
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     this.labelX3.Location = new System.Drawing.Point(216, 14);
     this.labelX3.Name     = "labelX3";
     this.labelX3.Size     = new System.Drawing.Size(44, 18);
     this.labelX3.TabIndex = 9;
     this.labelX3.Text     = "最大值";
     //
     // labelX5
     //
     this.labelX5.AutoSize = true;
     this.labelX5.Location = new System.Drawing.Point(16, 100);
     this.labelX5.Name     = "labelX5";
     this.labelX5.Size     = new System.Drawing.Size(56, 18);
     this.labelX5.TabIndex = 11;
     this.labelX5.Text     = "颜色方案";
     //
     // frmStretchColorRampRenderer
     //
     this.Controls.Add(this.panelEx1);
     this.Name = "frmStretchColorRampRenderer";
     this.Size = new System.Drawing.Size(425, 350);
     this.panelEx1.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pBoxColorRamp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dbBackgrdVal)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 22
0
        private void Populate()
        {
            DaysPassed = 30 - frmLicenseWizard.DaysRemaining;
            panelExtendTrial.Visible = false;
            textBoxSerial.Text = LicenseMonitor.CurrentLicense.Lic == null ? "" : LicenseMonitor.CurrentLicense.Lic.Serial;
            SelectedPanel = panelContinueTrial;

            ShowPanel(panelContinueTrial);
            Refresh();

            string trialWords;

            switch (frmLicenseWizard.LockType)
            {
                case SlyceAuthorizer.LockTypes.Date:
                case SlyceAuthorizer.LockTypes.Days:
                    trialWords = "trial period";
                    break;
                default:
                    trialWords = "30-day trial period";
                    break;
            }
            switch (frmLicenseWizard.LicenseStatus)
            {
                case SlyceAuthorizer.LicenseStates.HardwareNotMatched:
                    labelWarning.Text = "The Hardware ID in your license does not match your computer.";
                    break;
                case SlyceAuthorizer.LicenseStates.InvalidSignature:
                    labelWarning.Text = "Your license file has been tampered with, and is therefore invalid.";
                    break;
                case SlyceAuthorizer.LicenseStates.Revoked:
                    labelWarning.Text = "Your serial number has been revoked. Please contact [email protected] for a replacement.";
                    break;
                default:
                    labelWarning.Text = "";
                    break;
            }
            if (frmLicenseWizard.DaysRemaining == 1)
            {
                lblMessage.Text = string.Format("Trial expires tomorrow", trialWords);
                panelExtendTrial.Visible = true;
            }
            else if (frmLicenseWizard.DaysRemaining > 0)
            {
                panelContinueTrial.Text = "Continue trial";
                lblMessage.Text = string.Format("Trial: {0} days remaining", frmLicenseWizard.DaysRemaining, trialWords);
            }
            else if (frmLicenseWizard.DaysRemaining <= 0 && (frmLicenseWizard.LockType == SlyceAuthorizer.LockTypes.Date || frmLicenseWizard.LockType == SlyceAuthorizer.LockTypes.Days))
            {
                panelContinueTrial.Text = "Continue trial";
                panelContinueTrial.Enabled = false;
                ShowPanel(panelSerial);
                panelExtendTrial.Visible = true;

                if (LicenseMonitor.CurrentLicense.Lic == null)
                {
                    lblMessage.Text = "No licenses found";
                    buttonRefreshLicense.Visible = false;
                    buttonRemoveLicense.Visible = false;
                }
                else
                {
                    if (LicenseMonitor.CurrentLicense.Lic.Type == License.LicenseTypes.Trial)
                        lblMessage.Text = string.Format("Trial expired", trialWords);
                    else
                        lblMessage.Text = string.Format("License expired", trialWords);

                    buttonRefreshLicense.Visible = true;
                    buttonRemoveLicense.Visible = true;
                }
            }
            else
            {
                panelContinueTrial.Text = "Start trial";

                if (frmLicenseWizard.LockType == SlyceAuthorizer.LockTypes.None)
                {
                    lblMessage.Text = "No license file found";
                }
            }
            labelSerial.Top = panelMain.Height - buttonGetNewTrialLicenseAuto.Height - 10 - textBoxSerial.Height - 5;
            labelSerial.Left = 10;
            textBoxSerial.Top = labelSerial.Top - 2;
            textBoxSerial.Left = labelSerial.Right + 5;
            textBoxSerial.Width = panelMain.Width - textBoxSerial.Left - 10;
            textBoxSerial.BringToFront();
            buttonGetNewTrialLicenseAuto.Left = textBoxSerial.Left;
            buttonGetNewTrialLicenseAuto.Top = panelMain.Height - buttonGetNewTrialLicenseAuto.Height - 10;
            buttonGetNewTrialLicenseManual.Left = buttonGetNewTrialLicenseAuto.Right + 5;
            buttonGetNewTrialLicenseManual.Top = panelMain.Height - buttonGetNewTrialLicenseAuto.Height - 10;
            buttonContinue.Location = buttonGetNewTrialLicenseAuto.Location;
            buttonInstallLicenseFile.Location = buttonGetNewTrialLicenseAuto.Location;
            buttonBuyNow.Location = buttonGetNewTrialLicenseAuto.Location;
            buttonExtendTrial.Location = buttonGetNewTrialLicenseAuto.Location;

            textBoxLicenseFile.Location = labelSerial.Location;
            textBoxLicenseFile.Width = panelMain.Width - textBoxLicenseFile.Left - buttonBrowse.Width - 15;
            textBoxLicenseFile.BringToFront();
            buttonBrowse.Left = textBoxLicenseFile.Right + 5;
            buttonBrowse.Top = textBoxLicenseFile.Top;
            buttonBrowse.BringToFront();
        }
Ejemplo n.º 23
0
        private void DestroyPanePopup()
        {
            if (m_PanePopupPanel != null)
            {
                this.Controls.Remove(m_PanePopupPanel);
                m_PanePopupPanel.Dispose();
                m_PanePopupPanel = null;
            }

            foreach(Control c in this.Controls)
            {
                if (c is NavigationPanePanel && ((NavigationPanePanel)c).ParentItem == this.CheckedButton)
                {
                    c.Visible = true;
                    if(this.DesignMode)
                        TypeDescriptor.GetProperties(c)["Visible"].SetValue(c, true);
                    c.BringToFront();
                    break;
                }
            }
        }
Ejemplo n.º 24
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.expandablePanel3 = new DevComponents.DotNetBar.ExpandablePanel();
     this.expandablePanel2 = new DevComponents.DotNetBar.ExpandablePanel();
     this.expandablePanel1 = new DevComponents.DotNetBar.ExpandablePanel();
     this.expandablePanel5 = new DevComponents.DotNetBar.ExpandablePanel();
     this.itemPanel2       = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem4      = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem5      = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem6      = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem7      = new DevComponents.DotNetBar.ButtonItem();
     this.expandablePanel4 = new DevComponents.DotNetBar.ExpandablePanel();
     this.itemPanel1       = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem1      = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem2      = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem3      = new DevComponents.DotNetBar.ButtonItem();
     this.panelEx1.SuspendLayout();
     this.expandablePanel1.SuspendLayout();
     this.expandablePanel5.SuspendLayout();
     this.expandablePanel4.SuspendLayout();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.expandablePanel3,
         this.expandablePanel2,
         this.expandablePanel1
     });
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(536, 286);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx1.Style.BackgroundImagePosition     = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex            = 0;
     //
     // expandablePanel3
     //
     this.expandablePanel3.ButtonImageCollapse = ((System.Drawing.Bitmap)(resources.GetObject("expandablePanel3.ButtonImageCollapse")));
     this.expandablePanel3.ButtonImageExpand   = ((System.Drawing.Bitmap)(resources.GetObject("expandablePanel3.ButtonImageExpand")));
     this.expandablePanel3.CanvasColor         = System.Drawing.SystemColors.Control;
     this.expandablePanel3.DockPadding.All     = 3;
     this.expandablePanel3.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.expandablePanel3.Location        = new System.Drawing.Point(352, 8);
     this.expandablePanel3.Name            = "expandablePanel3";
     this.expandablePanel3.Size            = new System.Drawing.Size(168, 264);
     this.expandablePanel3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.MenuSide;
     this.expandablePanel3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.MenuSide2;
     this.expandablePanel3.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.expandablePanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
     this.expandablePanel3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel3.Style.GradientAngle             = -90;
     this.expandablePanel3.Style.WordWrap = true;
     this.expandablePanel3.TabIndex       = 2;
     this.expandablePanel3.Text           = "ExpandablePanel with rounded border and custom style for title bar. Custom expand" +
                                            "/collapse button is used as well.";
     this.expandablePanel3.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel3.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotBackground;
     this.expandablePanel3.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotBackground2;
     this.expandablePanel3.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel3.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotBorder;
     this.expandablePanel3.TitleStyle.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.expandablePanel3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
     this.expandablePanel3.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemHotText;
     this.expandablePanel3.TitleStyle.GradientAngle             = 90;
     this.expandablePanel3.TitleText = "Title Bar";
     //
     // expandablePanel2
     //
     this.expandablePanel2.ButtonImageCollapse = ((System.Drawing.Bitmap)(resources.GetObject("expandablePanel2.ButtonImageCollapse")));
     this.expandablePanel2.ButtonImageExpand   = ((System.Drawing.Bitmap)(resources.GetObject("expandablePanel2.ButtonImageExpand")));
     this.expandablePanel2.CanvasColor         = System.Drawing.SystemColors.Control;
     this.expandablePanel2.Font                              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.expandablePanel2.Location                          = new System.Drawing.Point(168, 8);
     this.expandablePanel2.Name                              = "expandablePanel2";
     this.expandablePanel2.Size                              = new System.Drawing.Size(168, 264);
     this.expandablePanel2.Style.Alignment                   = System.Drawing.StringAlignment.Center;
     this.expandablePanel2.Style.BackColor1.Color            = System.Drawing.Color.White;
     this.expandablePanel2.Style.BackgroundImagePosition     = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.expandablePanel2.Style.Border                      = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel2.Style.CornerType                  = DevComponents.DotNetBar.eCornerType.Rounded;
     this.expandablePanel2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel2.Style.GradientAngle               = 90;
     this.expandablePanel2.Style.WordWrap                    = true;
     this.expandablePanel2.TabIndex                          = 1;
     this.expandablePanel2.Text                              = "ExpandablePanel with rounded border and custom style for title bar. Custom expand" +
                                                               "/collapse button is used as well.";
     this.expandablePanel2.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel2.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel2.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel2.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel2.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel2.TitleStyle.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.expandablePanel2.TitleStyle.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel2.TitleStyle.GradientAngle             = 90;
     this.expandablePanel2.TitleText = "Title Bar";
     //
     // expandablePanel1
     //
     this.expandablePanel1.CanvasColor       = System.Drawing.SystemColors.Control;
     this.expandablePanel1.CollapseDirection = DevComponents.DotNetBar.eCollapseDirection.RightToLeft;
     this.expandablePanel1.ColorScheme.DockSiteBackColorGradientAngle = 0;
     this.expandablePanel1.ColorScheme.ItemDesignTimeBorder           = System.Drawing.Color.Black;
     this.expandablePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.expandablePanel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.expandablePanel5,
         this.expandablePanel4
     });
     this.expandablePanel1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.expandablePanel1.Location = new System.Drawing.Point(8, 8);
     this.expandablePanel1.Name     = "expandablePanel1";
     this.expandablePanel1.Size     = new System.Drawing.Size(144, 264);
     this.expandablePanel1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandablePanel1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.expandablePanel1.Style.BackgroundImagePosition    = DevComponents.DotNetBar.eBackgroundImagePosition.Tile;
     this.expandablePanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel1.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel1.Style.GradientAngle = 90;
     this.expandablePanel1.Style.WordWrap      = true;
     this.expandablePanel1.TabIndex            = 0;
     this.expandablePanel1.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel1.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel1.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel1.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel1.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel1.TitleStyle.GradientAngle = 90;
     this.expandablePanel1.TitleStyle.MarginLeft    = 6;
     this.expandablePanel1.TitleText = "Panel Styles";
     //
     // expandablePanel5
     //
     this.expandablePanel5.CanvasColor = System.Drawing.SystemColors.Control;
     this.expandablePanel5.ColorScheme.DockSiteBackColorGradientAngle = 0;
     this.expandablePanel5.ColorScheme.ItemDesignTimeBorder           = System.Drawing.Color.Black;
     this.expandablePanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.expandablePanel5.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.itemPanel2
     });
     this.expandablePanel5.Dock = System.Windows.Forms.DockStyle.Top;
     this.expandablePanel5.ExpandOnTitleClick = true;
     this.expandablePanel5.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.expandablePanel5.Location        = new System.Drawing.Point(0, 128);
     this.expandablePanel5.Name            = "expandablePanel5";
     this.expandablePanel5.Size            = new System.Drawing.Size(144, 136);
     this.expandablePanel5.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandablePanel5.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.expandablePanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel5.Style.GradientAngle = 90;
     this.expandablePanel5.TabIndex            = 3;
     this.expandablePanel5.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel5.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel5.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel5.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel5.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel5.TitleStyle.GradientAngle = 90;
     this.expandablePanel5.TitleStyle.MarginLeft    = 12;
     this.expandablePanel5.TitleText = "Custom Schemes";
     //
     // itemPanel2
     //
     //
     // itemPanel2.BackgroundStyle
     //
     this.itemPanel2.BackgroundStyle.BackColor         = System.Drawing.Color.White;
     this.itemPanel2.BackgroundStyle.BorderBottom      = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderBottomWidth = 1;
     this.itemPanel2.BackgroundStyle.BorderColor       = System.Drawing.Color.FromArgb(((System.Byte)(127)), ((System.Byte)(157)), ((System.Byte)(185)));
     this.itemPanel2.BackgroundStyle.BorderLeft        = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderLeftWidth   = 1;
     this.itemPanel2.BackgroundStyle.BorderRight       = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderRightWidth  = 1;
     this.itemPanel2.BackgroundStyle.BorderTop         = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.itemPanel2.BackgroundStyle.BorderTopWidth    = 1;
     this.itemPanel2.BackgroundStyle.PaddingBottom     = 1;
     this.itemPanel2.BackgroundStyle.PaddingLeft       = 1;
     this.itemPanel2.BackgroundStyle.PaddingRight      = 1;
     this.itemPanel2.BackgroundStyle.PaddingTop        = 1;
     this.itemPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem4,
         this.buttonItem5,
         this.buttonItem6,
         this.buttonItem7
     });
     this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel2.Location          = new System.Drawing.Point(0, 26);
     this.itemPanel2.Name     = "itemPanel2";
     this.itemPanel2.Size     = new System.Drawing.Size(144, 110);
     this.itemPanel2.TabIndex = 3;
     this.itemPanel2.Text     = "itemPanel2";
     //
     // buttonItem4
     //
     this.buttonItem4.Name   = "buttonItem4";
     this.buttonItem4.Text   = "Red";
     this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click);
     //
     // buttonItem5
     //
     this.buttonItem5.Name   = "buttonItem5";
     this.buttonItem5.Text   = "Dark Blue";
     this.buttonItem5.Click += new System.EventHandler(this.buttonItem5_Click);
     //
     // buttonItem6
     //
     this.buttonItem6.Name   = "buttonItem6";
     this.buttonItem6.Text   = "Orange";
     this.buttonItem6.Click += new System.EventHandler(this.buttonItem6_Click);
     //
     // buttonItem7
     //
     this.buttonItem7.Name   = "buttonItem7";
     this.buttonItem7.Text   = "Green";
     this.buttonItem7.Click += new System.EventHandler(this.buttonItem7_Click);
     //
     // expandablePanel4
     //
     this.expandablePanel4.CanvasColor = System.Drawing.SystemColors.Control;
     this.expandablePanel4.ColorScheme.DockSiteBackColorGradientAngle = 0;
     this.expandablePanel4.ColorScheme.ItemDesignTimeBorder           = System.Drawing.Color.Black;
     this.expandablePanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.expandablePanel4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.itemPanel1
     });
     this.expandablePanel4.Dock = System.Windows.Forms.DockStyle.Top;
     this.expandablePanel4.ExpandOnTitleClick = true;
     this.expandablePanel4.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.expandablePanel4.Location        = new System.Drawing.Point(0, 26);
     this.expandablePanel4.Name            = "expandablePanel4";
     this.expandablePanel4.Size            = new System.Drawing.Size(144, 102);
     this.expandablePanel4.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.expandablePanel4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.expandablePanel4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.expandablePanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.expandablePanel4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.expandablePanel4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.expandablePanel4.Style.GradientAngle = 90;
     this.expandablePanel4.TabIndex            = 3;
     this.expandablePanel4.TitleStyle.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.expandablePanel4.TitleStyle.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.expandablePanel4.TitleStyle.Border = DevComponents.DotNetBar.eBorderType.RaisedInner;
     this.expandablePanel4.TitleStyle.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.expandablePanel4.TitleStyle.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.expandablePanel4.TitleStyle.GradientAngle = 90;
     this.expandablePanel4.TitleStyle.MarginLeft    = 12;
     this.expandablePanel4.TitleText = "Office 2007 Colors";
     //
     // 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.Fill;
     this.itemPanel1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
         this.buttonItem1,
         this.buttonItem2,
         this.buttonItem3
     });
     this.itemPanel1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel1.Location          = new System.Drawing.Point(0, 26);
     this.itemPanel1.Name     = "itemPanel1";
     this.itemPanel1.Size     = new System.Drawing.Size(144, 76);
     this.itemPanel1.TabIndex = 3;
     this.itemPanel1.Text     = "itemPanel1";
     //
     // buttonItem1
     //
     this.buttonItem1.Name   = "buttonItem1";
     this.buttonItem1.Text   = "Black";
     this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
     //
     // buttonItem2
     //
     this.buttonItem2.Name   = "buttonItem2";
     this.buttonItem2.Text   = "Blue";
     this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click);
     //
     // buttonItem3
     //
     this.buttonItem3.Name   = "buttonItem3";
     this.buttonItem3.Text   = "Silver";
     this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(536, 286);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panelEx1
     });
     this.Name = "Form1";
     this.Text = "Form1";
     this.panelEx1.ResumeLayout(false);
     this.expandablePanel1.ResumeLayout(false);
     this.expandablePanel5.ResumeLayout(false);
     this.expandablePanel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 25
0
        private void SetupPanePopup()
        {
            m_PanePopupPanel = new PanelEx();
            m_PanePopupPanel.ColorSchemeStyle = navBar.Style;
            m_PanePopupPanel.ColorScheme = navBar.GetColorScheme();
            m_PanePopupPanel.ApplyButtonStyle();
            m_PanePopupPanel.Style.VerticalText = true;
            m_PanePopupPanel.Style.ForeColor.ColorSchemePart = eColorSchemePart.PanelText;
            m_PanePopupPanel.Style.BackColor1.ColorSchemePart = eColorSchemePart.PanelBackground;
            m_PanePopupPanel.Style.ResetBackColor2();
            m_PanePopupPanel.StyleMouseOver.VerticalText = true;
            m_PanePopupPanel.StyleMouseDown.VerticalText = true;
            m_PanePopupPanel.Font = panelTitle.Font;
            m_PanePopupPanel.AntiAlias = this.AntiAlias;
            UpdatePanePopupPanelSize();

            if(this.CheckedButton!=null)
                m_PanePopupPanel.Text = this.CheckedButton.Text;
            else
                m_PanePopupPanel.Text = "Navigation Pane";
            
            foreach (Control c in this.Controls)
            {
                if (c is NavigationPanePanel)
                    c.Visible = false;
            }
            this.Controls.Add(m_PanePopupPanel);
            m_PanePopupPanel.Click += new EventHandler(PanePopupPanelClick);
        }
Ejemplo n.º 26
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBarChartRenderer));
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.panelEx5         = new DevComponents.DotNetBar.PanelEx();
     this.panelEx3         = new DevComponents.DotNetBar.PanelEx();
     this.buttonDel        = new DevComponents.DotNetBar.ButtonX();
     this.buttonAdd        = new DevComponents.DotNetBar.ButtonX();
     this.listAddField     = new DevComponents.DotNetBar.Controls.ListViewEx();
     this.listAllField     = new DevComponents.DotNetBar.Controls.ListViewEx();
     this.buttonDown       = new DevComponents.DotNetBar.ButtonX();
     this.buttonUp         = new DevComponents.DotNetBar.ButtonX();
     this.panelEx2         = new DevComponents.DotNetBar.PanelEx();
     this.sizeInput        = new DevComponents.Editors.DoubleInput();
     this.chkIsUnOverlap   = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.cmbColorRamp     = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX6          = new DevComponents.DotNetBar.LabelX();
     this.labelX4          = new DevComponents.DotNetBar.LabelX();
     this.labelX5          = new DevComponents.DotNetBar.LabelX();
     this.labelPreviewBack = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.panelEx5.SuspendLayout();
     this.panelEx3.SuspendLayout();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sizeInput)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx1.Controls.Add(this.panelEx5);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(465, 370);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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;
     //
     // panelEx5
     //
     this.panelEx5.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx5.Controls.Add(this.panelEx3);
     this.panelEx5.Controls.Add(this.buttonDown);
     this.panelEx5.Controls.Add(this.buttonUp);
     this.panelEx5.Location        = new System.Drawing.Point(2, 92);
     this.panelEx5.Name            = "panelEx5";
     this.panelEx5.Size            = new System.Drawing.Size(460, 272);
     this.panelEx5.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx5.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx5.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx5.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx5.Style.GradientAngle = 90;
     this.panelEx5.TabIndex            = 52;
     //
     // panelEx3
     //
     this.panelEx3.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx3.Controls.Add(this.buttonDel);
     this.panelEx3.Controls.Add(this.buttonAdd);
     this.panelEx3.Controls.Add(this.listAddField);
     this.panelEx3.Controls.Add(this.listAllField);
     this.panelEx3.Dock            = System.Windows.Forms.DockStyle.Left;
     this.panelEx3.Location        = new System.Drawing.Point(0, 0);
     this.panelEx3.Name            = "panelEx3";
     this.panelEx3.Size            = new System.Drawing.Size(420, 272);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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            = 5;
     //
     // buttonDel
     //
     this.buttonDel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonDel.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonDel.Image          = ((System.Drawing.Image)(resources.GetObject("buttonDel.Image")));
     this.buttonDel.Location       = new System.Drawing.Point(160, 112);
     this.buttonDel.Name           = "buttonDel";
     this.buttonDel.Size           = new System.Drawing.Size(30, 25);
     this.buttonDel.TabIndex       = 6;
     this.buttonDel.Click         += new System.EventHandler(this.buttonDel_Click);
     //
     // buttonAdd
     //
     this.buttonAdd.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonAdd.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonAdd.Image          = ((System.Drawing.Image)(resources.GetObject("buttonAdd.Image")));
     this.buttonAdd.Location       = new System.Drawing.Point(160, 81);
     this.buttonAdd.Name           = "buttonAdd";
     this.buttonAdd.Size           = new System.Drawing.Size(30, 25);
     this.buttonAdd.TabIndex       = 5;
     this.buttonAdd.Click         += new System.EventHandler(this.buttonAdd_Click);
     //
     // listAddField
     //
     //
     //
     //
     this.listAddField.Border.Class  = "ListViewBorder";
     this.listAddField.Dock          = System.Windows.Forms.DockStyle.Right;
     this.listAddField.FullRowSelect = true;
     this.listAddField.Location      = new System.Drawing.Point(198, 0);
     this.listAddField.Name          = "listAddField";
     this.listAddField.Size          = new System.Drawing.Size(222, 272);
     this.listAddField.TabIndex      = 2;
     this.listAddField.UseCompatibleStateImageBehavior = false;
     this.listAddField.View                  = System.Windows.Forms.View.Details;
     this.listAddField.MouseDoubleClick     += new System.Windows.Forms.MouseEventHandler(this.listAddField_MouseDoubleClick);
     this.listAddField.SelectedIndexChanged += new System.EventHandler(this.listAddField_SelectedIndexChanged);
     //
     // listAllField
     //
     //
     //
     //
     this.listAllField.Border.Class  = "ListViewBorder";
     this.listAllField.Dock          = System.Windows.Forms.DockStyle.Left;
     this.listAllField.FullRowSelect = true;
     this.listAllField.Location      = new System.Drawing.Point(0, 0);
     this.listAllField.Name          = "listAllField";
     this.listAllField.Size          = new System.Drawing.Size(153, 272);
     this.listAllField.TabIndex      = 1;
     this.listAllField.UseCompatibleStateImageBehavior = false;
     this.listAllField.View              = System.Windows.Forms.View.Details;
     this.listAllField.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.DoListViewMouseDoubleClick);
     //
     // buttonDown
     //
     this.buttonDown.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonDown.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonDown.Image          = ((System.Drawing.Image)(resources.GetObject("buttonDown.Image")));
     this.buttonDown.ImagePosition  = DevComponents.DotNetBar.eImagePosition.Bottom;
     this.buttonDown.Location       = new System.Drawing.Point(428, 115);
     this.buttonDown.Name           = "buttonDown";
     this.buttonDown.Size           = new System.Drawing.Size(22, 35);
     this.buttonDown.TabIndex       = 4;
     this.buttonDown.Click         += new System.EventHandler(this.buttonDown_Click);
     //
     // buttonUp
     //
     this.buttonUp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonUp.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonUp.Image          = ((System.Drawing.Image)(resources.GetObject("buttonUp.Image")));
     this.buttonUp.ImagePosition  = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonUp.Location       = new System.Drawing.Point(428, 71);
     this.buttonUp.Name           = "buttonUp";
     this.buttonUp.Size           = new System.Drawing.Size(22, 35);
     this.buttonUp.TabIndex       = 3;
     this.buttonUp.Click         += new System.EventHandler(this.buttonUp_Click);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx2.Controls.Add(this.sizeInput);
     this.panelEx2.Controls.Add(this.chkIsUnOverlap);
     this.panelEx2.Controls.Add(this.cmbColorRamp);
     this.panelEx2.Controls.Add(this.labelX6);
     this.panelEx2.Controls.Add(this.labelX4);
     this.panelEx2.Controls.Add(this.labelX5);
     this.panelEx2.Controls.Add(this.labelPreviewBack);
     this.panelEx2.Location        = new System.Drawing.Point(3, 3);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(459, 82);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 47;
     //
     // sizeInput
     //
     //
     //
     //
     this.sizeInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.sizeInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.sizeInput.Increment  = 1;
     this.sizeInput.Location   = new System.Drawing.Point(244, 45);
     this.sizeInput.MinValue   = 0.001;
     this.sizeInput.Name       = "sizeInput";
     this.sizeInput.ShowUpDown = true;
     this.sizeInput.Size       = new System.Drawing.Size(63, 21);
     this.sizeInput.TabIndex   = 49;
     this.sizeInput.Value      = 1;
     //
     // chkIsUnOverlap
     //
     this.chkIsUnOverlap.AutoSize = true;
     this.chkIsUnOverlap.Location = new System.Drawing.Point(67, 48);
     this.chkIsUnOverlap.Name     = "chkIsUnOverlap";
     this.chkIsUnOverlap.Size     = new System.Drawing.Size(76, 18);
     this.chkIsUnOverlap.TabIndex = 48;
     this.chkIsUnOverlap.Text     = "·ÀÖ¹¸²¸Ç";
     //
     // cmbColorRamp
     //
     this.cmbColorRamp.DisplayMember     = "Text";
     this.cmbColorRamp.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbColorRamp.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbColorRamp.FormattingEnabled = true;
     this.cmbColorRamp.ItemHeight        = 21;
     this.cmbColorRamp.Location          = new System.Drawing.Point(67, 11);
     this.cmbColorRamp.Name     = "cmbColorRamp";
     this.cmbColorRamp.Size     = new System.Drawing.Size(274, 27);
     this.cmbColorRamp.TabIndex = 2;
     //
     // labelX6
     //
     this.labelX6.AutoSize  = true;
     this.labelX6.BackColor = System.Drawing.Color.Transparent;
     this.labelX6.Location  = new System.Drawing.Point(347, 16);
     this.labelX6.Name      = "labelX6";
     this.labelX6.Size      = new System.Drawing.Size(19, 31);
     this.labelX6.TabIndex  = 36;
     this.labelX6.Text      = "±³\r\n¾°";
     //
     // labelX4
     //
     this.labelX4.AutoSize = true;
     this.labelX4.Location = new System.Drawing.Point(207, 48);
     this.labelX4.Name     = "labelX4";
     this.labelX4.Size     = new System.Drawing.Size(31, 18);
     this.labelX4.TabIndex = 10;
     this.labelX4.Text     = "´óС";
     //
     // labelX5
     //
     this.labelX5.AutoSize = true;
     this.labelX5.Location = new System.Drawing.Point(10, 16);
     this.labelX5.Name     = "labelX5";
     this.labelX5.Size     = new System.Drawing.Size(56, 18);
     this.labelX5.TabIndex = 11;
     this.labelX5.Text     = "ÑÕÉ«·½°¸";
     //
     // labelPreviewBack
     //
     this.labelPreviewBack.BackColor = System.Drawing.Color.Transparent;
     this.labelPreviewBack.Location  = new System.Drawing.Point(367, 11);
     this.labelPreviewBack.Name      = "labelPreviewBack";
     this.labelPreviewBack.Size      = new System.Drawing.Size(80, 40);
     this.labelPreviewBack.TabIndex  = 12;
     this.labelPreviewBack.Click    += new System.EventHandler(this.labelPreviewBack_Click);
     //
     // frmBarChartRenderer
     //
     this.Controls.Add(this.panelEx1);
     this.Name = "frmBarChartRenderer";
     this.Size = new System.Drawing.Size(465, 370);
     this.panelEx1.ResumeLayout(false);
     this.panelEx5.ResumeLayout(false);
     this.panelEx3.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sizeInput)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 27
0
        /// <summary>
        /// Popup selected pane when control is collapsed. When control is collapsed (Expanded=false) currently selected pane is not visible
        /// calling this method will popup selected pane and allow user access to it. Use PopupPaneVisible property
        /// to check whether currently selected pane is displayed as popup.
        /// </summary>
        private void PopupSelectedPane()
        {
            if (m_PopupPaneVisible)
                return;
            Control selectedNavPane = null;
            foreach (Control c in this.Controls)
            {
                if (c is NavigationPanePanel && ((NavigationPanePanel)c).ParentItem == this.CheckedButton)
                {
                    selectedNavPane = c;
                    break;
                }
            }
            if (selectedNavPane == null)
                return;

			// Animation start and end rectangles
			int h = navBar.Top - panelTitle.Bottom;
			Rectangle targetRect = new Rectangle(this.Width, panelTitle.Bottom, m_ExpandedSize, h);
			Rectangle startRect = new Rectangle(this.Width, panelTitle.Bottom, 16, h);

			if(BeforePanelPopup!=null)
			{
				PanelPopupEventArgs args=new PanelPopupEventArgs(targetRect);
				BeforePanelPopup(this, args);
                if(args.Cancel)
					return;
				targetRect=args.PopupBounds;
			}

            Control parentForm = this.FindForm();
            if (parentForm == null)
                parentForm = this.TopLevelControl;
            if (parentForm == null)
                parentForm = this.Parent;

            m_PopupPanelContainer = new PanelEx();
            m_PopupPanelContainer.Visible = false;
            m_PopupPanelContainer.ApplyLabelStyle();
            m_PopupPanelContainer.AntiAlias = this.AntiAlias;
            //m_PopupPanelContainer.Style.BorderSide = eBorderSide.All;
            //m_PopupPanelContainer.Style.Border = eBorderType.SingleLine;
            //m_PopupPanelContainer.Style.BorderWidth = 1;
            //m_PopupPanelContainer.Style.BorderColor.Color = panelTitle.Style.BorderColor.Color;
            //m_PopupPanelContainer.DockPadding.All = 1;
            parentForm.Controls.Add(m_PopupPanelContainer);
            m_PopupPanelContainer.BringToFront();
            this.Controls.Remove(selectedNavPane);
            if (selectedNavPane is NavigationPanePanel)
            {
                NavigationPanePanel panel = ((NavigationPanePanel)selectedNavPane);
                panel.DockPadding.Bottom = 1;
                if (panel.Style.Border == eBorderType.None)
                {
                    m_PopupPanelContainer.Style.BorderSide = eBorderSide.All;
                    m_PopupPanelContainer.Style.Border = eBorderType.SingleLine;
                    m_PopupPanelContainer.Style.BorderWidth = 1;
                    m_PopupPanelContainer.Style.BorderColor.Color = panelTitle.Style.BorderColor.Color;
                    m_PopupPanelContainer.DockPadding.All = 1;
                }
            }
            m_PopupPanelContainer.Controls.Add(selectedNavPane);
            selectedNavPane.Visible = true;

            if (this.Dock == DockStyle.Right)
            {
                targetRect.Offset(-(this.Width + targetRect.Width), 0);
                startRect.Offset(-(this.Width + startRect.Width), 0);
            }

            Point p = this.PointToScreen(targetRect.Location);
            targetRect.Location = parentForm.PointToClient(p);
            p = this.PointToScreen(startRect.Location);
            startRect.Location = parentForm.PointToClient(p);

            if (AnimationTime == 0)
            {
                m_PopupPanelContainer.Bounds = targetRect;
                m_PopupPanelContainer.Visible = true;
            }
            else
                BarFunctions.AnimateControl(m_PopupPanelContainer, true, AnimationTime, startRect, targetRect);

            m_PopupPanelContainer.Focus();
            m_PopupPanelContainer.Leave += new EventHandler(m_PopupPanelContainer_Leave);
            m_PopupPaneVisible = true;

            if (AfterPanelPopup != null)
                AfterPanelPopup(this, new EventArgs());
        }
Ejemplo n.º 28
0
 private void DisposeVerticalExpandPane()
 {
     if (m_VerticalExpandPane != null)
     {
         this.Controls.Remove(m_VerticalExpandPane);
         m_VerticalExpandPane.Dispose();
         m_VerticalExpandPane = null;
     }
 }
Ejemplo n.º 29
0
        /// <summary>
        /// Hides popup selected pane when control is collapsed and selected pane is displayed as popup. When control is collapsed (Expanded=false)
        /// currently selected pane can be displayed as popup. Calling this method will hide the popup pane. Use PopupPaneVisible property
        /// to check whether currently selected pane is displayed as popup.
        /// </summary>
        private void HideSelectedPopupPane()
        {
            if (!m_PopupPaneVisible || m_Hiding)
                return;
            m_Hiding=true;
			try
			{
				if (AnimationTime == 0)
					m_PopupPanelContainer.Hide();
				else
				{
					Rectangle targetRect = new Rectangle(this.Width, this.Top, 16, this.Height);
					if (this.Dock == DockStyle.Right)
						targetRect.Offset(-(this.Width + targetRect.Width), 0);
					Point p = this.PointToScreen(targetRect.Location);
					targetRect.Location = m_PopupPanelContainer.Parent.PointToClient(p);
					BarFunctions.AnimateControl(m_PopupPanelContainer, false, AnimationTime, m_PopupPanelContainer.Bounds, targetRect);
				}

				Control navPanel=null;
				foreach(Control c in m_PopupPanelContainer.Controls)
				{
					if(c is NavigationPanePanel)
					{
						c.Visible=false;
						m_PopupPanelContainer.Controls.Remove(c);
						navPanel=c;
						break;
					}
				}
				if(navPanel is NavigationPanePanel)
					((NavigationPanePanel)navPanel).DockPadding.Bottom = 0;
				this.Controls.Add(navPanel);
				m_PopupPanelContainer.Leave -= new EventHandler(m_PopupPanelContainer_Leave);
				m_PopupPanelContainer.Dispose();
				m_PopupPanelContainer = null;
				m_PopupPaneVisible = false;
                OnPanelPopupClosed(EventArgs.Empty);
			}
			finally
			{
				m_Hiding=false;
			}
        }
Ejemplo n.º 30
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);
 }
Ejemplo n.º 31
0
        public PanelEx GetPanel()
        {
            PanelEx result = null;

            if (Panels.Count > 0)
            {
                result = Panels[0];
                Panels.RemoveAt(0);
            }
            else
                result = new PanelEx();

            return result;
        }
Ejemplo n.º 32
0
 private void InitializeComponent()
 {
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.panelEx4         = new DevComponents.DotNetBar.PanelEx();
     this.listValueItem    = new DevComponents.DotNetBar.Controls.ListViewEx();
     this.panelEx2         = new DevComponents.DotNetBar.PanelEx();
     this.cmbColorRamp     = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX6          = new DevComponents.DotNetBar.LabelX();
     this.maxValueInput    = new DevComponents.Editors.DoubleInput();
     this.minValueInput    = new DevComponents.Editors.DoubleInput();
     this.cmbField         = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX1          = new DevComponents.DotNetBar.LabelX();
     this.labelX2          = new DevComponents.DotNetBar.LabelX();
     this.labelX3          = new DevComponents.DotNetBar.LabelX();
     this.labelX4          = new DevComponents.DotNetBar.LabelX();
     this.labelX5          = new DevComponents.DotNetBar.LabelX();
     this.labelPreviewFore = new DevComponents.DotNetBar.LabelX();
     this.levelInput       = new DevComponents.Editors.IntegerInput();
     this.panelEx1.SuspendLayout();
     this.panelEx4.SuspendLayout();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.levelInput)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx1.Controls.Add(this.panelEx4);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(465, 370);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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;
     //
     // panelEx4
     //
     this.panelEx4.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx4.Controls.Add(this.listValueItem);
     this.panelEx4.Location        = new System.Drawing.Point(3, 107);
     this.panelEx4.Name            = "panelEx4";
     this.panelEx4.Size            = new System.Drawing.Size(459, 260);
     this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx4.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx4.Style.GradientAngle = 90;
     this.panelEx4.TabIndex            = 50;
     //
     // listValueItem
     //
     //
     //
     //
     this.listValueItem.Border.Class  = "ListViewBorder";
     this.listValueItem.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.listValueItem.FullRowSelect = true;
     this.listValueItem.Location      = new System.Drawing.Point(0, 0);
     this.listValueItem.Name          = "listValueItem";
     this.listValueItem.Size          = new System.Drawing.Size(459, 260);
     this.listValueItem.TabIndex      = 1;
     this.listValueItem.UseCompatibleStateImageBehavior = false;
     this.listValueItem.View              = System.Windows.Forms.View.Details;
     this.listValueItem.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.DoListValueItemMouseDoubleClick);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx2.Controls.Add(this.cmbColorRamp);
     this.panelEx2.Controls.Add(this.labelX6);
     this.panelEx2.Controls.Add(this.maxValueInput);
     this.panelEx2.Controls.Add(this.minValueInput);
     this.panelEx2.Controls.Add(this.cmbField);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Controls.Add(this.labelX3);
     this.panelEx2.Controls.Add(this.labelX4);
     this.panelEx2.Controls.Add(this.labelX5);
     this.panelEx2.Controls.Add(this.labelPreviewFore);
     this.panelEx2.Controls.Add(this.levelInput);
     this.panelEx2.Location        = new System.Drawing.Point(3, 3);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(459, 100);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 46;
     //
     // cmbColorRamp
     //
     this.cmbColorRamp.DisplayMember     = "Text";
     this.cmbColorRamp.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbColorRamp.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbColorRamp.FormattingEnabled = true;
     this.cmbColorRamp.ItemHeight        = 21;
     this.cmbColorRamp.Location          = new System.Drawing.Point(67, 37);
     this.cmbColorRamp.Name                  = "cmbColorRamp";
     this.cmbColorRamp.Size                  = new System.Drawing.Size(237, 27);
     this.cmbColorRamp.TabIndex              = 2;
     this.cmbColorRamp.SelectedIndexChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // labelX6
     //
     this.labelX6.AutoSize  = true;
     this.labelX6.BackColor = System.Drawing.Color.Transparent;
     this.labelX6.Location  = new System.Drawing.Point(310, 16);
     this.labelX6.Name      = "labelX6";
     this.labelX6.Size      = new System.Drawing.Size(19, 31);
     this.labelX6.TabIndex  = 36;
     this.labelX6.Text      = "符\r\n号";
     //
     // maxValueInput
     //
     //
     //
     //
     this.maxValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.maxValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.maxValueInput.Increment     = 1;
     this.maxValueInput.Location      = new System.Drawing.Point(214, 70);
     this.maxValueInput.Name          = "maxValueInput";
     this.maxValueInput.Size          = new System.Drawing.Size(90, 21);
     this.maxValueInput.TabIndex      = 3;
     this.maxValueInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // minValueInput
     //
     //
     //
     //
     this.minValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.minValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.minValueInput.Increment     = 1;
     this.minValueInput.Location      = new System.Drawing.Point(67, 70);
     this.minValueInput.Name          = "minValueInput";
     this.minValueInput.Size          = new System.Drawing.Size(90, 21);
     this.minValueInput.TabIndex      = 2;
     this.minValueInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // cmbField
     //
     this.cmbField.DisplayMember     = "Text";
     this.cmbField.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbField.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbField.FormattingEnabled = true;
     this.cmbField.ItemHeight        = 15;
     this.cmbField.Location          = new System.Drawing.Point(67, 11);
     this.cmbField.Name                  = "cmbField";
     this.cmbField.Size                  = new System.Drawing.Size(237, 21);
     this.cmbField.TabIndex              = 2;
     this.cmbField.SelectedIndexChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // labelX1
     //
     this.labelX1.AutoSize = true;
     this.labelX1.Location = new System.Drawing.Point(10, 12);
     this.labelX1.Name     = "labelX1";
     this.labelX1.Size     = new System.Drawing.Size(31, 18);
     this.labelX1.TabIndex = 7;
     this.labelX1.Text     = "字段";
     //
     // labelX2
     //
     this.labelX2.AutoSize = true;
     this.labelX2.Location = new System.Drawing.Point(10, 73);
     this.labelX2.Name     = "labelX2";
     this.labelX2.Size     = new System.Drawing.Size(44, 18);
     this.labelX2.TabIndex = 8;
     this.labelX2.Text     = "最小值";
     //
     // labelX3
     //
     this.labelX3.AutoSize = true;
     this.labelX3.Location = new System.Drawing.Point(164, 73);
     this.labelX3.Name     = "labelX3";
     this.labelX3.Size     = new System.Drawing.Size(44, 18);
     this.labelX3.TabIndex = 9;
     this.labelX3.Text     = "最大值";
     //
     // labelX4
     //
     this.labelX4.AutoSize = true;
     this.labelX4.Location = new System.Drawing.Point(313, 73);
     this.labelX4.Name     = "labelX4";
     this.labelX4.Size     = new System.Drawing.Size(31, 18);
     this.labelX4.TabIndex = 10;
     this.labelX4.Text     = "等级";
     //
     // labelX5
     //
     this.labelX5.AutoSize = true;
     this.labelX5.Location = new System.Drawing.Point(10, 42);
     this.labelX5.Name     = "labelX5";
     this.labelX5.Size     = new System.Drawing.Size(56, 18);
     this.labelX5.TabIndex = 11;
     this.labelX5.Text     = "颜色方案";
     //
     // labelPreviewFore
     //
     this.labelPreviewFore.BackColor = System.Drawing.Color.Transparent;
     this.labelPreviewFore.Location  = new System.Drawing.Point(330, 11);
     this.labelPreviewFore.Name      = "labelPreviewFore";
     this.labelPreviewFore.Size      = new System.Drawing.Size(80, 40);
     this.labelPreviewFore.TabIndex  = 12;
     this.labelPreviewFore.Click    += new System.EventHandler(this.Control_Click);
     //
     // levelInput
     //
     //
     //
     //
     this.levelInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.levelInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.levelInput.Location      = new System.Drawing.Point(350, 70);
     this.levelInput.MinValue      = 1;
     this.levelInput.Name          = "levelInput";
     this.levelInput.ShowUpDown    = true;
     this.levelInput.Size          = new System.Drawing.Size(60, 21);
     this.levelInput.TabIndex      = 14;
     this.levelInput.Value         = 5;
     this.levelInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // frmBreakColorRenderer
     //
     this.Controls.Add(this.panelEx1);
     this.Name = "frmBreakColorRenderer";
     this.Size = new System.Drawing.Size(465, 370);
     this.panelEx1.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.levelInput)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 33
0
        public ChangeListItemAsapuwa(int asapuwaID, string asapuwaName, string asapuwaShortName, Control.ControlCollection contralls, bool visible, int maxNameLength, UpdateChangeItemFinalizeAsapuwa updateChangeItemFinalizeAsapuwa, Color statusColor, Color captionColor, int numberOfKuti, string fromToString)
        {
            UpdateChangeItemFinalizeAsapuwa = updateChangeItemFinalizeAsapuwa;
            this.asapuwaID        = asapuwaID;
            this.asapuwaName      = asapuwaName;
            this.asapuwaShortName = asapuwaShortName;
            this.NumberOfKuti     = numberOfKuti;
            //this.Size = new Size(maxNameLength + 200, 800);
            this.fromToString = fromToString;

            this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.AllowDrop   = true;
            this.DragEnter  += new DragEventHandler(panel_DragEnter);
            this.DragDrop   += new DragEventHandler(panel_DragDrop);

            this.Visible = false;

            if (contralls != null)
            {
                contralls.Add(this);
            }

            //SetLocation();
            this.Visible = visible;

            // name label
            nameLabel                 = new Label();
            nameLabel.Text            = asapuwaShortName;
            nameLabel.Location        = new Point(5, 2);
            nameLabel.Font            = new System.Drawing.Font(nameLabel.Font.FontFamily, 10, FontStyle.Bold);
            nameLabel.AutoSize        = true;
            nameLabel.BackColor       = Color.Transparent;
            this.nameLabel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel_MouseDown);
            this.nameLabel.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel_MouseMove);
            this.nameLabel.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.panel_MouseUp);
            nameLabel.MouseClick     += new MouseEventHandler(nameLabel_MouseClick);

            //if (this.Width < nameLabel.PreferredWidth + 40)
            //{
            //    this.Width = nameLabel.PreferredWidth + 40;
            //}

            bhikkuList = new List <ChangeListItemBhikku>();

            // list panel
            namelIstPanel = new DevComponents.DotNetBar.PanelEx();

            namelIstPanel.Location   = new Point(10, 15);
            namelIstPanel.AutoScroll = true;
            namelIstPanel.Size       = new Size(this.Size.Width - 8, this.Size.Height - 10 - namelIstPanel.Location.Y - 10);
            namelIstPanel.Anchor     = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                              | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));

            namelIstPanel.MouseEnter += new EventHandler(namelIstPanel_MouseEnter);
            namelIstPanel.MouseClick += new MouseEventHandler(nameLabel_MouseClick);

            this.Controls.Add(namelIstPanel);



            // Rclick
            MenuItem bringToFront = new MenuItem("Bring To Front");

            bringToFront.Click += new EventHandler(bringToFront_Click);

            MenuItem currentBhikkuDetails = new MenuItem("වර්තමානයේ වැඩසිටින ස්වාමින් වහන්සේලා");

            currentBhikkuDetails.Click += new EventHandler(currentBhikkuDetails_Click);



            MenuItem closePanel = new MenuItem("Close");

            closePanel.Click += new EventHandler(closeMenue_Click);

            MenuItem newBhikkuDetails = new MenuItem("අලුතින් තෝරාගත් ස්වාමින් වහන්සේලා");

            newBhikkuDetails.Click += new EventHandler(newBhikkuDetails_Click);

            MenuItem finalizeDetails = new MenuItem("ස්වාමින් වහන්සේලා තෝරාගෙන අවසන්");

            finalizeDetails.Click += new EventHandler(finalize_Click);

            this.ContextMenu = new System.Windows.Forms.ContextMenu(new MenuItem[] { bringToFront, currentBhikkuDetails, newBhikkuDetails, finalizeDetails, closePanel, });

            // last
            InitializeComponent();
            this.closeButton.Location = new Point(this.Size.Width - this.closeButton.Size.Width - 3, 1);
            this.printIcon.Location   = new Point(this.Size.Width - (this.closeButton.Size.Width + this.printIcon.Size.Width) - 5, 1);

            this.minimizeButton.Location = new Point(this.Size.Width - this.closeButton.Size.Width - this.minimizeButton.Width - 3, 1);

            this.pictureBox1.Location     = new System.Drawing.Point(statusPanel.Size.Width - this.pictureBox1.Size.Width, statusPanel.Size.Height - this.pictureBox1.Size.Height);
            this.captionPanel.Width       = this.Width;
            this.captionPanel.MouseClick += new MouseEventHandler(nameLabel_MouseClick);

            this.CanvasColor      = System.Drawing.SystemColors.Control;
            this.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
            this.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
            this.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
            this.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
            this.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
            this.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
            this.Style.GradientAngle = 90;



            this.captionPanel.Controls.Add(nameLabel);
            this.captionPanel.BringToFront();
            this.closeButton.BringToFront();
            this.captionPanel.Controls.Add(printIcon);
            this.printIcon.BringToFront();
            this.printIcon.Cursor = System.Windows.Forms.Cursors.Default;

            this.minimizeButton.BringToFront();
            this.pictureBox1.BringToFront();

            this.pictureBox1.Cursor = System.Windows.Forms.Cursors.SizeNWSE;

            SetMinimizesItem(statusColor, captionColor);
            creatreBhikkuCountLabels();

            statusPanel.BackColor      = statusColor;
            this.closeButton.BackColor = this.minimizeButton.BackColor = captionPanel.BackColor = captionColor;

            this.Size = new Size(maxNameLength + 200, this.Parent.Height - 125);

            //printIcon.BackColor = captionPanel.BackColor;
        }
        public ImportStudentV2(string title, Image img)
        {
            InitializeComponent();

            #region 加入進階按紐跟HELP按鈕
            _OptionsContainer = new PanelEx();
            _OptionsContainer.Font = this.Font;
            _OptionsContainer.ColorSchemeStyle = eDotNetBarStyle.Office2007;
            _OptionsContainer.Size = new Size(100, 100);
            _OptionsContainer.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
            _OptionsContainer.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
            _OptionsContainer.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
            _OptionsContainer.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
            _OptionsContainer.Style.GradientAngle = 90;
            _Options = new SmartSchool.API.PlugIn.Collections.OptionCollection();
            _Options.ItemsChanged += new EventHandler(_Options_ItemsChanged);

            advContainer = new ControlContainerItem();
            advContainer.AllowItemResize = false;
            advContainer.GlobalItem = false;
            advContainer.MenuVisibility = eMenuVisibility.VisibleAlways;
            advContainer.Control = _OptionsContainer;

            ItemContainer itemContainer2 = new ItemContainer();
            itemContainer2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
            itemContainer2.MinimumSize = new System.Drawing.Size(0, 0);
            itemContainer2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            advContainer});

            advButton = new ButtonX();
            advButton.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            advButton.Text = "    進階";
            advButton.Top = this.wizard1.Controls[1].Controls[0].Top;
            advButton.Left = 5;
            advButton.Size = this.wizard1.Controls[1].Controls[0].Size;
            advButton.Visible = true;
            advButton.SubItems.Add(itemContainer2);
            advButton.PopupSide = ePopupSide.Top;
            advButton.SplitButton = true;
            advButton.Enabled = false;
            advButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
            advButton.AutoExpandOnClick = true;
            advButton.SubItemsExpandWidth = 16;
            advButton.FadeEffect = false;
            advButton.FocusCuesEnabled = false;
            this.wizard1.Controls[1].Controls.Add(advButton);

            helpButton = new LinkLabel();
            helpButton.AutoSize = true;
            helpButton.BackColor = System.Drawing.Color.Transparent;
            helpButton.Location = new System.Drawing.Point(81, 10);
            helpButton.Size = new System.Drawing.Size(69, 17);
            helpButton.TabStop = true;
            helpButton.Text = "Help";
            helpButton.Visible = false;
            helpButton.Click += delegate { if (HelpButtonClick != null)HelpButtonClick(this, new EventArgs()); };
            helpButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
            this.wizard1.Controls[1].Controls.Add(helpButton);
            #endregion

            #region 設定Wizard會跟著Style跑
            //this.wizard1.FooterStyle.ApplyStyle(( GlobalManager.Renderer as Office2007Renderer ).ColorTable.GetClass(ElementStyleClassKeys.RibbonFileMenuBottomContainerKey));
            this.wizard1.HeaderStyle.ApplyStyle((GlobalManager.Renderer as Office2007Renderer).ColorTable.GetClass(ElementStyleClassKeys.RibbonFileMenuBottomContainerKey));
            this.wizard1.FooterStyle.BackColorGradientAngle = -90;
            this.wizard1.FooterStyle.BackColorGradientType = eGradientType.Linear;
            this.wizard1.FooterStyle.BackColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.Start;
            this.wizard1.FooterStyle.BackColor2 = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.End;
            this.wizard1.BackColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.Start;
            this.wizard1.BackgroundImage = null;
            for (int i = 0; i < 6; i++)
            {
                (this.wizard1.Controls[1].Controls[i] as ButtonX).ColorTable = eButtonColor.OrangeWithBackground;
            }
            (this.wizard1.Controls[0].Controls[1] as System.Windows.Forms.Label).ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.MouseOver.TitleText;
            (this.wizard1.Controls[0].Controls[2] as System.Windows.Forms.Label).ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TitleText;
            _CheckAllManager.TargetComboBox = this.checkBox1;
            _CheckAllManager.TargetListView = this.listView1;
            #endregion

            _Title = this.Text = title;

            lblReqFields.Text = "<font color=\"#7A4E2B\"><b>姓名</b> + <b>暱稱</b></font>";

            foreach (WizardPage page in wizard1.WizardPages)
            {
                page.PageTitle = _Title;
                if (img != null)
                {
                    Bitmap b = new Bitmap(48, 48);
                    using (Graphics g = Graphics.FromImage(b))
                        g.DrawImage(img, 0, 0, 48, 48);
                    page.PageHeaderImage = b;
                }
            }
            _RequiredFields = new SmartSchool.API.PlugIn.Collections.FieldsCollection();
            _ImportableFields = new SmartSchool.API.PlugIn.Collections.FieldsCollection();
            _SelectedFields = new SmartSchool.API.PlugIn.Collections.FieldsCollection();
            _RequiredFields.ItemsChanged += new EventHandler(FieldsChanged);
            _ImportableFields.ItemsChanged += new EventHandler(FieldsChanged);

            // 填入學生狀態選項
            cboStudStatus.Items.Add("一般");
            //cboStudStatus.Items.Add("休學");
            //cboStudStatus.Items.Add("輟學");
            //cboStudStatus.Items.Add("畢業或離校");
            cboStudStatus.Items.Add("刪除");
            cboStudStatus.Text = "一般";
            cboStudStatus.DropDownStyle = ComboBoxStyle.DropDownList;
        }
Ejemplo n.º 35
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.mdiClient1 = new System.Windows.Forms.MdiClient();
     this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
     this.tabStrip1 = new DevComponents.DotNetBar.TabStrip();
     this.bar1 = new DevComponents.DotNetBar.Bar();
     this.labelStatus = new DevComponents.DotNetBar.LabelItem();
     this.progressBarItem1 = new DevComponents.DotNetBar.ProgressBarItem();
     this.itemContainer13 = new DevComponents.DotNetBar.ItemContainer();
     this.labelPosition = new DevComponents.DotNetBar.LabelItem();
     this.mainRibbonControl = new DevComponents.DotNetBar.RibbonControl();
     this.contextMenuBar = new DevComponents.DotNetBar.ContextMenuBar();
     this.bEditPopup = new DevComponents.DotNetBar.ButtonItem();
     this.bCut = new DevComponents.DotNetBar.ButtonItem();
     this.bCopy = new DevComponents.DotNetBar.ButtonItem();
     this.bPaste = new DevComponents.DotNetBar.ButtonItem();
     this.bSelectAll = new DevComponents.DotNetBar.ButtonItem();
     this.switchButtonItem1 = new DevComponents.DotNetBar.SwitchButtonItem();
     this.RibbonStateCommand = new DevComponents.DotNetBar.Command(this.components);
     this.buttonFile = new DevComponents.DotNetBar.Office2007StartButton();
     this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
     this.recentPlacesItemsPanel = new DevComponents.DotNetBar.ItemPanel();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
     this.recentDocsItemPane = new DevComponents.DotNetBar.ItemPanel();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem67 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandNew = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem68 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem69 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem70 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem71 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem72 = new DevComponents.DotNetBar.ButtonItem();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.itemPanel2 = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem77 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandGoToUrl = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem73 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem74 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
     this.labelX6 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
     this.labelX5 = new DevComponents.DotNetBar.LabelX();
     this.integerInput1 = new DevComponents.Editors.IntegerInput();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
     this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem();
     this.buttonItem61 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandSave = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem63 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandOpen = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem64 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem65 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem66 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandExit = new DevComponents.DotNetBar.Command(this.components);
     this.menuFileContainer = new DevComponents.DotNetBar.ItemContainer();
     this.menuFileTwoColumnContainer = new DevComponents.DotNetBar.ItemContainer();
     this.menuFileItems = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem20 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem21 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFileSaveAs = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandSaveAs = new DevComponents.DotNetBar.Command(this.components);
     this.itemContainer12 = new DevComponents.DotNetBar.ItemContainer();
     this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
     this.buttonItem56 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem57 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem58 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem59 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem23 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem24 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem25 = new DevComponents.DotNetBar.ButtonItem();
     this.menuFileMRU = new DevComponents.DotNetBar.ItemContainer();
     this.labelItem8 = new DevComponents.DotNetBar.LabelItem();
     this.buttonItem26 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem28 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem29 = new DevComponents.DotNetBar.ButtonItem();
     this.menuFileBottomContainer = new DevComponents.DotNetBar.ItemContainer();
     this.buttonOptions = new DevComponents.DotNetBar.ButtonItem();
     this.buttonExit = new DevComponents.DotNetBar.ButtonItem();
     this.buttonNew = new DevComponents.DotNetBar.ButtonItem();
     this.buttonSave = new DevComponents.DotNetBar.ButtonItem();
     this.buttonUndo = new DevComponents.DotNetBar.ButtonItem();
     this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
     this.ribbonTabItemGroup1 = new DevComponents.DotNetBar.RibbonTabItemGroup();
     this.buttonStyleMetro = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandTheme = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem47 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem48 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem49 = new DevComponents.DotNetBar.ButtonItem();
     this.comboItem1 = new DevComponents.Editors.ComboItem();
     this.comboItem2 = new DevComponents.Editors.ComboItem();
     this.comboItem3 = new DevComponents.Editors.ComboItem();
     this.comboItem4 = new DevComponents.Editors.ComboItem();
     this.comboItem5 = new DevComponents.Editors.ComboItem();
     this.comboItem6 = new DevComponents.Editors.ComboItem();
     this.comboItem7 = new DevComponents.Editors.ComboItem();
     this.comboItem8 = new DevComponents.Editors.ComboItem();
     this.comboItem9 = new DevComponents.Editors.ComboItem();
     this.superTooltip1 = new DevComponents.DotNetBar.SuperTooltip();
     this.progressBarTimer = new System.Windows.Forms.Timer(this.components);
     this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components);
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
     this.superTabControl1.SuspendLayout();
     this.superTabControlPanel1.SuspendLayout();
     this.panelEx2.SuspendLayout();
     this.panelEx1.SuspendLayout();
     this.superTabControlPanel2.SuspendLayout();
     this.superTabControlPanel4.SuspendLayout();
     this.superTabControlPanel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit();
     this.SuspendLayout();
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "*.rtf";
     this.openFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*";
     this.openFileDialog1.FilterIndex = 2;
     this.openFileDialog1.Title = "Open File";
     //
     // mdiClient1
     //
     this.mdiClient1.BackColor = System.Drawing.Color.White;
     this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mdiClient1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mdiClient1.Location = new System.Drawing.Point(5, 178);
     this.mdiClient1.Name = "mdiClient1";
     this.mdiClient1.Size = new System.Drawing.Size(766, 301);
     this.mdiClient1.TabIndex = 5;
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "*.rtf";
     this.saveFileDialog1.FileName = "doc1";
     this.saveFileDialog1.Filter = "Text Files (*.txt)|*.txt|RTF Files (*.rtf)|*.rtf|All Files(*.*)|*.*";
     this.saveFileDialog1.FilterIndex = 2;
     this.saveFileDialog1.Title = "Save File";
     //
     // tabStrip1
     //
     this.tabStrip1.AutoSelectAttachedControl = true;
     this.tabStrip1.CanReorderTabs = true;
     this.tabStrip1.CloseButtonOnTabsVisible = true;
     this.tabStrip1.CloseButtonVisible = false;
     this.tabStrip1.Dock = System.Windows.Forms.DockStyle.Top;
     this.tabStrip1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStrip1.ForeColor = System.Drawing.Color.Black;
     this.tabStrip1.Location = new System.Drawing.Point(5, 152);
     this.tabStrip1.MdiForm = this;
     this.tabStrip1.MdiTabbedDocuments = true;
     this.tabStrip1.Name = "tabStrip1";
     this.tabStrip1.SelectedTab = null;
     this.tabStrip1.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabStrip1.Size = new System.Drawing.Size(766, 26);
     this.tabStrip1.Style = DevComponents.DotNetBar.eTabStripStyle.Metro;
     this.tabStrip1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Top;
     this.tabStrip1.TabIndex = 6;
     this.tabStrip1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
     this.tabStrip1.Text = "tabStrip1";
     //
     // bar1
     //
     this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)";
     this.bar1.AccessibleName = "DotNetBar Bar";
     this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar;
     this.bar1.AntiAlias = true;
     this.bar1.BarType = DevComponents.DotNetBar.eBarType.StatusBar;
     this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bar1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle;
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelStatus,
     this.progressBarItem1,
     this.itemContainer13});
     this.bar1.ItemSpacing = 2;
     this.bar1.Location = new System.Drawing.Point(5, 479);
     this.bar1.Name = "bar1";
     this.bar1.PaddingBottom = 0;
     this.bar1.PaddingTop = 0;
     this.bar1.Size = new System.Drawing.Size(766, 19);
     this.bar1.Stretch = true;
     this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex = 7;
     this.bar1.TabStop = false;
     this.bar1.Text = "barStatus";
     //
     // labelStatus
     //
     this.labelStatus.Name = "labelStatus";
     this.labelStatus.PaddingLeft = 2;
     this.labelStatus.PaddingRight = 2;
     this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.labelStatus.Stretch = true;
     //
     // progressBarItem1
     //
     //
     //
     //
     this.progressBarItem1.BackStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.progressBarItem1.ChunkGradientAngle = 0F;
     this.progressBarItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways;
     this.progressBarItem1.Name = "progressBarItem1";
     this.progressBarItem1.RecentlyUsed = false;
     //
     // itemContainer13
     //
     //
     //
     //
     this.itemContainer13.BackgroundStyle.Class = "Office2007StatusBarBackground2";
     this.itemContainer13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer13.Name = "itemContainer13";
     this.itemContainer13.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelPosition});
     //
     //
     //
     this.itemContainer13.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelPosition
     //
     this.labelPosition.Name = "labelPosition";
     this.labelPosition.PaddingLeft = 2;
     this.labelPosition.PaddingRight = 2;
     this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.labelPosition.Stretch = true;
     this.labelPosition.Text = "����˹̹�Ƽ����޹�˾ ��Ȩ����";
     this.labelPosition.Width = 180;
     //
     // mainRibbonControl
     //
     this.mainRibbonControl.BackColor = System.Drawing.SystemColors.Control;
     //
     //
     //
     this.mainRibbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.mainRibbonControl.CaptionVisible = true;
     this.mainRibbonControl.Dock = System.Windows.Forms.DockStyle.Top;
     this.mainRibbonControl.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainRibbonControl.ForeColor = System.Drawing.Color.Black;
     this.mainRibbonControl.GlobalContextMenuBar = this.contextMenuBar;
     this.mainRibbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.switchButtonItem1});
     this.mainRibbonControl.KeyTipsFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainRibbonControl.Location = new System.Drawing.Point(5, 1);
     this.mainRibbonControl.MdiSystemItemVisible = false;
     this.mainRibbonControl.Name = "mainRibbonControl";
     this.mainRibbonControl.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
     this.mainRibbonControl.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonFile,
     this.buttonNew,
     this.buttonSave,
     this.buttonUndo,
     this.qatCustomizeItem1});
     this.mainRibbonControl.RibbonStripFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainRibbonControl.Size = new System.Drawing.Size(766, 151);
     this.mainRibbonControl.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.mainRibbonControl.SystemText.MaximizeRibbonText = "&Maximize the Ribbon";
     this.mainRibbonControl.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon";
     this.mainRibbonControl.SystemText.QatAddItemText = "&Add to Quick Access Toolbar";
     this.mainRibbonControl.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>";
     this.mainRibbonControl.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar...";
     this.mainRibbonControl.SystemText.QatDialogAddButton = "&Add >>";
     this.mainRibbonControl.SystemText.QatDialogCancelButton = "Cancel";
     this.mainRibbonControl.SystemText.QatDialogCaption = "Customize Quick Access Toolbar";
     this.mainRibbonControl.SystemText.QatDialogCategoriesLabel = "&Choose commands from:";
     this.mainRibbonControl.SystemText.QatDialogOkButton = "OK";
     this.mainRibbonControl.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon";
     this.mainRibbonControl.SystemText.QatDialogRemoveButton = "&Remove";
     this.mainRibbonControl.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon";
     this.mainRibbonControl.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon";
     this.mainRibbonControl.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar";
     this.mainRibbonControl.TabGroupHeight = 14;
     this.mainRibbonControl.TabGroups.AddRange(new DevComponents.DotNetBar.RibbonTabItemGroup[] {
     this.ribbonTabItemGroup1});
     this.mainRibbonControl.TabGroupsVisible = true;
     this.mainRibbonControl.TabIndex = 8;
     this.mainRibbonControl.BeforeRibbonPanelPopupClose += new DevComponents.DotNetBar.RibbonPopupCloseEventHandler(this.ribbonControl1_BeforeRibbonPanelPopupClose);
     //
     // contextMenuBar
     //
     this.contextMenuBar.AntiAlias = true;
     this.contextMenuBar.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.contextMenuBar.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.bEditPopup});
     this.contextMenuBar.Location = new System.Drawing.Point(352, 309);
     this.contextMenuBar.Name = "contextMenuBar";
     this.contextMenuBar.Size = new System.Drawing.Size(150, 25);
     this.contextMenuBar.Stretch = true;
     this.contextMenuBar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.contextMenuBar.TabIndex = 13;
     this.contextMenuBar.TabStop = false;
     //
     // bEditPopup
     //
     this.bEditPopup.AutoExpandOnClick = true;
     this.bEditPopup.GlobalName = "bEditPopup";
     this.bEditPopup.Name = "bEditPopup";
     this.bEditPopup.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault;
     this.bEditPopup.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.bCut,
     this.bCopy,
     this.bPaste,
     this.bSelectAll});
     this.bEditPopup.Text = "bEditPopup";
     //
     // bCut
     //
     this.bCut.BeginGroup = true;
     this.bCut.GlobalName = "bCut";
     this.bCut.ImageIndex = 5;
     this.bCut.Name = "bCut";
     this.bCut.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault;
     this.bCut.Text = "Cu&t";
     //
     // bCopy
     //
     this.bCopy.GlobalName = "bCopy";
     this.bCopy.ImageIndex = 4;
     this.bCopy.Name = "bCopy";
     this.bCopy.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault;
     this.bCopy.Text = "&Copy";
     //
     // bPaste
     //
     this.bPaste.GlobalName = "bPaste";
     this.bPaste.ImageIndex = 12;
     this.bPaste.Name = "bPaste";
     this.bPaste.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault;
     this.bPaste.Text = "&Paste";
     //
     // bSelectAll
     //
     this.bSelectAll.BeginGroup = true;
     this.bSelectAll.GlobalName = "bSelectAll";
     this.bSelectAll.Name = "bSelectAll";
     this.bSelectAll.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.SystemDefault;
     this.bSelectAll.Text = "Select &All";
     //
     // switchButtonItem1
     //
     this.switchButtonItem1.ButtonHeight = 20;
     this.switchButtonItem1.ButtonWidth = 62;
     this.switchButtonItem1.Command = this.RibbonStateCommand;
     this.switchButtonItem1.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far;
     this.switchButtonItem1.Margin.Bottom = 2;
     this.switchButtonItem1.Margin.Left = 4;
     this.switchButtonItem1.Name = "switchButtonItem1";
     this.switchButtonItem1.OffText = "MAX";
     this.switchButtonItem1.OnText = "MIN";
     this.switchButtonItem1.Tooltip = "Minimizes/Maximizes the Ribbon";
     //
     // RibbonStateCommand
     //
     this.RibbonStateCommand.Name = "RibbonStateCommand";
     this.RibbonStateCommand.Executed += new System.EventHandler(this.RibbonStateCommand_Executed);
     //
     // buttonFile
     //
     this.buttonFile.AutoExpandOnClick = true;
     this.buttonFile.BackstageTab = this.superTabControl1;
     this.buttonFile.CanCustomize = false;
     this.buttonFile.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image;
     this.buttonFile.Image = ((System.Drawing.Image)(resources.GetObject("buttonFile.Image")));
     this.buttonFile.ImagePaddingHorizontal = 2;
     this.buttonFile.ImagePaddingVertical = 2;
     this.buttonFile.Name = "buttonFile";
     this.buttonFile.ShowSubItems = false;
     this.buttonFile.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.menuFileContainer});
     this.buttonFile.Text = "&File";
     //
     // superTabControl1
     //
     this.superTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.superTabControl1.BackColor = System.Drawing.Color.White;
     //
     //
     //
     //
     //
     //
     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.ControlBox.Visible = false;
     this.superTabControl1.Controls.Add(this.superTabControlPanel1);
     this.superTabControl1.Controls.Add(this.superTabControlPanel2);
     this.superTabControl1.Controls.Add(this.superTabControlPanel4);
     this.superTabControl1.Controls.Add(this.superTabControlPanel3);
     this.superTabControl1.ForeColor = System.Drawing.Color.Black;
     this.superTabControl1.ItemPadding.Left = 6;
     this.superTabControl1.ItemPadding.Right = 4;
     this.superTabControl1.ItemPadding.Top = 4;
     this.superTabControl1.Location = new System.Drawing.Point(6, 47);
     this.superTabControl1.Name = "superTabControl1";
     this.superTabControl1.ReorderTabsEnabled = false;
     this.superTabControl1.SelectedTabFont = new System.Drawing.Font("Segoe UI", 9.75F);
     this.superTabControl1.SelectedTabIndex = 0;
     this.superTabControl1.Size = new System.Drawing.Size(766, 448);
     this.superTabControl1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Left;
     this.superTabControl1.TabFont = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.superTabControl1.TabHorizontalSpacing = 16;
     this.superTabControl1.TabIndex = 14;
     this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem61,
     this.buttonItem63,
     this.buttonItem64,
     this.superTabItem1,
     this.superTabItem2,
     this.superTabItem3,
     this.superTabItem4,
     this.buttonItem65,
     this.buttonItem66});
     this.superTabControl1.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue;
     this.superTabControl1.TabVerticalSpacing = 8;
     //
     // superTabControlPanel1
     //
     this.superTabControlPanel1.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel1.Controls.Add(this.panelEx2);
     this.superTabControlPanel1.Controls.Add(this.panelEx1);
     this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel1.Location = new System.Drawing.Point(100, 0);
     this.superTabControlPanel1.Name = "superTabControlPanel1";
     this.superTabControlPanel1.Size = new System.Drawing.Size(666, 448);
     this.superTabControlPanel1.TabIndex = 1;
     this.superTabControlPanel1.TabItem = this.superTabItem1;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.recentPlacesItemsPanel);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelEx2.Location = new System.Drawing.Point(314, 0);
     this.panelEx2.Name = "panelEx2";
     this.panelEx2.Padding = new System.Windows.Forms.Padding(12);
     this.panelEx2.Size = new System.Drawing.Size(352, 448);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.Transparent;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex = 1;
     this.panelEx2.Text = "panelEx2";
     //
     // recentPlacesItemsPanel
     //
     this.recentPlacesItemsPanel.AutoScroll = true;
     //
     //
     //
     this.recentPlacesItemsPanel.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.recentPlacesItemsPanel.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.recentPlacesItemsPanel.ContainerControlProcessDialogKey = true;
     this.recentPlacesItemsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.recentPlacesItemsPanel.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.recentPlacesItemsPanel.Location = new System.Drawing.Point(12, 35);
     this.recentPlacesItemsPanel.Name = "recentPlacesItemsPanel";
     this.recentPlacesItemsPanel.Size = new System.Drawing.Size(328, 401);
     this.recentPlacesItemsPanel.TabIndex = 2;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX2.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX2.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX2.ForeColor = System.Drawing.Color.DimGray;
     this.labelX2.Location = new System.Drawing.Point(12, 12);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(328, 23);
     this.labelX2.TabIndex = 0;
     this.labelX2.Text = "Recent Places";
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.recentDocsItemPane);
     this.panelEx1.Controls.Add(this.labelX1);
     this.panelEx1.Dock = System.Windows.Forms.DockStyle.Left;
     this.panelEx1.Location = new System.Drawing.Point(0, 0);
     this.panelEx1.Name = "panelEx1";
     this.panelEx1.Padding = new System.Windows.Forms.Padding(12);
     this.panelEx1.Size = new System.Drawing.Size(314, 448);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex = 0;
     this.panelEx1.Text = "panelEx1";
     //
     // recentDocsItemPane
     //
     this.recentDocsItemPane.AutoScroll = true;
     //
     //
     //
     this.recentDocsItemPane.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.recentDocsItemPane.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.recentDocsItemPane.ContainerControlProcessDialogKey = true;
     this.recentDocsItemPane.Dock = System.Windows.Forms.DockStyle.Fill;
     this.recentDocsItemPane.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.recentDocsItemPane.Location = new System.Drawing.Point(12, 35);
     this.recentDocsItemPane.Name = "recentDocsItemPane";
     this.recentDocsItemPane.Size = new System.Drawing.Size(290, 401);
     this.recentDocsItemPane.TabIndex = 1;
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX1.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX1.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX1.ForeColor = System.Drawing.Color.DimGray;
     this.labelX1.Location = new System.Drawing.Point(12, 12);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(290, 23);
     this.labelX1.TabIndex = 0;
     this.labelX1.Text = "Recent Documents";
     //
     // superTabItem1
     //
     this.superTabItem1.AttachedControl = this.superTabControlPanel1;
     this.superTabItem1.GlobalItem = false;
     this.superTabItem1.KeyTips = "R";
     this.superTabItem1.Name = "superTabItem1";
     this.superTabItem1.Text = "Recent";
     //
     // superTabControlPanel2
     //
     this.superTabControlPanel2.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel2.Controls.Add(this.itemPanel1);
     this.superTabControlPanel2.Controls.Add(this.labelX3);
     this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel2.Location = new System.Drawing.Point(100, 0);
     this.superTabControlPanel2.Name = "superTabControlPanel2";
     this.superTabControlPanel2.Padding = new System.Windows.Forms.Padding(12);
     this.superTabControlPanel2.Size = new System.Drawing.Size(666, 448);
     this.superTabControlPanel2.TabIndex = 2;
     this.superTabControlPanel2.TabItem = this.superTabItem2;
     //
     // itemPanel1
     //
     this.itemPanel1.AutoScroll = true;
     this.itemPanel1.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.itemPanel1.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.itemPanel1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemPanel1.ContainerControlProcessDialogKey = true;
     this.itemPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPanel1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem67,
     this.buttonItem68,
     this.buttonItem69,
     this.buttonItem70,
     this.buttonItem71,
     this.buttonItem72});
     this.itemPanel1.Location = new System.Drawing.Point(12, 35);
     this.itemPanel1.MultiLine = true;
     this.itemPanel1.Name = "itemPanel1";
     this.itemPanel1.Size = new System.Drawing.Size(642, 401);
     this.itemPanel1.TabIndex = 3;
     //
     // buttonItem67
     //
     this.buttonItem67.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem67.Command = this.AppCommandNew;
     this.buttonItem67.ForeColor = System.Drawing.Color.Black;
     this.buttonItem67.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem67.Image")));
     this.buttonItem67.ImagePaddingVertical = 12;
     this.buttonItem67.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem67.Name = "buttonItem67";
     this.buttonItem67.Text = "<span align=\"center\">Blank<br/>document</span>";
     //
     // AppCommandNew
     //
     this.AppCommandNew.Name = "AppCommandNew";
     this.AppCommandNew.Executed += new System.EventHandler(this.AppCommandNew_Executed);
     //
     // buttonItem68
     //
     this.buttonItem68.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem68.ForeColor = System.Drawing.Color.Black;
     this.buttonItem68.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem68.Image")));
     this.buttonItem68.ImagePaddingVertical = 12;
     this.buttonItem68.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem68.Name = "buttonItem68";
     this.buttonItem68.Text = "Blog post";
     //
     // buttonItem69
     //
     this.buttonItem69.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem69.ForeColor = System.Drawing.Color.Black;
     this.buttonItem69.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem69.Image")));
     this.buttonItem69.ImagePaddingHorizontal = 12;
     this.buttonItem69.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem69.Name = "buttonItem69";
     this.buttonItem69.Text = "<span align=\"center\">Recent<br/>templates</span>";
     //
     // buttonItem70
     //
     this.buttonItem70.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem70.ForeColor = System.Drawing.Color.Black;
     this.buttonItem70.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem70.Image")));
     this.buttonItem70.ImagePaddingHorizontal = 12;
     this.buttonItem70.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem70.Name = "buttonItem70";
     this.buttonItem70.Text = "<span align=\"center\">Sample<br/>templates</span>";
     //
     // buttonItem71
     //
     this.buttonItem71.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem71.ForeColor = System.Drawing.Color.Black;
     this.buttonItem71.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem71.Image")));
     this.buttonItem71.ImagePaddingHorizontal = 12;
     this.buttonItem71.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem71.Name = "buttonItem71";
     this.buttonItem71.Text = "My templates";
     //
     // buttonItem72
     //
     this.buttonItem72.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem72.ForeColor = System.Drawing.Color.Black;
     this.buttonItem72.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem72.Image")));
     this.buttonItem72.ImagePaddingHorizontal = 12;
     this.buttonItem72.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem72.Name = "buttonItem72";
     this.buttonItem72.Text = "<span align=\"center\">New from<br/>existing</span>";
     //
     // labelX3
     //
     //
     //
     //
     this.labelX3.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX3.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX3.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.ForeColor = System.Drawing.Color.DimGray;
     this.labelX3.Location = new System.Drawing.Point(12, 12);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(642, 23);
     this.labelX3.TabIndex = 1;
     this.labelX3.Text = "Available Templates";
     //
     // superTabItem2
     //
     this.superTabItem2.AttachedControl = this.superTabControlPanel2;
     this.superTabItem2.GlobalItem = false;
     this.superTabItem2.KeyTips = "N";
     this.superTabItem2.Name = "superTabItem2";
     this.superTabItem2.Text = "New";
     //
     // superTabControlPanel4
     //
     this.superTabControlPanel4.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel4.Controls.Add(this.itemPanel2);
     this.superTabControlPanel4.Controls.Add(this.labelX6);
     this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel4.Location = new System.Drawing.Point(100, 0);
     this.superTabControlPanel4.Name = "superTabControlPanel4";
     this.superTabControlPanel4.Padding = new System.Windows.Forms.Padding(12);
     this.superTabControlPanel4.Size = new System.Drawing.Size(666, 448);
     this.superTabControlPanel4.TabIndex = 4;
     this.superTabControlPanel4.TabItem = this.superTabItem4;
     //
     // itemPanel2
     //
     this.itemPanel2.AutoScroll = true;
     this.itemPanel2.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.itemPanel2.BackgroundStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.itemPanel2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemPanel2.ContainerControlProcessDialogKey = true;
     this.itemPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem77,
     this.buttonItem73,
     this.buttonItem74,
     this.buttonItem75,
     this.buttonItem76});
     this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel2.Location = new System.Drawing.Point(12, 35);
     this.itemPanel2.Name = "itemPanel2";
     this.itemPanel2.Size = new System.Drawing.Size(642, 401);
     this.itemPanel2.TabIndex = 3;
     //
     // buttonItem77
     //
     this.buttonItem77.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem77.Command = this.AppCommandGoToUrl;
     this.buttonItem77.CommandParameter = "http://www.devcomponents.com/kb/questions.php?questionid=127";
     this.buttonItem77.ForeColor = System.Drawing.Color.Black;
     this.buttonItem77.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem77.Image")));
     this.buttonItem77.Name = "buttonItem77";
     this.buttonItem77.Text = "Backstage<br/>\r\n<font color=\"Gray\">How to build Office 2010 style Backstage with " +
         "DotNetBar</font>";
     //
     // AppCommandGoToUrl
     //
     this.AppCommandGoToUrl.Name = "AppCommandGoToUrl";
     this.AppCommandGoToUrl.Executed += new System.EventHandler(this.AppCommandGoToUrl_Executed);
     //
     // buttonItem73
     //
     this.buttonItem73.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem73.Command = this.AppCommandGoToUrl;
     this.buttonItem73.CommandParameter = "http://www.devcomponents.com/kb/";
     this.buttonItem73.ForeColor = System.Drawing.Color.Black;
     this.buttonItem73.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem73.Image")));
     this.buttonItem73.Name = "buttonItem73";
     this.buttonItem73.Text = "DotNetBar Knowledge Base<br/>\r\n<font color=\"Gray\">Browse our online Knowledge Bas" +
         "e.</font>";
     //
     // buttonItem74
     //
     this.buttonItem74.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem74.Command = this.AppCommandGoToUrl;
     this.buttonItem74.CommandParameter = "http://www.devcomponents.com/dotnetbar/movies.aspx";
     this.buttonItem74.ForeColor = System.Drawing.Color.Black;
     this.buttonItem74.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem74.Image")));
     this.buttonItem74.Name = "buttonItem74";
     this.buttonItem74.Text = "Movie Tutorials<br/>\r\n<font color=\"Gray\">Watch getting started online movie tutor" +
         "ials</font>";
     //
     // buttonItem75
     //
     this.buttonItem75.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem75.Command = this.AppCommandGoToUrl;
     this.buttonItem75.CommandParameter = "http://www.devcomponents.com/support.aspx";
     this.buttonItem75.ForeColor = System.Drawing.Color.Black;
     this.buttonItem75.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem75.Image")));
     this.buttonItem75.Name = "buttonItem75";
     this.buttonItem75.Text = "Contact Us<br/>\r\n<font color=\"Gray\">Let us know if you need help or how we can ma" +
         "ke DotNetBar even better.</font>";
     //
     // buttonItem76
     //
     this.buttonItem76.BeginGroup = true;
     this.buttonItem76.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem76.Command = this.AppCommandGoToUrl;
     this.buttonItem76.CommandParameter = "http://www.devcomponents.com/dotnetbar/applicationgallery/";
     this.buttonItem76.ForeColor = System.Drawing.Color.Black;
     this.buttonItem76.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem76.Image")));
     this.buttonItem76.Name = "buttonItem76";
     this.buttonItem76.Text = "Application Gallery<br/>\r\n<font color=\"Gray\">See how other developers are using D" +
         "otNetBar in our application gallery</font>";
     //
     // labelX6
     //
     //
     //
     //
     this.labelX6.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX6.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX6.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX6.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX6.ForeColor = System.Drawing.Color.DimGray;
     this.labelX6.Location = new System.Drawing.Point(12, 12);
     this.labelX6.Name = "labelX6";
     this.labelX6.Size = new System.Drawing.Size(642, 23);
     this.labelX6.TabIndex = 2;
     this.labelX6.Text = "Support";
     //
     // superTabItem4
     //
     this.superTabItem4.AttachedControl = this.superTabControlPanel4;
     this.superTabItem4.GlobalItem = false;
     this.superTabItem4.KeyTips = "H";
     this.superTabItem4.Name = "superTabItem4";
     this.superTabItem4.Text = "Help";
     //
     // superTabControlPanel3
     //
     this.superTabControlPanel3.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel3.Controls.Add(this.panelEx3);
     this.superTabControlPanel3.Controls.Add(this.labelX5);
     this.superTabControlPanel3.Controls.Add(this.integerInput1);
     this.superTabControlPanel3.Controls.Add(this.labelX4);
     this.superTabControlPanel3.Controls.Add(this.buttonX1);
     this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel3.Location = new System.Drawing.Point(100, 0);
     this.superTabControlPanel3.Name = "superTabControlPanel3";
     this.superTabControlPanel3.Size = new System.Drawing.Size(666, 448);
     this.superTabControlPanel3.TabIndex = 3;
     this.superTabControlPanel3.TabItem = this.superTabItem3;
     //
     // panelEx3
     //
     this.panelEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panelEx3.Location = new System.Drawing.Point(292, 4);
     this.panelEx3.Name = "panelEx3";
     this.panelEx3.Size = new System.Drawing.Size(371, 441);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.White;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.Color = System.Drawing.Color.Silver;
     this.panelEx3.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
     this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Gray;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex = 5;
     this.panelEx3.Text = "Print Preview Goes Here...";
     //
     // labelX5
     //
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.ForeColor = System.Drawing.Color.Black;
     this.labelX5.Location = new System.Drawing.Point(143, 54);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(48, 19);
     this.labelX5.TabIndex = 4;
     this.labelX5.Text = "Copies:";
     //
     // integerInput1
     //
     //
     //
     //
     this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground";
     this.integerInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.integerInput1.Location = new System.Drawing.Point(198, 53);
     this.integerInput1.Name = "integerInput1";
     this.integerInput1.ShowUpDown = true;
     this.integerInput1.Size = new System.Drawing.Size(66, 22);
     this.integerInput1.TabIndex = 3;
     this.integerInput1.Value = 1;
     //
     // labelX4
     //
     //
     //
     //
     this.labelX4.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX4.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX4.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX4.ForeColor = System.Drawing.Color.DimGray;
     this.labelX4.Location = new System.Drawing.Point(144, 16);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(120, 23);
     this.labelX4.TabIndex = 2;
     this.labelX4.Text = "Print";
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
     this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image")));
     this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonX1.Location = new System.Drawing.Point(21, 21);
     this.buttonX1.Name = "buttonX1";
     this.buttonX1.Size = new System.Drawing.Size(109, 101);
     this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonX1.TabIndex = 0;
     this.buttonX1.Text = "Print";
     //
     // superTabItem3
     //
     this.superTabItem3.AttachedControl = this.superTabControlPanel3;
     this.superTabItem3.GlobalItem = false;
     this.superTabItem3.KeyTips = "P";
     this.superTabItem3.Name = "superTabItem3";
     this.superTabItem3.Text = "Print";
     //
     // buttonItem61
     //
     this.buttonItem61.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem61.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem61.Command = this.AppCommandSave;
     this.buttonItem61.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem61.Image")));
     this.buttonItem61.ImagePaddingHorizontal = 18;
     this.buttonItem61.ImagePaddingVertical = 10;
     this.buttonItem61.KeyTips = "S";
     this.buttonItem61.Name = "buttonItem61";
     this.buttonItem61.Stretch = true;
     this.buttonItem61.Text = "Save";
     //
     // AppCommandSave
     //
     this.AppCommandSave.Name = "AppCommandSave";
     this.AppCommandSave.Executed += new System.EventHandler(this.AppCommandSave_Executed);
     //
     // buttonItem63
     //
     this.buttonItem63.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem63.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem63.Command = this.AppCommandOpen;
     this.buttonItem63.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem63.Image")));
     this.buttonItem63.ImagePaddingHorizontal = 18;
     this.buttonItem63.ImagePaddingVertical = 10;
     this.buttonItem63.KeyTips = "O";
     this.buttonItem63.Name = "buttonItem63";
     this.buttonItem63.Stretch = true;
     this.buttonItem63.Text = "Open";
     //
     // AppCommandOpen
     //
     this.AppCommandOpen.Name = "AppCommandOpen";
     this.AppCommandOpen.Executed += new System.EventHandler(this.AppCommandOpen_Executed);
     //
     // buttonItem64
     //
     this.buttonItem64.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem64.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem64.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem64.Image")));
     this.buttonItem64.ImagePaddingHorizontal = 18;
     this.buttonItem64.ImagePaddingVertical = 10;
     this.buttonItem64.KeyTips = "C";
     this.buttonItem64.Name = "buttonItem64";
     this.buttonItem64.Stretch = true;
     this.buttonItem64.Text = "Close";
     //
     // buttonItem65
     //
     this.buttonItem65.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem65.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem65.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem65.Image")));
     this.buttonItem65.ImagePaddingHorizontal = 18;
     this.buttonItem65.ImagePaddingVertical = 10;
     this.buttonItem65.KeyTips = "T";
     this.buttonItem65.Name = "buttonItem65";
     this.buttonItem65.Stretch = true;
     this.buttonItem65.Text = "Options";
     //
     // buttonItem66
     //
     this.buttonItem66.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem66.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem66.Command = this.AppCommandExit;
     this.buttonItem66.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem66.Image")));
     this.buttonItem66.ImagePaddingHorizontal = 18;
     this.buttonItem66.ImagePaddingVertical = 10;
     this.buttonItem66.KeyTips = "X";
     this.buttonItem66.Name = "buttonItem66";
     this.buttonItem66.Stretch = true;
     this.buttonItem66.Text = "Exit";
     //
     // AppCommandExit
     //
     this.AppCommandExit.Name = "AppCommandExit";
     this.AppCommandExit.Executed += new System.EventHandler(this.AppCommandExit_Executed);
     //
     // menuFileContainer
     //
     //
     //
     //
     this.menuFileContainer.BackgroundStyle.Class = "RibbonFileMenuContainer";
     this.menuFileContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileContainer.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileContainer.Name = "menuFileContainer";
     this.menuFileContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.menuFileTwoColumnContainer,
     this.menuFileBottomContainer});
     //
     //
     //
     this.menuFileContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // menuFileTwoColumnContainer
     //
     //
     //
     //
     this.menuFileTwoColumnContainer.BackgroundStyle.Class = "RibbonFileMenuTwoColumnContainer";
     this.menuFileTwoColumnContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingBottom = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingLeft = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingRight = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingTop = 2;
     this.menuFileTwoColumnContainer.ItemSpacing = 0;
     this.menuFileTwoColumnContainer.Name = "menuFileTwoColumnContainer";
     this.menuFileTwoColumnContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.menuFileItems,
     this.menuFileMRU});
     //
     //
     //
     this.menuFileTwoColumnContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // menuFileItems
     //
     //
     //
     //
     this.menuFileItems.BackgroundStyle.Class = "RibbonFileMenuColumnOneContainer";
     this.menuFileItems.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileItems.ItemSpacing = 5;
     this.menuFileItems.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileItems.MinimumSize = new System.Drawing.Size(120, 0);
     this.menuFileItems.Name = "menuFileItems";
     this.menuFileItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem20,
     this.buttonItem21,
     this.buttonFileSaveAs,
     this.buttonItem23,
     this.buttonItem24,
     this.buttonItem25});
     //
     //
     //
     this.menuFileItems.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonItem20
     //
     this.buttonItem20.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem20.Command = this.AppCommandNew;
     this.buttonItem20.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem20.Image")));
     this.buttonItem20.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonItem20.ImageSmall")));
     this.buttonItem20.Name = "buttonItem20";
     this.buttonItem20.SubItemsExpandWidth = 24;
     this.buttonItem20.Text = "&New";
     //
     // buttonItem21
     //
     this.buttonItem21.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem21.Command = this.AppCommandOpen;
     this.buttonItem21.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem21.Image")));
     this.buttonItem21.Name = "buttonItem21";
     this.buttonItem21.SubItemsExpandWidth = 24;
     this.buttonItem21.Text = "&Open...";
     //
     // buttonFileSaveAs
     //
     this.buttonFileSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonFileSaveAs.Command = this.AppCommandSaveAs;
     this.buttonFileSaveAs.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.Image")));
     this.buttonFileSaveAs.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.ImageSmall")));
     this.buttonFileSaveAs.Name = "buttonFileSaveAs";
     this.buttonFileSaveAs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainer12});
     this.buttonFileSaveAs.SubItemsExpandWidth = 24;
     this.buttonFileSaveAs.Text = "&Save As...";
     this.buttonFileSaveAs.ExpandChange += new System.EventHandler(this.buttonFileSaveAs_ExpandChange);
     //
     // AppCommandSaveAs
     //
     this.AppCommandSaveAs.Name = "AppCommandSaveAs";
     this.AppCommandSaveAs.Executed += new System.EventHandler(this.AppCommandSaveAs_Executed);
     //
     // itemContainer12
     //
     //
     //
     //
     this.itemContainer12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer12.ItemSpacing = 4;
     this.itemContainer12.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainer12.MinimumSize = new System.Drawing.Size(210, 256);
     this.itemContainer12.Name = "itemContainer12";
     this.itemContainer12.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelItem1,
     this.buttonItem56,
     this.buttonItem57,
     this.buttonItem58,
     this.buttonItem59});
     //
     //
     //
     this.itemContainer12.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelItem1
     //
     this.labelItem1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.labelItem1.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.Etched;
     this.labelItem1.Name = "labelItem1";
     this.labelItem1.PaddingBottom = 5;
     this.labelItem1.PaddingLeft = 5;
     this.labelItem1.PaddingRight = 5;
     this.labelItem1.PaddingTop = 5;
     this.labelItem1.Text = "<b>Save a copy of the document</b>";
     //
     // buttonItem56
     //
     this.buttonItem56.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem56.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem56.Image")));
     this.buttonItem56.Name = "buttonItem56";
     this.buttonItem56.Text = "<b>&Rich Text Document</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save the document " +
         "in the default file format.</div>";
     //
     // buttonItem57
     //
     this.buttonItem57.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem57.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem57.Image")));
     this.buttonItem57.Name = "buttonItem57";
     this.buttonItem57.Text = "<b>Document &Template</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save as a template " +
         "that can be used to format future documents.</div>";
     //
     // buttonItem58
     //
     this.buttonItem58.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem58.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem58.Image")));
     this.buttonItem58.Name = "buttonItem58";
     this.buttonItem58.Text = "<b>&Find add-ins for other formats</b>\r\n<div padding=\"0,0,4,0\" width=\"180\">Learn " +
         "about add-ins to save to other formats such as PDF or XPS.</div>";
     //
     // buttonItem59
     //
     this.buttonItem59.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem59.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem59.Image")));
     this.buttonItem59.Name = "buttonItem59";
     this.buttonItem59.Text = "<b>&Other Formats</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Open the Save As dialog" +
         " box to select from all possible file types.</div>";
     //
     // buttonItem23
     //
     this.buttonItem23.BeginGroup = true;
     this.buttonItem23.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem23.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem23.Image")));
     this.buttonItem23.Name = "buttonItem23";
     this.buttonItem23.SubItemsExpandWidth = 24;
     this.buttonItem23.Text = "S&hare...";
     //
     // buttonItem24
     //
     this.buttonItem24.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem24.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem24.Image")));
     this.buttonItem24.Name = "buttonItem24";
     this.buttonItem24.SubItemsExpandWidth = 24;
     this.buttonItem24.Text = "&Print...";
     //
     // buttonItem25
     //
     this.buttonItem25.BeginGroup = true;
     this.buttonItem25.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem25.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem25.Image")));
     this.buttonItem25.Name = "buttonItem25";
     this.buttonItem25.SubItemsExpandWidth = 24;
     this.buttonItem25.Text = "&Close";
     //
     // menuFileMRU
     //
     //
     //
     //
     this.menuFileMRU.BackgroundStyle.Class = "RibbonFileMenuColumnTwoContainer";
     this.menuFileMRU.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileMRU.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileMRU.MinimumSize = new System.Drawing.Size(225, 0);
     this.menuFileMRU.Name = "menuFileMRU";
     this.menuFileMRU.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelItem8,
     this.buttonItem26,
     this.buttonItem27,
     this.buttonItem28,
     this.buttonItem29});
     //
     //
     //
     this.menuFileMRU.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelItem8
     //
     this.labelItem8.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem8.BorderType = DevComponents.DotNetBar.eBorderType.Etched;
     this.labelItem8.Name = "labelItem8";
     this.labelItem8.PaddingBottom = 2;
     this.labelItem8.PaddingTop = 2;
     this.labelItem8.Stretch = true;
     this.labelItem8.Text = "Recent Documents";
     //
     // buttonItem26
     //
     this.buttonItem26.Name = "buttonItem26";
     this.buttonItem26.Text = "&1. Short News 5-7.rtf";
     //
     // buttonItem27
     //
     this.buttonItem27.Name = "buttonItem27";
     this.buttonItem27.Text = "&2. Prospect Email.rtf";
     //
     // buttonItem28
     //
     this.buttonItem28.Name = "buttonItem28";
     this.buttonItem28.Text = "&3. Customer Email.rtf";
     //
     // buttonItem29
     //
     this.buttonItem29.Name = "buttonItem29";
     this.buttonItem29.Text = "&4. example.rtf";
     //
     // menuFileBottomContainer
     //
     //
     //
     //
     this.menuFileBottomContainer.BackgroundStyle.Class = "RibbonFileMenuBottomContainer";
     this.menuFileBottomContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileBottomContainer.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Right;
     this.menuFileBottomContainer.Name = "menuFileBottomContainer";
     this.menuFileBottomContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonOptions,
     this.buttonExit});
     //
     //
     //
     this.menuFileBottomContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonOptions
     //
     this.buttonOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonOptions.Image = ((System.Drawing.Image)(resources.GetObject("buttonOptions.Image")));
     this.buttonOptions.Name = "buttonOptions";
     this.buttonOptions.SubItemsExpandWidth = 24;
     this.buttonOptions.Text = "RibbonPad Opt&ions";
     //
     // buttonExit
     //
     this.buttonExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonExit.Command = this.AppCommandExit;
     this.buttonExit.Image = ((System.Drawing.Image)(resources.GetObject("buttonExit.Image")));
     this.buttonExit.Name = "buttonExit";
     this.buttonExit.SubItemsExpandWidth = 24;
     this.buttonExit.Text = "E&xit RibbonPad";
     //
     // buttonNew
     //
     this.buttonNew.Command = this.AppCommandNew;
     this.buttonNew.Image = ((System.Drawing.Image)(resources.GetObject("buttonNew.Image")));
     this.buttonNew.Name = "buttonNew";
     this.buttonNew.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlN);
     this.buttonNew.Text = "New Document";
     //
     // buttonSave
     //
     this.buttonSave.Command = this.AppCommandSave;
     this.buttonSave.Enabled = false;
     this.buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("buttonSave.Image")));
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.Text = "buttonItem2";
     //
     // buttonUndo
     //
     this.buttonUndo.Enabled = false;
     this.buttonUndo.Image = ((System.Drawing.Image)(resources.GetObject("buttonUndo.Image")));
     this.buttonUndo.Name = "buttonUndo";
     this.buttonUndo.Text = "Undo";
     //
     // qatCustomizeItem1
     //
     this.qatCustomizeItem1.Name = "qatCustomizeItem1";
     //
     // ribbonTabItemGroup1
     //
     this.ribbonTabItemGroup1.Color = DevComponents.DotNetBar.eRibbonTabGroupColor.Orange;
     this.ribbonTabItemGroup1.GroupTitle = "Tab Group";
     this.ribbonTabItemGroup1.Name = "ribbonTabItemGroup1";
     //
     //
     //
     this.ribbonTabItemGroup1.Style.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(158)))), ((int)(((byte)(159)))));
     this.ribbonTabItemGroup1.Style.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(225)))), ((int)(((byte)(226)))));
     this.ribbonTabItemGroup1.Style.BackColorGradientAngle = 90;
     this.ribbonTabItemGroup1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ribbonTabItemGroup1.Style.BorderBottomWidth = 1;
     this.ribbonTabItemGroup1.Style.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(154)))), ((int)(((byte)(58)))), ((int)(((byte)(59)))));
     this.ribbonTabItemGroup1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ribbonTabItemGroup1.Style.BorderLeftWidth = 1;
     this.ribbonTabItemGroup1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ribbonTabItemGroup1.Style.BorderRightWidth = 1;
     this.ribbonTabItemGroup1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
     this.ribbonTabItemGroup1.Style.BorderTopWidth = 1;
     this.ribbonTabItemGroup1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribbonTabItemGroup1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
     this.ribbonTabItemGroup1.Style.TextColor = System.Drawing.Color.Black;
     this.ribbonTabItemGroup1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
     //
     // buttonStyleMetro
     //
     this.buttonStyleMetro.Checked = true;
     this.buttonStyleMetro.Command = this.AppCommandTheme;
     this.buttonStyleMetro.CommandParameter = "Metro";
     this.buttonStyleMetro.Name = "buttonStyleMetro";
     this.buttonStyleMetro.OptionGroup = "style";
     this.buttonStyleMetro.Text = "Metro/Office 2013";
     //
     // AppCommandTheme
     //
     this.AppCommandTheme.Name = "AppCommandTheme";
     this.AppCommandTheme.Executed += new System.EventHandler(this.AppCommandTheme_Executed);
     //
     // buttonItem47
     //
     this.buttonItem47.BeginGroup = true;
     this.buttonItem47.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem47.Image")));
     this.buttonItem47.Name = "buttonItem47";
     this.buttonItem47.Text = "Search for Templates Online...";
     //
     // buttonItem48
     //
     this.buttonItem48.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem48.Image")));
     this.buttonItem48.Name = "buttonItem48";
     this.buttonItem48.Text = "Browse for Templates...";
     //
     // buttonItem49
     //
     this.buttonItem49.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem49.Image")));
     this.buttonItem49.Name = "buttonItem49";
     this.buttonItem49.Text = "Save Current Template...";
     //
     // comboItem1
     //
     this.comboItem1.Text = "6";
     //
     // comboItem2
     //
     this.comboItem2.Text = "7";
     //
     // comboItem3
     //
     this.comboItem3.Text = "8";
     //
     // comboItem4
     //
     this.comboItem4.Text = "9";
     //
     // comboItem5
     //
     this.comboItem5.Text = "10";
     //
     // comboItem6
     //
     this.comboItem6.Text = "11";
     //
     // comboItem7
     //
     this.comboItem7.Text = "12";
     //
     // comboItem8
     //
     this.comboItem8.Text = "13";
     //
     // comboItem9
     //
     this.comboItem9.Text = "14";
     //
     // superTooltip1
     //
     this.superTooltip1.DefaultFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.superTooltip1.MinimumTooltipSize = new System.Drawing.Size(150, 50);
     //
     // progressBarTimer
     //
     this.progressBarTimer.Enabled = true;
     this.progressBarTimer.Interval = 800;
     this.progressBarTimer.Tick += new System.EventHandler(this.progressBarTimer_Tick);
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Blue;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(87)))), ((int)(((byte)(154))))));
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "OpenExistingPlace.png");
     //
     // frmMain
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.ClientSize = new System.Drawing.Size(776, 500);
     this.Controls.Add(this.superTabControl1);
     this.Controls.Add(this.contextMenuBar);
     this.Controls.Add(this.tabStrip1);
     this.Controls.Add(this.mainRibbonControl);
     this.Controls.Add(this.bar1);
     this.Controls.Add(this.mdiClient1);
     this.EnableGlass = false;
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "frmMain";
     this.Text = "����˹̹ƽ̨";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     this.Load += new System.EventHandler(this.frmMain_Load);
     this.MdiChildActivate += new System.EventHandler(this.MdiChildActivated);
     this.Move += new System.EventHandler(this.frmMain_Move);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.contextMenuBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
     this.superTabControl1.ResumeLayout(false);
     this.superTabControlPanel1.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx1.ResumeLayout(false);
     this.superTabControlPanel2.ResumeLayout(false);
     this.superTabControlPanel4.ResumeLayout(false);
     this.superTabControlPanel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 36
0
        /// <summary>
        /// pnl : 整個課表的 container
        /// schType : 課表類型
        /// 
        /// </summary>
        /// <param name="pnl"></param>
        /// <param name="schType"></param>
        public DecCalendar(DevComponents.DotNetBar.PanelEx pnl)
        {
            pnl.Tag = this;

            #region 註冊事件
            CalendarEvents.ReplaceEvent += (sender, e) => UpdateContent();
            CalendarEvents.ExchangeEvent += (sender, e) =>
            {
                this.SelectedCalendars = new List<CalendarRecord>();
                UpdateContent();
            };
            CalendarEvents.WeekChangeEvent += (vsender, ve) =>
            {
                if (ve.Type.Equals(this.Type) &&
                    ve.AssocID.Equals(this.AssocID))
                {
                    this.SelectedCalendars = new List<CalendarRecord>();
                    this.UpdateContent();
                }
            };
            CalendarEvents.WeekdayPeriodChangeEvent += CalendarEvents_WeekdayPeriodChangeEvent;
            #endregion

            #region 建立元件
            pnl.Controls.Clear();

            PanelEx pnlCalendarControl = makePanel(string.Empty, string.Empty, new Point(), new Size(10,50));
            pnlCalendarControl.Dock = DockStyle.Top;

            btnPrevious = CreateButton(new Size(50, 25));
            btnNext = CreateButton(new Size(50, 25));

            btnPrevious.Text = "上週";
            btnPrevious.Location = new Point(10, 10);
            btnPrevious.Click += (sender, e) =>
            {
                SchoolYearSemesterOption.Instance.StartDate = SchoolYearSemesterOption.Instance.StartDate.AddDays(-7);
                SchoolYearSemesterOption.Instance.EndDate = SchoolYearSemesterOption.Instance.EndDate.AddDays(-7);
                CalendarEvents.RaiseWeekChangeEvent(this.Type,this.AssocID);
            };

            btnNext.Text = "下週";
            btnNext.Location = new Point(70, 10);
            btnNext.Click += (sender, e) =>
            {
                SchoolYearSemesterOption.Instance.StartDate = SchoolYearSemesterOption.Instance.StartDate.AddDays(7);
                SchoolYearSemesterOption.Instance.EndDate = SchoolYearSemesterOption.Instance.EndDate.AddDays(7);
                CalendarEvents.RaiseWeekChangeEvent(this.Type,this.AssocID);
            };

            btnCurrent = CreateButton(new Size(50, 25));
            btnCurrent.Text = "本週";
            btnCurrent.Location = new Point(130, 10);
            btnCurrent.Click += (sender,e)=>
            {
                SchoolYearSemesterOption.Instance.StartDate = DateTime.Now.StartOfWeek(DayOfWeek.Monday).ToDayStart();
                SchoolYearSemesterOption.Instance.EndDate = SchoolYearSemesterOption.Instance.StartDate.AddDays(6);
                CalendarEvents.RaiseWeekChangeEvent(this.Type,this.AssocID);
            };

            ButtonX btnPrint = CreateButton(new Size(50, 25));
            btnPrint.Location = new Point(190,10);
            btnPrint.Text = "列印";
            btnPrint.Click += (sender,e)=>
            {
                if (this.Type.Equals(CalendarType.Teacher))
                {
                    List<CalendarRecord> QueryResult = new List<CalendarRecord>();

                    DateTime dteStart = SchoolYearSemesterOption.Instance.StartDate;
                    DateTime dteEnd = SchoolYearSemesterOption.Instance.EndDate;
                    List<string> SelectedClassNames = new List<string>();
                    List<string> SelectedTeacherNames = new List<string>(){AssocID};

                    BackgroundWorker worker = new BackgroundWorker();

                    worker.DoWork += (vsender, ve) =>
                    {
                        #region 找出調課記錄
                        List<CalendarRecord> ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null,
                        null, null, null, null, null);

                        List<CalendarRecord> ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null);

                        Dictionary<string, CalendarRecord> Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出代課記錄
                        List<CalendarRecord> RepRecords = Calendar.Instance.FindReplaceRecords(
                            SelectedTeacherNames, null, SelectedClassNames, null, dteStart, dteEnd);

                        List<CalendarRecord> AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, SelectedTeacherNames, SelectedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);
                        #endregion

                        QueryResult.AddRange(Records.Values);

                        List<CalendarRecord> RelatedQueryResult = new List<CalendarRecord>();

                        List<string> RelatedClassNames = new List<string>();
                        List<string> RelatedTeacherNames = new List<string>();

                        foreach (CalendarRecord record in Records.Values)
                        {
                            if (!string.IsNullOrWhiteSpace(record.ReplaceID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.AbsTeacherName);
                            }

                            if (!string.IsNullOrWhiteSpace(record.ExchangeID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);

                                if (record.ExchangeCalendar!=null)
                                    RelatedTeacherNames.Add(record.ExchangeCalendar.TeacherName);
                            }
                        }

                        RelatedTeacherNames = RelatedTeacherNames.Distinct().ToList();
                        RelatedClassNames = RelatedClassNames.Distinct().ToList();
                        QueryResult.Clear();

                        #region 找出相關調課記錄
                        ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, RelatedTeacherNames, RelatedClassNames, null,
                        null, null, null, null, null);

                        ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, RelatedTeacherNames, RelatedClassNames, null);

                        Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出相關代課記錄
                        RepRecords = Calendar.Instance.FindReplaceRecords(
                            RelatedTeacherNames, null, RelatedClassNames, null, dteStart, dteEnd);

                        AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, RelatedTeacherNames, RelatedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion
                    };

                    worker.RunWorkerCompleted += (vsender, ve) =>
                    {
                        ExchangeReplaceReport.Instance.Print(QueryResult, dteStart, dteEnd);
                        MotherForm.SetStatusBarMessage(string.Empty);
                        btnPrint.Enabled = true;
                    };

                    worker.RunWorkerAsync();
                    MotherForm.SetStatusBarMessage("取得報表資料中!");
                    btnPrint.Enabled = false;
                }
                else if (this.Type.Equals(CalendarType.Class))
                {
                    List<CalendarRecord> QueryResult = new List<CalendarRecord>();

                    DateTime dteStart = SchoolYearSemesterOption.Instance.StartDate;
                    DateTime dteEnd = SchoolYearSemesterOption.Instance.EndDate;
                    List<string> SelectedClassNames = new List<string>() { AssocID };
                    List<string> SelectedTeacherNames = new List<string>();

                    BackgroundWorker worker = new BackgroundWorker();

                    worker.DoWork += (vsender, ve) =>
                    {
                        #region 找出調課記錄
                        List<CalendarRecord> ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null,
                        null, null, null, null, null);

                        List<CalendarRecord> ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null);

                        Dictionary<string, CalendarRecord> Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出代課記錄
                        List<CalendarRecord> RepRecords = Calendar.Instance.FindReplaceRecords(
                            SelectedTeacherNames, null, SelectedClassNames, null, dteStart, dteEnd);

                        List<CalendarRecord> AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, SelectedTeacherNames, SelectedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);
                        #endregion

                        QueryResult.AddRange(Records.Values);

                        List<CalendarRecord> RelatedQueryResult = new List<CalendarRecord>();

                        List<string> RelatedClassNames = new List<string>();
                        List<string> RelatedTeacherNames = new List<string>();

                        foreach (CalendarRecord record in Records.Values)
                        {
                            if (!string.IsNullOrWhiteSpace(record.ReplaceID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.AbsTeacherName);
                            }

                            if (!string.IsNullOrWhiteSpace(record.ExchangeID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.ExchangeCalendar.TeacherName);
                            }
                        }

                        RelatedTeacherNames = RelatedTeacherNames.Distinct().ToList();
                        RelatedClassNames = RelatedClassNames.Distinct().ToList();
                        QueryResult.Clear();

                        #region 找出相關調課記錄
                        ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, RelatedTeacherNames, null, null,
                        null, null, null, null, null);

                        ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, RelatedTeacherNames, null, null);

                        Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出相關代課記錄
                        RepRecords = Calendar.Instance.FindReplaceRecords(
                            RelatedTeacherNames, null, null, null, dteStart, dteEnd);

                        AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, RelatedTeacherNames, null, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion
                    };

                    worker.RunWorkerCompleted += (vsender, ve) =>
                    {
                        ExchangeReplaceReport.Instance.Print(QueryResult, dteStart, dteEnd);
                        MotherForm.SetStatusBarMessage(string.Empty);
                        btnPrint.Enabled = true;
                    };

                    worker.RunWorkerAsync();
                    MotherForm.SetStatusBarMessage("取得報表資料中!");
                    btnPrint.Enabled = false;
                }
            };

            ButtonItem btnPrintAll = new ButtonItem("列印所有", "列印所有");

            btnPrintAll.Click += (sender, e) =>
            {
                if (this.Type.Equals(CalendarType.Teacher))
                {
                    List<CalendarRecord> QueryResult = new List<CalendarRecord>();

                    DateTime dteStart = SchoolYearSemesterOption.Instance.StartDate;
                    DateTime dteEnd = SchoolYearSemesterOption.Instance.EndDate;
                    List<string> SelectedClassNames = new List<string>();
                    List<string> SelectedTeacherNames = new List<string>();

                    BackgroundWorker worker = new BackgroundWorker();

                    worker.DoWork += (vsender, ve) =>
                    {
                        #region 找出調課記錄
                        List<CalendarRecord> ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null,
                        null, null, null, null, null);

                        List<CalendarRecord> ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null);

                        Dictionary<string, CalendarRecord> Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出代課記錄
                        List<CalendarRecord> RepRecords = Calendar.Instance.FindReplaceRecords(
                            SelectedTeacherNames, null, SelectedClassNames, null, dteStart, dteEnd);

                        List<CalendarRecord> AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, SelectedTeacherNames, SelectedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);
                        #endregion

                        QueryResult.AddRange(Records.Values);

                        List<CalendarRecord> RelatedQueryResult = new List<CalendarRecord>();

                        List<string> RelatedClassNames = new List<string>();
                        List<string> RelatedTeacherNames = new List<string>();

                        foreach (CalendarRecord record in Records.Values)
                        {
                            if (!string.IsNullOrWhiteSpace(record.ReplaceID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.AbsTeacherName);
                            }

                            if (!string.IsNullOrWhiteSpace(record.ExchangeID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.ExchangeCalendar.TeacherName);
                            }
                        }

                        RelatedTeacherNames = RelatedTeacherNames.Distinct().ToList();
                        RelatedClassNames = RelatedClassNames.Distinct().ToList();
                        QueryResult.Clear();

                        #region 找出相關調課記錄
                        ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, RelatedTeacherNames, RelatedClassNames, null,
                        null, null, null, null, null);

                        ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, RelatedTeacherNames, RelatedClassNames, null);

                        Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出相關代課記錄
                        RepRecords = Calendar.Instance.FindReplaceRecords(
                            RelatedTeacherNames, null, RelatedClassNames, null, dteStart, dteEnd);

                        AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, RelatedTeacherNames, RelatedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion
                    };

                    worker.RunWorkerCompleted += (vsender, ve) =>
                    {
                        ExchangeReplaceReport.Instance.Print(QueryResult, dteStart, dteEnd);
                        MotherForm.SetStatusBarMessage(string.Empty);
                        btnPrint.Enabled = true;
                    };

                    worker.RunWorkerAsync();
                    MotherForm.SetStatusBarMessage("取得報表資料中!");
                    btnPrint.Enabled = false;
                }
                else if (this.Type.Equals(CalendarType.Class))
                {
                    List<CalendarRecord> QueryResult = new List<CalendarRecord>();

                    DateTime dteStart = SchoolYearSemesterOption.Instance.StartDate;
                    DateTime dteEnd = SchoolYearSemesterOption.Instance.EndDate;
                    List<string> SelectedClassNames = new List<string>();
                    List<string> SelectedTeacherNames = new List<string>();

                    BackgroundWorker worker = new BackgroundWorker();

                    worker.DoWork += (vsender, ve) =>
                    {
                        #region 找出調課記錄
                        List<CalendarRecord> ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null,
                        null, null, null, null, null);

                        List<CalendarRecord> ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, SelectedTeacherNames, SelectedClassNames, null);

                        Dictionary<string, CalendarRecord> Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出代課記錄
                        List<CalendarRecord> RepRecords = Calendar.Instance.FindReplaceRecords(
                            SelectedTeacherNames, null, SelectedClassNames, null, dteStart, dteEnd);

                        List<CalendarRecord> AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, SelectedTeacherNames, SelectedClassNames, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);
                        #endregion

                        QueryResult.AddRange(Records.Values);

                        List<CalendarRecord> RelatedQueryResult = new List<CalendarRecord>();

                        List<string> RelatedClassNames = new List<string>();
                        List<string> RelatedTeacherNames = new List<string>();

                        foreach (CalendarRecord record in Records.Values)
                        {
                            if (!string.IsNullOrWhiteSpace(record.ReplaceID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.AbsTeacherName);
                            }

                            if (!string.IsNullOrWhiteSpace(record.ExchangeID))
                            {
                                RelatedClassNames.Add(record.ClassName);
                                RelatedTeacherNames.Add(record.TeacherName);
                                RelatedTeacherNames.Add(record.ExchangeCalendar.TeacherName);
                            }
                        }

                        RelatedTeacherNames = RelatedTeacherNames.Distinct().ToList();
                        RelatedClassNames = RelatedClassNames.Distinct().ToList();
                        QueryResult.Clear();

                        #region 找出相關調課記錄
                        ExchangeARecords = Calendar.Instance.FindExchangeRecords(
                        dteStart, dteEnd, RelatedTeacherNames, null, null,
                        null, null, null, null, null);

                        ExchangeBRecords = Calendar.Instance.FindExchangeRecords(
                        null, null, null, null, null,
                        dteStart, dteEnd, RelatedTeacherNames, null, null);

                        Records = new Dictionary<string, CalendarRecord>();

                        foreach (CalendarRecord ExchangeRecord in ExchangeARecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        foreach (CalendarRecord ExchangeRecord in ExchangeBRecords)
                            if (!Records.ContainsKey(ExchangeRecord.UID))
                                Records.Add(ExchangeRecord.UID, ExchangeRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion

                        #region 找出相關代課記錄
                        RepRecords = Calendar.Instance.FindReplaceRecords(
                            RelatedTeacherNames, null, null, null, dteStart, dteEnd);

                        AbsRecords = Calendar.Instance.FindReplaceRecords(
                            null, RelatedTeacherNames, null, null, dteStart, dteEnd);

                        foreach (CalendarRecord RepRecord in RepRecords)
                            if (!Records.ContainsKey(RepRecord.UID))
                                Records.Add(RepRecord.UID, RepRecord);

                        foreach (CalendarRecord AbsRecord in AbsRecords)
                            if (!Records.ContainsKey(AbsRecord.UID))
                                Records.Add(AbsRecord.UID, AbsRecord);

                        QueryResult.AddRange(Records.Values);
                        #endregion
                    };

                    worker.RunWorkerCompleted += (vsender, ve) =>
                    {
                        ExchangeReplaceReport.Instance.Print(QueryResult, dteStart, dteEnd);
                        MotherForm.SetStatusBarMessage(string.Empty);
                        btnPrint.Enabled = true;
                    };

                    worker.RunWorkerAsync();
                    MotherForm.SetStatusBarMessage("取得報表資料中!");
                    btnPrint.Enabled = false;
                }
            };

            btnPrint.SubItems.Add(btnPrintAll);

            ButtonItem btnSetting = new ButtonItem("設定", "設定");

            btnSetting.Click += (sender, e) =>
            {
                #region 讀取 Preference
                ConfigData configExchagne = K12.Data.School.Configuration["調代課通知單"];

                if (configExchagne != null)
                {
                    int _useTemplateNumber = 0;
                    int.TryParse(configExchagne["TemplateNumber"], out _useTemplateNumber);

                    string customize = configExchagne["CustomizeTemplate"];
                    byte[] _buffer = Resources.調代課通知單;

                    if (!string.IsNullOrEmpty(customize))
                        _buffer = Convert.FromBase64String(customize);
                    frmExchangeReplaceTemplateConfig frmConfig = new frmExchangeReplaceTemplateConfig(
                        _buffer,
                        _useTemplateNumber);

                    frmConfig.ShowDialog();
                }
                #endregion

                //switch (mCalendarType)
                //{
                //    case CalendarType.Teacher:
                //        new frmCalendarOption(CalendarOption.GetTeacherOption()).ShowDialog();
                //        break;
                //    case CalendarType.Class:
                //        new frmCalendarOption(CalendarOption.GetClassOption()).ShowDialog();
                //        break;
                //    case CalendarType.Classroom:
                //        new frmCalendarOption(CalendarOption.GetClassroomOption()).ShowDialog();
                //        break;
                //}
            };
            btnPrint.SubItems.Add(btnSetting);

            if (CalendarOption.PrintExtraButtons.Count > 0)
            {
                foreach (ButtonItem vButton in CalendarOption.PrintExtraButtons)
                    btnPrint.SubItems.Add(vButton);
            }

            ErrorProvider errProvier = new ErrorProvider();

            DateTime dt = new DateTime();

            lblName.Name = "lblTitle";
            lblName.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            lblName.Font = new System.Drawing.Font("新細明體", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
            lblName.Location = new Point(240, 13);
            lblName.AutoSize = true;

            txtStartDate.Font = new System.Drawing.Font("新細明體", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
            txtStartDate.Location = new Point(380, 13);
            txtStartDate.Width = 40;
            txtStartDate.TextChanged += (sender, e) =>
            {
              string value = txtStartDate.Text;
                if (string.IsNullOrEmpty(value)) //沒有資料就不作任何檢查。
                    return;

                if (!DateTime.TryParse(value, out dt))
                {
                    errProvier.SetError(txtStartDate, "日期格式錯誤。");
                }
                else
                {
                    errProvier.Clear();
                }
            };
            txtStartDate.KeyPress += (sender, e) =>
            {
                if (e.KeyChar.Equals((char)Keys.Return))
                {
                    SchoolYearSemesterOption.Instance.StartDate = dt.StartOfWeek(DayOfWeek.Monday);
                    SchoolYearSemesterOption.Instance.EndDate = SchoolYearSemesterOption.Instance.StartDate.AddDays(6);
                    txtStartDate.Text = SchoolYearSemesterOption.Instance.StartDate.Month + "/" + SchoolYearSemesterOption.Instance.StartDate.Day;
                    CalendarEvents.RaiseWeekChangeEvent(this.Type,this.AssocID);
                }
            };

            lblEndDate.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
            lblEndDate.Font = new System.Drawing.Font("新細明體", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
            lblEndDate.Location = new Point(420, 13);
            lblEndDate.AutoSize = true;

            pnlCalendarControl.Controls.Add(btnPrint);
            pnlCalendarControl.Controls.Add(txtStartDate);
            pnlCalendarControl.Controls.Add(lblName);
            pnlCalendarControl.Controls.Add(lblEndDate);
            pnlCalendarControl.Controls.Add(btnPrevious);
            pnlCalendarControl.Controls.Add(btnCurrent);
            pnlCalendarControl.Controls.Add(btnNext);

            PanelEx pnlCalendarContent = new PanelEx();
            pnlCalendarContent.Dock = DockStyle.Fill;

            pnl.Controls.Add(pnlCalendarContent);
            pnl.Controls.Add(pnlCalendarControl);

            this.pnlContainer = pnlCalendarContent;
            this.pnlContainer.Resize += (sender, e) => Resize();
            this.cells = new Dictionary<string, DevComponents.DotNetBar.PanelEx>();
            this.decPeriods = new Dictionary<string, DecPeriod>();
            this.headerCells = new Dictionary<string, DevComponents.DotNetBar.PanelEx>();

            ContextMenu Menu = new ContextMenu();
            this.pnlContainer.ContextMenu = Menu;
            Menu.Popup += Menu_Popup;
            #endregion

            #region 星期節次
            Campus.Configuration.ConfigData config = Campus.Configuration.Config.User["CalendarOption"];

            string vWeekday = config["Weekday"];
            string vPeriods = config["PeriodList"];

            if (!string.IsNullOrWhiteSpace(vWeekday))
                this.weekday = K12.Data.Int.Parse(vWeekday);
            else
                this.weekday = 5;

            this.periods = Utility.GetPeriodList(vPeriods);
            this.RedrawGrid();
            #endregion
        }
Ejemplo n.º 37
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.mdiClient1 = new System.Windows.Forms.MdiClient();
     this.bar1 = new DevComponents.DotNetBar.Bar();
     this.itemContainer9 = new DevComponents.DotNetBar.ItemContainer();
     this.btnText = new DevComponents.DotNetBar.ButtonItem();
     this.btnNavigation = new DevComponents.DotNetBar.ButtonItem();
     this.labelStatus = new DevComponents.DotNetBar.LabelItem();
     this.progressBarItem1 = new DevComponents.DotNetBar.ProgressBarItem();
     this.itemContainer13 = new DevComponents.DotNetBar.ItemContainer();
     this.labelPosition = new DevComponents.DotNetBar.LabelItem();
     this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
     this.ribPnlContext = new DevComponents.DotNetBar.RibbonPanel();
     this.ribGrpMainLoop = new DevComponents.DotNetBar.RibbonBar();
     this.btnParamIn4MainLoop = new DevComponents.DotNetBar.ButtonItem();
     this.btnCalc4MainLoop = new DevComponents.DotNetBar.ButtonItem();
     this.btnProcess4MainLoop = new DevComponents.DotNetBar.ButtonItem();
     this.ribPnlWrite = new DevComponents.DotNetBar.RibbonPanel();
     this.ribTagParagraph = new DevComponents.DotNetBar.RibbonBar();
     this.itemContainerParagrapg1 = new DevComponents.DotNetBar.ItemContainer();
     this.itemContainerParagrapg2 = new DevComponents.DotNetBar.ItemContainer();
     this.buttonAlignLeft = new DevComponents.DotNetBar.ButtonItem();
     this.buttonAlignCenter = new DevComponents.DotNetBar.ButtonItem();
     this.buttonAlignRight = new DevComponents.DotNetBar.ButtonItem();
     this.buttonAlignJustify = new DevComponents.DotNetBar.ButtonItem();
     this.itemContainerParagrapg4 = new DevComponents.DotNetBar.ItemContainer();
     this.btnSeqNumber = new DevComponents.DotNetBar.ButtonItem();
     this.btnGrade = new DevComponents.DotNetBar.ButtonItem();
     this.btnToRigth = new DevComponents.DotNetBar.ButtonItem();
     this.btnToLeft = new DevComponents.DotNetBar.ButtonItem();
     this.itemContainerParagrapg3 = new DevComponents.DotNetBar.ItemContainer();
     this.btnBorders = new DevComponents.DotNetBar.ButtonItem();
     this.btnShading = new DevComponents.DotNetBar.ButtonItem();
     this.ribTagFont = new DevComponents.DotNetBar.RibbonBar();
     this.itemContainerFont1 = new DevComponents.DotNetBar.ItemContainer();
     this.comboFont = new DevComponents.DotNetBar.ComboBoxItem();
     this.comboFontSize = new DevComponents.DotNetBar.ComboBoxItem();
     this.comboItem1 = new DevComponents.Editors.ComboItem();
     this.comboItem2 = new DevComponents.Editors.ComboItem();
     this.comboItem3 = new DevComponents.Editors.ComboItem();
     this.comboItem4 = new DevComponents.Editors.ComboItem();
     this.comboItem5 = new DevComponents.Editors.ComboItem();
     this.itemContainerFont2 = new DevComponents.DotNetBar.ItemContainer();
     this.buttonFontBold = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFontItalic = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFontUnderline = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFontStrike = new DevComponents.DotNetBar.ButtonItem();
     this.buttonTextColor = new DevComponents.DotNetBar.ColorPickerDropDown();
     this.ribTagClipboard = new DevComponents.DotNetBar.RibbonBar();
     this.buttonPaste = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem53 = new DevComponents.DotNetBar.ButtonItem();
     this.btnPasteSpecial = new DevComponents.DotNetBar.ButtonItem();
     this.itemContainerClipboard = new DevComponents.DotNetBar.ItemContainer();
     this.buttonCut = new DevComponents.DotNetBar.ButtonItem();
     this.btnFormat = new DevComponents.DotNetBar.ButtonItem();
     this.ribPnlLayout = new DevComponents.DotNetBar.RibbonPanel();
     this.ribBarOptions = new DevComponents.DotNetBar.RibbonBar();
     this.itemContainerOptions1 = new DevComponents.DotNetBar.ItemContainer();
     this.checkBoxItem1 = new DevComponents.DotNetBar.CheckBoxItem();
     this.checkBoxItem3 = new DevComponents.DotNetBar.CheckBoxItem();
     this.itemContainer1Options2 = new DevComponents.DotNetBar.ItemContainer();
     this.checkBoxItem4 = new DevComponents.DotNetBar.CheckBoxItem();
     this.checkBoxItem6 = new DevComponents.DotNetBar.CheckBoxItem();
     this.ribBarFind = new DevComponents.DotNetBar.RibbonBar();
     this.buttonFind = new DevComponents.DotNetBar.ButtonItem();
     this.itemContainerFind = new DevComponents.DotNetBar.ItemContainer();
     this.buttonReplace = new DevComponents.DotNetBar.ButtonItem();
     this.buttonGoto = new DevComponents.DotNetBar.ButtonItem();
     this.ribTagPageSetup = new DevComponents.DotNetBar.RibbonBar();
     this.buttonMargins = new DevComponents.DotNetBar.ButtonItem();
     this.btnOrientation = new DevComponents.DotNetBar.ButtonItem();
     this.btnAuto = new DevComponents.DotNetBar.ButtonItem();
     this.btnHorizontal = new DevComponents.DotNetBar.ButtonItem();
     this.btnVertical = new DevComponents.DotNetBar.ButtonItem();
     this.btnSize = new DevComponents.DotNetBar.ButtonItem();
     this.btnPrintArea = new DevComponents.DotNetBar.ButtonItem();
     this.ribTabPrjManage = new DevComponents.DotNetBar.RibbonTabItem();
     this.ribTabMainDevice = new DevComponents.DotNetBar.RibbonTabItem();
     this.ribTagMainLoop = new DevComponents.DotNetBar.RibbonTabItem();
     this.buttonChangeStyle = new DevComponents.DotNetBar.ButtonItem();
     this.buttonStyleOffice2007Blue = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandTheme = new DevComponents.DotNetBar.Command(this.components);
     this.buttonStyleOffice2007Silver = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFile = new DevComponents.DotNetBar.Office2007StartButton();
     this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
     this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panelEx2 = new DevComponents.DotNetBar.PanelEx();
     this.recentPlacesItemsPanel = new DevComponents.DotNetBar.ItemPanel();
     this.labelX2 = new DevComponents.DotNetBar.LabelX();
     this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
     this.recentDocsItemPane = new DevComponents.DotNetBar.ItemPanel();
     this.labelX1 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem67 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem68 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem69 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem70 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem71 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem72 = new DevComponents.DotNetBar.ButtonItem();
     this.labelX3 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
     this.labelX5 = new DevComponents.DotNetBar.LabelX();
     this.integerInput1 = new DevComponents.Editors.IntegerInput();
     this.labelX4 = new DevComponents.DotNetBar.LabelX();
     this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
     this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem();
     this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
     this.itemPanel2 = new DevComponents.DotNetBar.ItemPanel();
     this.buttonItem77 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem73 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem74 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem75 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem76 = new DevComponents.DotNetBar.ButtonItem();
     this.labelX6 = new DevComponents.DotNetBar.LabelX();
     this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem();
     this.buttonItem61 = new DevComponents.DotNetBar.ButtonItem();
     this.AppCommandSave = new DevComponents.DotNetBar.Command(this.components);
     this.buttonItem63 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem64 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem65 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem66 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonSave = new DevComponents.DotNetBar.ButtonItem();
     this.buttonUndo = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem47 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem48 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem49 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem17 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonStyleMetro = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem62 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonStyleOffice2007Black = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem60 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem16 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonStyleCustom = new DevComponents.DotNetBar.ColorPickerDropDown();
     this.RibbonStateCommand = new DevComponents.DotNetBar.Command(this.components);
     this.menuFileContainer = new DevComponents.DotNetBar.ItemContainer();
     this.menuFileTwoColumnContainer = new DevComponents.DotNetBar.ItemContainer();
     this.menuFileItems = new DevComponents.DotNetBar.ItemContainer();
     this.buttonItem20 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem21 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonFileSaveAs = new DevComponents.DotNetBar.ButtonItem();
     this.itemContainer12 = new DevComponents.DotNetBar.ItemContainer();
     this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
     this.buttonItem56 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem57 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem58 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem59 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem23 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem24 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem25 = new DevComponents.DotNetBar.ButtonItem();
     this.menuFileMRU = new DevComponents.DotNetBar.ItemContainer();
     this.labelItem8 = new DevComponents.DotNetBar.LabelItem();
     this.buttonItem26 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem27 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem28 = new DevComponents.DotNetBar.ButtonItem();
     this.buttonItem29 = new DevComponents.DotNetBar.ButtonItem();
     this.menuFileBottomContainer = new DevComponents.DotNetBar.ItemContainer();
     this.buttonOptions = new DevComponents.DotNetBar.ButtonItem();
     this.buttonExit = new DevComponents.DotNetBar.ButtonItem();
     this.progressBarTimer = new System.Windows.Forms.Timer(this.components);
     this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components);
     this.grpBoxTree = new System.Windows.Forms.GroupBox();
     this.treeView1 = new System.Windows.Forms.TreeView();
     this.imageList = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.ribbonControl1.SuspendLayout();
     this.ribPnlContext.SuspendLayout();
     this.ribPnlWrite.SuspendLayout();
     this.ribPnlLayout.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
     this.superTabControl1.SuspendLayout();
     this.superTabControlPanel1.SuspendLayout();
     this.panelEx2.SuspendLayout();
     this.panelEx1.SuspendLayout();
     this.superTabControlPanel2.SuspendLayout();
     this.superTabControlPanel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit();
     this.superTabControlPanel4.SuspendLayout();
     this.grpBoxTree.SuspendLayout();
     this.SuspendLayout();
     //
     // mdiClient1
     //
     this.mdiClient1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mdiClient1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mdiClient1.Location = new System.Drawing.Point(5, 148);
     this.mdiClient1.Name = "mdiClient1";
     this.mdiClient1.Size = new System.Drawing.Size(958, 452);
     this.mdiClient1.TabIndex = 5;
     //
     // bar1
     //
     this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)";
     this.bar1.AccessibleName = "DotNetBar Bar";
     this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.StatusBar;
     this.bar1.AntiAlias = true;
     this.bar1.BarType = DevComponents.DotNetBar.eBarType.StatusBar;
     this.bar1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.bar1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.ResizeHandle;
     this.bar1.IsMaximized = false;
     this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainer9,
     this.labelStatus,
     this.progressBarItem1,
     this.itemContainer13});
     this.bar1.ItemSpacing = 2;
     this.bar1.Location = new System.Drawing.Point(5, 600);
     this.bar1.Name = "bar1";
     this.bar1.PaddingBottom = 0;
     this.bar1.PaddingTop = 0;
     this.bar1.Size = new System.Drawing.Size(958, 28);
     this.bar1.Stretch = true;
     this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex = 7;
     this.bar1.TabStop = false;
     this.bar1.Text = "barStatus";
     //
     // itemContainer9
     //
     //
     //
     //
     this.itemContainer9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer9.BeginGroup = true;
     this.itemContainer9.Name = "itemContainer9";
     this.itemContainer9.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnText,
     this.btnNavigation});
     //
     //
     //
     this.itemContainer9.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // btnText
     //
     this.btnText.Enabled = false;
     this.btnText.EnableMarkup = false;
     this.btnText.FontBold = true;
     this.btnText.ForeColor = System.Drawing.Color.Black;
     this.btnText.ImagePaddingVertical = 9;
     this.btnText.Name = "btnText";
     this.btnText.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
     this.btnText.RibbonWordWrap = false;
     this.btnText.ShowSubItems = false;
     this.btnText.StopPulseOnMouseOver = false;
     this.btnText.SymbolSize = 10F;
     this.btnText.Text = "当前位置:";
     //
     // btnNavigation
     //
     this.btnNavigation.Enabled = false;
     this.btnNavigation.FontBold = true;
     this.btnNavigation.ImagePaddingVertical = 9;
     this.btnNavigation.Name = "btnNavigation";
     this.btnNavigation.PopupAnimation = DevComponents.DotNetBar.ePopupAnimation.None;
     this.btnNavigation.SymbolSize = 10F;
     this.btnNavigation.Tooltip = "Comments";
     //
     // labelStatus
     //
     this.labelStatus.Name = "labelStatus";
     this.labelStatus.PaddingLeft = 2;
     this.labelStatus.PaddingRight = 2;
     this.labelStatus.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.labelStatus.Stretch = true;
     //
     // progressBarItem1
     //
     //
     //
     //
     this.progressBarItem1.BackStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.progressBarItem1.ChunkGradientAngle = 0F;
     this.progressBarItem1.MenuVisibility = DevComponents.DotNetBar.eMenuVisibility.VisibleAlways;
     this.progressBarItem1.Name = "progressBarItem1";
     this.progressBarItem1.RecentlyUsed = false;
     //
     // itemContainer13
     //
     //
     //
     //
     this.itemContainer13.BackgroundStyle.Class = "Office2007StatusBarBackground2";
     this.itemContainer13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer13.Name = "itemContainer13";
     this.itemContainer13.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelPosition});
     //
     //
     //
     this.itemContainer13.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelPosition
     //
     this.labelPosition.Name = "labelPosition";
     this.labelPosition.PaddingLeft = 2;
     this.labelPosition.PaddingRight = 2;
     this.labelPosition.SingleLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.labelPosition.Width = 100;
     //
     // ribbonControl1
     //
     this.ribbonControl1.BackColor = System.Drawing.SystemColors.Control;
     this.ribbonControl1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ribbonControl1.BackgroundImage")));
     //
     //
     //
     this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribbonControl1.CaptionVisible = true;
     this.ribbonControl1.Controls.Add(this.ribPnlContext);
     this.ribbonControl1.Controls.Add(this.ribPnlWrite);
     this.ribbonControl1.Controls.Add(this.ribPnlLayout);
     this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
     this.ribbonControl1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ribbonControl1.ForeColor = System.Drawing.Color.Black;
     this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.ribTabPrjManage,
     this.ribTabMainDevice,
     this.ribTagMainLoop,
     this.buttonChangeStyle});
     this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ribbonControl1.Location = new System.Drawing.Point(5, 1);
     this.ribbonControl1.Name = "ribbonControl1";
     this.ribbonControl1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3);
     this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonFile,
     this.buttonSave,
     this.buttonUndo});
     this.ribbonControl1.RibbonStripFont = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ribbonControl1.Size = new System.Drawing.Size(958, 147);
     this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribbonControl1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon";
     this.ribbonControl1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon";
     this.ribbonControl1.SystemText.QatAddItemText = "&Add to Quick Access Toolbar";
     this.ribbonControl1.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>";
     this.ribbonControl1.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar...";
     this.ribbonControl1.SystemText.QatDialogAddButton = "&Add >>";
     this.ribbonControl1.SystemText.QatDialogCancelButton = "Cancel";
     this.ribbonControl1.SystemText.QatDialogCaption = "Customize Quick Access Toolbar";
     this.ribbonControl1.SystemText.QatDialogCategoriesLabel = "&Choose commands from:";
     this.ribbonControl1.SystemText.QatDialogOkButton = "OK";
     this.ribbonControl1.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon";
     this.ribbonControl1.SystemText.QatDialogRemoveButton = "&Remove";
     this.ribbonControl1.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon";
     this.ribbonControl1.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon";
     this.ribbonControl1.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar";
     this.ribbonControl1.TabGroupHeight = 14;
     this.ribbonControl1.TabIndex = 8;
     //
     // ribPnlContext
     //
     this.ribPnlContext.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribPnlContext.Controls.Add(this.ribGrpMainLoop);
     this.ribPnlContext.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ribPnlContext.Location = new System.Drawing.Point(0, 58);
     this.ribPnlContext.Name = "ribPnlContext";
     this.ribPnlContext.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
     this.ribPnlContext.Size = new System.Drawing.Size(958, 86);
     //
     //
     //
     this.ribPnlContext.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlContext.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlContext.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribPnlContext.TabIndex = 4;
     //
     // ribGrpMainLoop
     //
     this.ribGrpMainLoop.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribGrpMainLoop.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribGrpMainLoop.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribGrpMainLoop.ContainerControlProcessDialogKey = true;
     this.ribGrpMainLoop.DragDropSupport = true;
     this.ribGrpMainLoop.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ribGrpMainLoop.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnParamIn4MainLoop,
     this.btnCalc4MainLoop,
     this.btnProcess4MainLoop});
     this.ribGrpMainLoop.Location = new System.Drawing.Point(3, 0);
     this.ribGrpMainLoop.Name = "ribGrpMainLoop";
     this.ribGrpMainLoop.Size = new System.Drawing.Size(189, 89);
     this.ribGrpMainLoop.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribGrpMainLoop.TabIndex = 0;
     this.ribGrpMainLoop.Text = "主回路状态计算";
     //
     //
     //
     this.ribGrpMainLoop.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribGrpMainLoop.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // btnParamIn4MainLoop
     //
     this.btnParamIn4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnParamIn4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnParamIn4MainLoop.Image")));
     this.btnParamIn4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnParamIn4MainLoop.Name = "btnParamIn4MainLoop";
     this.btnParamIn4MainLoop.RibbonWordWrap = false;
     this.btnParamIn4MainLoop.Text = "参数录入";
     //
     // btnCalc4MainLoop
     //
     this.btnCalc4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnCalc4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnCalc4MainLoop.Image")));
     this.btnCalc4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnCalc4MainLoop.Name = "btnCalc4MainLoop";
     this.btnCalc4MainLoop.RibbonWordWrap = false;
     this.btnCalc4MainLoop.Text = "工况计算";
     //
     // btnProcess4MainLoop
     //
     this.btnProcess4MainLoop.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnProcess4MainLoop.Image = ((System.Drawing.Image)(resources.GetObject("btnProcess4MainLoop.Image")));
     this.btnProcess4MainLoop.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnProcess4MainLoop.Name = "btnProcess4MainLoop";
     this.btnProcess4MainLoop.RibbonWordWrap = false;
     this.btnProcess4MainLoop.Text = "结果处理";
     //
     // ribPnlWrite
     //
     this.ribPnlWrite.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribPnlWrite.Controls.Add(this.ribTagParagraph);
     this.ribPnlWrite.Controls.Add(this.ribTagFont);
     this.ribPnlWrite.Controls.Add(this.ribTagClipboard);
     this.ribPnlWrite.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ribPnlWrite.Location = new System.Drawing.Point(0, 58);
     this.ribPnlWrite.Name = "ribPnlWrite";
     this.ribPnlWrite.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
     this.ribPnlWrite.Size = new System.Drawing.Size(958, 86);
     //
     //
     //
     this.ribPnlWrite.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlWrite.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlWrite.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribPnlWrite.TabIndex = 1;
     this.ribPnlWrite.Visible = false;
     //
     // ribTagParagraph
     //
     this.ribTagParagraph.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribTagParagraph.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagParagraph.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagParagraph.ContainerControlProcessDialogKey = true;
     this.ribTagParagraph.DialogLauncherVisible = true;
     this.ribTagParagraph.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribTagParagraph.DragDropSupport = true;
     this.ribTagParagraph.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainerParagrapg1,
     this.itemContainerParagrapg3});
     this.ribTagParagraph.Location = new System.Drawing.Point(242, 0);
     this.ribTagParagraph.Name = "ribTagParagraph";
     this.ribTagParagraph.Size = new System.Drawing.Size(203, 83);
     this.ribTagParagraph.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribTagParagraph.TabIndex = 2;
     this.ribTagParagraph.Text = "&Paragraph";
     //
     //
     //
     this.ribTagParagraph.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagParagraph.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagParagraph.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
     this.ribTagParagraph.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog);
     //
     // itemContainerParagrapg1
     //
     //
     //
     //
     this.itemContainerParagrapg1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg1.ItemSpacing = 3;
     this.itemContainerParagrapg1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainerParagrapg1.Name = "itemContainerParagrapg1";
     this.itemContainerParagrapg1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainerParagrapg2,
     this.itemContainerParagrapg4});
     //
     //
     //
     this.itemContainerParagrapg1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg1.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
     //
     // itemContainerParagrapg2
     //
     //
     //
     //
     this.itemContainerParagrapg2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg2.BeginGroup = true;
     this.itemContainerParagrapg2.Name = "itemContainerParagrapg2";
     this.itemContainerParagrapg2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonAlignLeft,
     this.buttonAlignCenter,
     this.buttonAlignRight,
     this.buttonAlignJustify});
     //
     //
     //
     this.itemContainerParagrapg2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonAlignLeft
     //
     this.buttonAlignLeft.Enabled = false;
     this.buttonAlignLeft.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignLeft.Image")));
     this.buttonAlignLeft.Name = "buttonAlignLeft";
     this.buttonAlignLeft.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlL);
     this.buttonAlignLeft.Text = "Align &Left";
     //
     // buttonAlignCenter
     //
     this.buttonAlignCenter.Enabled = false;
     this.buttonAlignCenter.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignCenter.Image")));
     this.buttonAlignCenter.Name = "buttonAlignCenter";
     this.buttonAlignCenter.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlE);
     this.buttonAlignCenter.Text = "Align &Center";
     //
     // buttonAlignRight
     //
     this.buttonAlignRight.Enabled = false;
     this.buttonAlignRight.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignRight.Image")));
     this.buttonAlignRight.Name = "buttonAlignRight";
     this.buttonAlignRight.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlR);
     this.buttonAlignRight.Text = "Align &Right";
     //
     // buttonAlignJustify
     //
     this.buttonAlignJustify.Enabled = false;
     this.buttonAlignJustify.Image = ((System.Drawing.Image)(resources.GetObject("buttonAlignJustify.Image")));
     this.buttonAlignJustify.Name = "buttonAlignJustify";
     this.buttonAlignJustify.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlJ);
     this.buttonAlignJustify.Text = "&Justify";
     //
     // itemContainerParagrapg4
     //
     //
     //
     //
     this.itemContainerParagrapg4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg4.BeginGroup = true;
     this.itemContainerParagrapg4.Name = "itemContainerParagrapg4";
     this.itemContainerParagrapg4.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnSeqNumber,
     this.btnGrade,
     this.btnToRigth,
     this.btnToLeft});
     //
     //
     //
     this.itemContainerParagrapg4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // btnSeqNumber
     //
     this.btnSeqNumber.Image = ((System.Drawing.Image)(resources.GetObject("btnSeqNumber.Image")));
     this.btnSeqNumber.Name = "btnSeqNumber";
     this.btnSeqNumber.Text = "&Numbered Bullets";
     //
     // btnGrade
     //
     this.btnGrade.Image = ((System.Drawing.Image)(resources.GetObject("btnGrade.Image")));
     this.btnGrade.Name = "btnGrade";
     this.btnGrade.Text = "&Bullets";
     //
     // btnToRigth
     //
     this.btnToRigth.Image = ((System.Drawing.Image)(resources.GetObject("btnToRigth.Image")));
     this.btnToRigth.Name = "btnToRigth";
     this.btnToRigth.Text = "&Indent";
     //
     // btnToLeft
     //
     this.btnToLeft.Image = ((System.Drawing.Image)(resources.GetObject("btnToLeft.Image")));
     this.btnToLeft.Name = "btnToLeft";
     this.btnToLeft.Text = "&Outdent";
     //
     // itemContainerParagrapg3
     //
     //
     //
     //
     this.itemContainerParagrapg3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg3.ItemSpacing = 3;
     this.itemContainerParagrapg3.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainerParagrapg3.Name = "itemContainerParagrapg3";
     this.itemContainerParagrapg3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnBorders,
     this.btnShading});
     //
     //
     //
     this.itemContainerParagrapg3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerParagrapg3.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
     //
     // btnBorders
     //
     this.btnBorders.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnBorders.Image = ((System.Drawing.Image)(resources.GetObject("btnBorders.Image")));
     this.btnBorders.Name = "btnBorders";
     this.btnBorders.NotificationMarkText = "4";
     this.btnBorders.Text = "&Borders";
     this.btnBorders.Click += new System.EventHandler(this.buttonItem6_Click);
     //
     // btnShading
     //
     this.btnShading.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnShading.Image = ((System.Drawing.Image)(resources.GetObject("btnShading.Image")));
     this.btnShading.Name = "btnShading";
     this.btnShading.Text = "&Shading";
     //
     // ribTagFont
     //
     this.ribTagFont.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribTagFont.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagFont.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagFont.ContainerControlProcessDialogKey = true;
     this.ribTagFont.DialogLauncherVisible = true;
     this.ribTagFont.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribTagFont.DragDropSupport = true;
     this.ribTagFont.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainerFont1,
     this.itemContainerFont2});
     this.ribTagFont.ItemSpacing = 5;
     this.ribTagFont.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.ribTagFont.Location = new System.Drawing.Point(76, 0);
     this.ribTagFont.Name = "ribTagFont";
     this.ribTagFont.ResizeItemsToFit = false;
     this.ribTagFont.Size = new System.Drawing.Size(166, 83);
     this.ribTagFont.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribTagFont.TabIndex = 1;
     this.ribTagFont.Text = "F&ont";
     //
     //
     //
     this.ribTagFont.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagFont.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagFont.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle;
     this.ribTagFont.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog);
     //
     // itemContainerFont1
     //
     //
     //
     //
     this.itemContainerFont1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerFont1.Name = "itemContainerFont1";
     this.itemContainerFont1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.comboFont,
     this.comboFontSize});
     //
     //
     //
     this.itemContainerFont1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // comboFont
     //
     this.comboFont.ComboWidth = 96;
     this.comboFont.DropDownHeight = 106;
     this.comboFont.DropDownWidth = 242;
     this.comboFont.Enabled = false;
     this.comboFont.FontCombo = true;
     this.comboFont.ItemHeight = 14;
     this.comboFont.Name = "comboFont";
     //
     // comboFontSize
     //
     this.comboFontSize.ComboWidth = 40;
     this.comboFontSize.DropDownHeight = 106;
     this.comboFontSize.ItemHeight = 16;
     this.comboFontSize.Items.AddRange(new object[] {
     this.comboItem1,
     this.comboItem2,
     this.comboItem3,
     this.comboItem4,
     this.comboItem5});
     this.comboFontSize.Name = "comboFontSize";
     //
     // comboItem1
     //
     this.comboItem1.Text = "6";
     //
     // comboItem2
     //
     this.comboItem2.Text = "7";
     //
     // comboItem3
     //
     this.comboItem3.Text = "8";
     //
     // comboItem4
     //
     this.comboItem4.Text = "9";
     //
     // comboItem5
     //
     this.comboItem5.Text = "10";
     //
     // itemContainerFont2
     //
     //
     //
     //
     this.itemContainerFont2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerFont2.BeginGroup = true;
     this.itemContainerFont2.Name = "itemContainerFont2";
     this.itemContainerFont2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonFontBold,
     this.buttonFontItalic,
     this.buttonFontUnderline,
     this.buttonFontStrike,
     this.buttonTextColor});
     //
     //
     //
     this.itemContainerFont2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonFontBold
     //
     this.buttonFontBold.Enabled = false;
     this.buttonFontBold.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontBold.Image")));
     this.buttonFontBold.Name = "buttonFontBold";
     this.buttonFontBold.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlB);
     this.buttonFontBold.Text = "&Bold";
     //
     // buttonFontItalic
     //
     this.buttonFontItalic.Enabled = false;
     this.buttonFontItalic.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontItalic.Image")));
     this.buttonFontItalic.Name = "buttonFontItalic";
     this.buttonFontItalic.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlI);
     this.buttonFontItalic.Text = "&Italic";
     //
     // buttonFontUnderline
     //
     this.buttonFontUnderline.Enabled = false;
     this.buttonFontUnderline.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontUnderline.Image")));
     this.buttonFontUnderline.Name = "buttonFontUnderline";
     this.buttonFontUnderline.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlU);
     this.buttonFontUnderline.Text = "&Underline";
     //
     // buttonFontStrike
     //
     this.buttonFontStrike.Enabled = false;
     this.buttonFontStrike.Image = ((System.Drawing.Image)(resources.GetObject("buttonFontStrike.Image")));
     this.buttonFontStrike.Name = "buttonFontStrike";
     this.buttonFontStrike.Text = "&Strike";
     //
     // buttonTextColor
     //
     this.buttonTextColor.Enabled = false;
     this.buttonTextColor.Image = ((System.Drawing.Image)(resources.GetObject("buttonTextColor.Image")));
     this.buttonTextColor.Name = "buttonTextColor";
     this.buttonTextColor.SelectedColorImageRectangle = new System.Drawing.Rectangle(0, 13, 16, 3);
     this.buttonTextColor.Text = "Text &Color";
     //
     // ribTagClipboard
     //
     this.ribTagClipboard.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribTagClipboard.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagClipboard.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagClipboard.ContainerControlProcessDialogKey = true;
     this.ribTagClipboard.DialogLauncherVisible = true;
     this.ribTagClipboard.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribTagClipboard.DragDropSupport = true;
     this.ribTagClipboard.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonPaste,
     this.itemContainerClipboard});
     this.ribTagClipboard.Location = new System.Drawing.Point(3, 0);
     this.ribTagClipboard.Name = "ribTagClipboard";
     this.ribTagClipboard.Size = new System.Drawing.Size(73, 83);
     this.ribTagClipboard.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribTagClipboard.TabIndex = 0;
     this.ribTagClipboard.Text = "&Clipboard";
     //
     //
     //
     this.ribTagClipboard.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagClipboard.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagClipboard.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog);
     //
     // buttonPaste
     //
     this.buttonPaste.Image = ((System.Drawing.Image)(resources.GetObject("buttonPaste.Image")));
     this.buttonPaste.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonPaste.Name = "buttonPaste";
     this.buttonPaste.SplitButton = true;
     this.buttonPaste.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem53,
     this.btnPasteSpecial});
     this.buttonPaste.Text = "&Paste";
     //
     // buttonItem53
     //
     this.buttonItem53.Enabled = false;
     this.buttonItem53.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem53.Image")));
     this.buttonItem53.Name = "buttonItem53";
     this.buttonItem53.Text = "&Paste";
     //
     // btnPasteSpecial
     //
     this.btnPasteSpecial.Image = ((System.Drawing.Image)(resources.GetObject("btnPasteSpecial.Image")));
     this.btnPasteSpecial.Name = "btnPasteSpecial";
     this.btnPasteSpecial.Text = "Paste &Special...";
     //
     // itemContainerClipboard
     //
     //
     //
     //
     this.itemContainerClipboard.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerClipboard.ItemSpacing = 0;
     this.itemContainerClipboard.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainerClipboard.Name = "itemContainerClipboard";
     this.itemContainerClipboard.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonCut,
     this.btnFormat});
     //
     //
     //
     this.itemContainerClipboard.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonCut
     //
     this.buttonCut.Enabled = false;
     this.buttonCut.Image = ((System.Drawing.Image)(resources.GetObject("buttonCut.Image")));
     this.buttonCut.Name = "buttonCut";
     this.buttonCut.Text = "Cu&t";
     //
     // btnFormat
     //
     this.btnFormat.Image = ((System.Drawing.Image)(resources.GetObject("btnFormat.Image")));
     this.btnFormat.Name = "btnFormat";
     this.btnFormat.Text = "Format Painter";
     //
     // ribPnlLayout
     //
     this.ribPnlLayout.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribPnlLayout.Controls.Add(this.ribBarOptions);
     this.ribPnlLayout.Controls.Add(this.ribBarFind);
     this.ribPnlLayout.Controls.Add(this.ribTagPageSetup);
     this.ribPnlLayout.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ribPnlLayout.Location = new System.Drawing.Point(0, 58);
     this.ribPnlLayout.Name = "ribPnlLayout";
     this.ribPnlLayout.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
     this.ribPnlLayout.Size = new System.Drawing.Size(958, 86);
     //
     //
     //
     this.ribPnlLayout.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlLayout.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribPnlLayout.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribPnlLayout.TabIndex = 3;
     this.ribPnlLayout.Visible = false;
     //
     // ribBarOptions
     //
     this.ribBarOptions.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribBarOptions.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribBarOptions.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribBarOptions.ContainerControlProcessDialogKey = true;
     this.ribBarOptions.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribBarOptions.DragDropSupport = true;
     this.ribBarOptions.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainerOptions1,
     this.itemContainer1Options2});
     this.ribBarOptions.ItemSpacing = 4;
     this.ribBarOptions.Location = new System.Drawing.Point(375, 0);
     this.ribBarOptions.Name = "ribBarOptions";
     this.ribBarOptions.Size = new System.Drawing.Size(200, 83);
     this.ribBarOptions.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribBarOptions.TabIndex = 4;
     this.ribBarOptions.Text = "Options";
     //
     //
     //
     this.ribBarOptions.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribBarOptions.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // itemContainerOptions1
     //
     //
     //
     //
     this.itemContainerOptions1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerOptions1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainerOptions1.Name = "itemContainerOptions1";
     this.itemContainerOptions1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.checkBoxItem1,
     this.checkBoxItem3});
     //
     //
     //
     this.itemContainerOptions1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // checkBoxItem1
     //
     this.checkBoxItem1.Checked = true;
     this.checkBoxItem1.CheckState = System.Windows.Forms.CheckState.Indeterminate;
     this.checkBoxItem1.Name = "checkBoxItem1";
     this.checkBoxItem1.Text = "Header";
     this.checkBoxItem1.ThreeState = true;
     //
     // checkBoxItem3
     //
     this.checkBoxItem3.Checked = true;
     this.checkBoxItem3.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxItem3.Name = "checkBoxItem3";
     this.checkBoxItem3.Text = "Margins";
     //
     // itemContainer1Options2
     //
     //
     //
     //
     this.itemContainer1Options2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer1Options2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainer1Options2.Name = "itemContainer1Options2";
     this.itemContainer1Options2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.checkBoxItem4,
     this.checkBoxItem6});
     //
     //
     //
     this.itemContainer1Options2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // checkBoxItem4
     //
     this.checkBoxItem4.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
     this.checkBoxItem4.Name = "checkBoxItem4";
     this.checkBoxItem4.Text = "Horizontal Layout";
     //
     // checkBoxItem6
     //
     this.checkBoxItem6.CheckBoxStyle = DevComponents.DotNetBar.eCheckBoxStyle.RadioButton;
     this.checkBoxItem6.Checked = true;
     this.checkBoxItem6.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBoxItem6.Name = "checkBoxItem6";
     this.checkBoxItem6.Text = "Automatic Layout";
     //
     // ribBarFind
     //
     this.ribBarFind.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribBarFind.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribBarFind.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribBarFind.ContainerControlProcessDialogKey = true;
     this.ribBarFind.DialogLauncherVisible = true;
     this.ribBarFind.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribBarFind.DragDropSupport = true;
     this.ribBarFind.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonFind,
     this.itemContainerFind});
     this.ribBarFind.Location = new System.Drawing.Point(231, 0);
     this.ribBarFind.Name = "ribBarFind";
     this.ribBarFind.Size = new System.Drawing.Size(144, 83);
     this.ribBarFind.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribBarFind.TabIndex = 3;
     this.ribBarFind.Text = "Fi&nd";
     //
     //
     //
     this.ribBarFind.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribBarFind.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribBarFind.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog);
     //
     // buttonFind
     //
     this.buttonFind.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonFind.Enabled = false;
     this.buttonFind.Image = ((System.Drawing.Image)(resources.GetObject("buttonFind.Image")));
     this.buttonFind.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonFind.Name = "buttonFind";
     this.buttonFind.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlF);
     this.buttonFind.Text = "&Find";
     //
     // itemContainerFind
     //
     //
     //
     //
     this.itemContainerFind.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainerFind.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainerFind.Name = "itemContainerFind";
     this.itemContainerFind.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonReplace,
     this.buttonGoto});
     //
     //
     //
     this.itemContainerFind.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonReplace
     //
     this.buttonReplace.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonReplace.Enabled = false;
     this.buttonReplace.Image = ((System.Drawing.Image)(resources.GetObject("buttonReplace.Image")));
     this.buttonReplace.Name = "buttonReplace";
     this.buttonReplace.Text = "&Replace";
     //
     // buttonGoto
     //
     this.buttonGoto.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonGoto.Enabled = false;
     this.buttonGoto.Image = ((System.Drawing.Image)(resources.GetObject("buttonGoto.Image")));
     this.buttonGoto.Name = "buttonGoto";
     this.buttonGoto.Text = "&Goto";
     //
     // ribTagPageSetup
     //
     this.ribTagPageSetup.AutoOverflowEnabled = true;
     //
     //
     //
     this.ribTagPageSetup.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagPageSetup.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagPageSetup.ContainerControlProcessDialogKey = true;
     this.ribTagPageSetup.DialogLauncherVisible = true;
     this.ribTagPageSetup.Dock = System.Windows.Forms.DockStyle.Left;
     this.ribTagPageSetup.DragDropSupport = true;
     this.ribTagPageSetup.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonMargins,
     this.btnOrientation,
     this.btnSize,
     this.btnPrintArea});
     this.ribTagPageSetup.Location = new System.Drawing.Point(3, 0);
     this.ribTagPageSetup.Name = "ribTagPageSetup";
     this.ribTagPageSetup.Size = new System.Drawing.Size(228, 83);
     this.ribTagPageSetup.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.ribTagPageSetup.TabIndex = 1;
     this.ribTagPageSetup.Text = "Page Setup";
     //
     //
     //
     this.ribTagPageSetup.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     //
     //
     this.ribTagPageSetup.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.ribTagPageSetup.LaunchDialog += new System.EventHandler(this.LaunchRibbonDialog);
     //
     // buttonMargins
     //
     this.buttonMargins.Image = ((System.Drawing.Image)(resources.GetObject("buttonMargins.Image")));
     this.buttonMargins.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonMargins.Name = "buttonMargins";
     this.buttonMargins.Text = "Margins";
     //
     // btnOrientation
     //
     this.btnOrientation.AutoExpandOnClick = true;
     this.btnOrientation.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnOrientation.Image = ((System.Drawing.Image)(resources.GetObject("btnOrientation.Image")));
     this.btnOrientation.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnOrientation.Name = "btnOrientation";
     this.btnOrientation.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.btnAuto,
     this.btnHorizontal,
     this.btnVertical});
     this.btnOrientation.Text = "Orientation <expand/>";
     //
     // btnAuto
     //
     this.btnAuto.Checked = true;
     this.btnAuto.Name = "btnAuto";
     this.btnAuto.OptionGroup = "orientation";
     this.btnAuto.Text = "Auto";
     //
     // btnHorizontal
     //
     this.btnHorizontal.Name = "btnHorizontal";
     this.btnHorizontal.OptionGroup = "orientation";
     this.btnHorizontal.Text = "Horizontal";
     //
     // btnVertical
     //
     this.btnVertical.Name = "btnVertical";
     this.btnVertical.OptionGroup = "orientation";
     this.btnVertical.Text = "Vertical";
     //
     // btnSize
     //
     this.btnSize.Image = ((System.Drawing.Image)(resources.GetObject("btnSize.Image")));
     this.btnSize.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnSize.Name = "btnSize";
     this.btnSize.Text = "Size";
     //
     // btnPrintArea
     //
     this.btnPrintArea.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.btnPrintArea.Image = ((System.Drawing.Image)(resources.GetObject("btnPrintArea.Image")));
     this.btnPrintArea.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.btnPrintArea.Name = "btnPrintArea";
     this.btnPrintArea.Text = "Print Area";
     //
     // ribTabPrjManage
     //
     this.ribTabPrjManage.Name = "ribTabPrjManage";
     this.ribTabPrjManage.Panel = this.ribPnlWrite;
     this.ribTabPrjManage.Text = "工程管理";
     //
     // ribTabMainDevice
     //
     this.ribTabMainDevice.Name = "ribTabMainDevice";
     this.ribTabMainDevice.Panel = this.ribPnlLayout;
     this.ribTabMainDevice.Text = "主设备参数选择";
     //
     // ribTagMainLoop
     //
     this.ribTagMainLoop.Checked = true;
     this.ribTagMainLoop.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Orange;
     this.ribTagMainLoop.Name = "ribTagMainLoop";
     this.ribTagMainLoop.Panel = this.ribPnlContext;
     this.ribTagMainLoop.Text = "主回路状态计算";
     //
     // buttonChangeStyle
     //
     this.buttonChangeStyle.AutoExpandOnClick = true;
     this.buttonChangeStyle.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far;
     this.buttonChangeStyle.Name = "buttonChangeStyle";
     this.buttonChangeStyle.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonStyleOffice2007Blue,
     this.buttonStyleOffice2007Silver});
     this.buttonChangeStyle.Text = "Style";
     //
     // buttonStyleOffice2007Blue
     //
     this.buttonStyleOffice2007Blue.Command = this.AppCommandTheme;
     this.buttonStyleOffice2007Blue.CommandParameter = "Office2007Blue";
     this.buttonStyleOffice2007Blue.Name = "buttonStyleOffice2007Blue";
     this.buttonStyleOffice2007Blue.OptionGroup = "style";
     this.buttonStyleOffice2007Blue.Text = "Office 2007 <font color=\"Blue\"><b>Blue</b></font>";
     //
     // AppCommandTheme
     //
     this.AppCommandTheme.Name = "AppCommandTheme";
     this.AppCommandTheme.Executed += new System.EventHandler(this.AppCommandTheme_Executed);
     //
     // buttonStyleOffice2007Silver
     //
     this.buttonStyleOffice2007Silver.Command = this.AppCommandTheme;
     this.buttonStyleOffice2007Silver.CommandParameter = "Office2007Silver";
     this.buttonStyleOffice2007Silver.Name = "buttonStyleOffice2007Silver";
     this.buttonStyleOffice2007Silver.OptionGroup = "style";
     this.buttonStyleOffice2007Silver.Text = "Office 2007 <font color=\"Silver\"><b>Silver</b></font>";
     //
     // buttonFile
     //
     this.buttonFile.BackstageTab = this.superTabControl1;
     this.buttonFile.CanCustomize = false;
     this.buttonFile.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image;
     this.buttonFile.Image = ((System.Drawing.Image)(resources.GetObject("buttonFile.Image")));
     this.buttonFile.ImagePaddingHorizontal = 2;
     this.buttonFile.ImagePaddingVertical = 2;
     this.buttonFile.Name = "buttonFile";
     this.buttonFile.ShowSubItems = false;
     this.buttonFile.Text = "&FILE";
     //
     // superTabControl1
     //
     this.superTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.superTabControl1.BackColor = System.Drawing.Color.White;
     //
     //
     //
     //
     //
     //
     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.ControlBox.Visible = false;
     this.superTabControl1.Controls.Add(this.superTabControlPanel1);
     this.superTabControl1.Controls.Add(this.superTabControlPanel2);
     this.superTabControl1.Controls.Add(this.superTabControlPanel3);
     this.superTabControl1.Controls.Add(this.superTabControlPanel4);
     this.superTabControl1.ForeColor = System.Drawing.Color.Black;
     this.superTabControl1.ItemPadding.Left = 6;
     this.superTabControl1.ItemPadding.Right = 4;
     this.superTabControl1.ItemPadding.Top = 4;
     this.superTabControl1.Location = new System.Drawing.Point(6, 47);
     this.superTabControl1.Name = "superTabControl1";
     this.superTabControl1.ReorderTabsEnabled = false;
     this.superTabControl1.SelectedTabFont = new System.Drawing.Font("Segoe UI", 9.75F);
     this.superTabControl1.SelectedTabIndex = 0;
     this.superTabControl1.Size = new System.Drawing.Size(958, 578);
     this.superTabControl1.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Left;
     this.superTabControl1.TabFont = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.superTabControl1.TabHorizontalSpacing = 16;
     this.superTabControl1.TabIndex = 14;
     this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem61,
     this.buttonItem63,
     this.buttonItem64,
     this.superTabItem1,
     this.superTabItem2,
     this.superTabItem3,
     this.superTabItem4,
     this.buttonItem65,
     this.buttonItem66});
     this.superTabControl1.TabVerticalSpacing = 8;
     //
     // superTabControlPanel1
     //
     this.superTabControlPanel1.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel1.Controls.Add(this.panelEx2);
     this.superTabControlPanel1.Controls.Add(this.panelEx1);
     this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel1.Location = new System.Drawing.Point(236, 0);
     this.superTabControlPanel1.Name = "superTabControlPanel1";
     this.superTabControlPanel1.Size = new System.Drawing.Size(722, 578);
     this.superTabControlPanel1.TabIndex = 1;
     this.superTabControlPanel1.TabItem = this.superTabItem1;
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx2.Controls.Add(this.recentPlacesItemsPanel);
     this.panelEx2.Controls.Add(this.labelX2);
     this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panelEx2.Location = new System.Drawing.Point(314, 0);
     this.panelEx2.Name = "panelEx2";
     this.panelEx2.Padding = new System.Windows.Forms.Padding(12);
     this.panelEx2.Size = new System.Drawing.Size(408, 578);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.Color = System.Drawing.Color.Transparent;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex = 1;
     this.panelEx2.Text = "panelEx2";
     //
     // recentPlacesItemsPanel
     //
     this.recentPlacesItemsPanel.AutoScroll = true;
     //
     //
     //
     this.recentPlacesItemsPanel.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.recentPlacesItemsPanel.ContainerControlProcessDialogKey = true;
     this.recentPlacesItemsPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.recentPlacesItemsPanel.DragDropSupport = true;
     this.recentPlacesItemsPanel.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.recentPlacesItemsPanel.Location = new System.Drawing.Point(12, 35);
     this.recentPlacesItemsPanel.Name = "recentPlacesItemsPanel";
     this.recentPlacesItemsPanel.Size = new System.Drawing.Size(384, 531);
     this.recentPlacesItemsPanel.TabIndex = 2;
     //
     // labelX2
     //
     //
     //
     //
     this.labelX2.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX2.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX2.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX2.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX2.ForeColor = System.Drawing.Color.DimGray;
     this.labelX2.Location = new System.Drawing.Point(12, 12);
     this.labelX2.Name = "labelX2";
     this.labelX2.Size = new System.Drawing.Size(384, 23);
     this.labelX2.TabIndex = 0;
     this.labelX2.Text = "Recent Places";
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx1.Controls.Add(this.recentDocsItemPane);
     this.panelEx1.Controls.Add(this.labelX1);
     this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelEx1.Dock = System.Windows.Forms.DockStyle.Left;
     this.panelEx1.Location = new System.Drawing.Point(0, 0);
     this.panelEx1.Name = "panelEx1";
     this.panelEx1.Padding = new System.Windows.Forms.Padding(12);
     this.panelEx1.Size = new System.Drawing.Size(314, 578);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx1.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Right;
     this.panelEx1.Style.GradientAngle = 90;
     this.panelEx1.TabIndex = 0;
     this.panelEx1.Text = "panelEx1";
     //
     // recentDocsItemPane
     //
     this.recentDocsItemPane.AutoScroll = true;
     //
     //
     //
     this.recentDocsItemPane.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.recentDocsItemPane.ContainerControlProcessDialogKey = true;
     this.recentDocsItemPane.Dock = System.Windows.Forms.DockStyle.Fill;
     this.recentDocsItemPane.DragDropSupport = true;
     this.recentDocsItemPane.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.recentDocsItemPane.Location = new System.Drawing.Point(12, 35);
     this.recentDocsItemPane.Name = "recentDocsItemPane";
     this.recentDocsItemPane.Size = new System.Drawing.Size(290, 531);
     this.recentDocsItemPane.TabIndex = 1;
     //
     // labelX1
     //
     //
     //
     //
     this.labelX1.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX1.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX1.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX1.ForeColor = System.Drawing.Color.DimGray;
     this.labelX1.Location = new System.Drawing.Point(12, 12);
     this.labelX1.Name = "labelX1";
     this.labelX1.Size = new System.Drawing.Size(290, 23);
     this.labelX1.TabIndex = 0;
     this.labelX1.Text = "Recent Documents";
     //
     // superTabItem1
     //
     this.superTabItem1.AttachedControl = this.superTabControlPanel1;
     this.superTabItem1.GlobalItem = false;
     this.superTabItem1.KeyTips = "R";
     this.superTabItem1.Name = "superTabItem1";
     this.superTabItem1.Text = "Recent";
     //
     // superTabControlPanel2
     //
     this.superTabControlPanel2.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel2.Controls.Add(this.itemPanel1);
     this.superTabControlPanel2.Controls.Add(this.labelX3);
     this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel2.Location = new System.Drawing.Point(236, 0);
     this.superTabControlPanel2.Name = "superTabControlPanel2";
     this.superTabControlPanel2.Padding = new System.Windows.Forms.Padding(12);
     this.superTabControlPanel2.Size = new System.Drawing.Size(722, 578);
     this.superTabControlPanel2.TabIndex = 2;
     this.superTabControlPanel2.TabItem = this.superTabItem2;
     //
     // itemPanel1
     //
     this.itemPanel1.AutoScroll = true;
     this.itemPanel1.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.itemPanel1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemPanel1.ContainerControlProcessDialogKey = true;
     this.itemPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPanel1.DragDropSupport = true;
     this.itemPanel1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem67,
     this.buttonItem68,
     this.buttonItem69,
     this.buttonItem70,
     this.buttonItem71,
     this.buttonItem72});
     this.itemPanel1.Location = new System.Drawing.Point(12, 35);
     this.itemPanel1.MultiLine = true;
     this.itemPanel1.Name = "itemPanel1";
     this.itemPanel1.Size = new System.Drawing.Size(698, 531);
     this.itemPanel1.TabIndex = 3;
     //
     // buttonItem67
     //
     this.buttonItem67.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem67.ForeColor = System.Drawing.Color.Black;
     this.buttonItem67.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem67.Image")));
     this.buttonItem67.ImagePaddingVertical = 12;
     this.buttonItem67.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem67.Name = "buttonItem67";
     this.buttonItem67.Text = "<span align=\"center\">Blank<br/>document</span>";
     //
     // buttonItem68
     //
     this.buttonItem68.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem68.ForeColor = System.Drawing.Color.Black;
     this.buttonItem68.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem68.Image")));
     this.buttonItem68.ImagePaddingVertical = 12;
     this.buttonItem68.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem68.Name = "buttonItem68";
     this.buttonItem68.Text = "Blog post";
     //
     // buttonItem69
     //
     this.buttonItem69.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem69.ForeColor = System.Drawing.Color.Black;
     this.buttonItem69.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem69.Image")));
     this.buttonItem69.ImagePaddingHorizontal = 12;
     this.buttonItem69.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem69.Name = "buttonItem69";
     this.buttonItem69.Text = "<span align=\"center\">Recent<br/>templates</span>";
     //
     // buttonItem70
     //
     this.buttonItem70.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem70.ForeColor = System.Drawing.Color.Black;
     this.buttonItem70.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem70.Image")));
     this.buttonItem70.ImagePaddingHorizontal = 12;
     this.buttonItem70.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem70.Name = "buttonItem70";
     this.buttonItem70.Text = "<span align=\"center\">Sample<br/>templates</span>";
     //
     // buttonItem71
     //
     this.buttonItem71.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem71.ForeColor = System.Drawing.Color.Black;
     this.buttonItem71.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem71.Image")));
     this.buttonItem71.ImagePaddingHorizontal = 12;
     this.buttonItem71.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem71.Name = "buttonItem71";
     this.buttonItem71.Text = "My templates";
     //
     // buttonItem72
     //
     this.buttonItem72.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem72.ForeColor = System.Drawing.Color.Black;
     this.buttonItem72.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem72.Image")));
     this.buttonItem72.ImagePaddingHorizontal = 12;
     this.buttonItem72.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonItem72.Name = "buttonItem72";
     this.buttonItem72.Text = "<span align=\"center\">New from<br/>existing</span>";
     //
     // labelX3
     //
     this.labelX3.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX3.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX3.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX3.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX3.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX3.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX3.ForeColor = System.Drawing.Color.DimGray;
     this.labelX3.Location = new System.Drawing.Point(12, 12);
     this.labelX3.Name = "labelX3";
     this.labelX3.Size = new System.Drawing.Size(698, 23);
     this.labelX3.TabIndex = 1;
     this.labelX3.Text = "Available Templates";
     //
     // superTabItem2
     //
     this.superTabItem2.AttachedControl = this.superTabControlPanel2;
     this.superTabItem2.GlobalItem = false;
     this.superTabItem2.KeyTips = "N";
     this.superTabItem2.Name = "superTabItem2";
     this.superTabItem2.Text = "New";
     //
     // superTabControlPanel3
     //
     this.superTabControlPanel3.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel3.Controls.Add(this.panelEx3);
     this.superTabControlPanel3.Controls.Add(this.labelX5);
     this.superTabControlPanel3.Controls.Add(this.integerInput1);
     this.superTabControlPanel3.Controls.Add(this.labelX4);
     this.superTabControlPanel3.Controls.Add(this.buttonX1);
     this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel3.Location = new System.Drawing.Point(236, 0);
     this.superTabControlPanel3.Name = "superTabControlPanel3";
     this.superTabControlPanel3.Size = new System.Drawing.Size(722, 578);
     this.superTabControlPanel3.TabIndex = 3;
     this.superTabControlPanel3.TabItem = this.superTabItem3;
     //
     // panelEx3
     //
     this.panelEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control;
     this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty;
     this.panelEx3.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panelEx3.Location = new System.Drawing.Point(292, 4);
     this.panelEx3.Name = "panelEx3";
     this.panelEx3.Size = new System.Drawing.Size(427, 571);
     this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx3.Style.BackColor1.Color = System.Drawing.Color.White;
     this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx3.Style.BorderColor.Color = System.Drawing.Color.Silver;
     this.panelEx3.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
     this.panelEx3.Style.ForeColor.Color = System.Drawing.Color.Gray;
     this.panelEx3.Style.GradientAngle = 90;
     this.panelEx3.TabIndex = 5;
     this.panelEx3.Text = "Print Preview Goes Here...";
     //
     // labelX5
     //
     this.labelX5.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX5.ForeColor = System.Drawing.Color.Black;
     this.labelX5.Location = new System.Drawing.Point(143, 54);
     this.labelX5.Name = "labelX5";
     this.labelX5.Size = new System.Drawing.Size(48, 19);
     this.labelX5.TabIndex = 4;
     this.labelX5.Text = "Copies:";
     //
     // integerInput1
     //
     //
     //
     //
     this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground";
     this.integerInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.integerInput1.Location = new System.Drawing.Point(198, 53);
     this.integerInput1.Name = "integerInput1";
     this.integerInput1.ShowUpDown = true;
     this.integerInput1.Size = new System.Drawing.Size(66, 22);
     this.integerInput1.TabIndex = 3;
     this.integerInput1.Value = 1;
     //
     // labelX4
     //
     this.labelX4.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX4.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX4.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX4.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX4.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX4.ForeColor = System.Drawing.Color.DimGray;
     this.labelX4.Location = new System.Drawing.Point(144, 16);
     this.labelX4.Name = "labelX4";
     this.labelX4.Size = new System.Drawing.Size(120, 23);
     this.labelX4.TabIndex = 2;
     this.labelX4.Text = "Print";
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.Office2007WithBackground;
     this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image")));
     this.buttonX1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
     this.buttonX1.Location = new System.Drawing.Point(21, 21);
     this.buttonX1.Name = "buttonX1";
     this.buttonX1.Size = new System.Drawing.Size(109, 101);
     this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonX1.TabIndex = 0;
     this.buttonX1.Text = "Print";
     //
     // superTabItem3
     //
     this.superTabItem3.AttachedControl = this.superTabControlPanel3;
     this.superTabItem3.GlobalItem = false;
     this.superTabItem3.KeyTips = "P";
     this.superTabItem3.Name = "superTabItem3";
     this.superTabItem3.Text = "Print";
     //
     // superTabControlPanel4
     //
     this.superTabControlPanel4.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.BottomRight;
     this.superTabControlPanel4.Controls.Add(this.itemPanel2);
     this.superTabControlPanel4.Controls.Add(this.labelX6);
     this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.superTabControlPanel4.Location = new System.Drawing.Point(236, 0);
     this.superTabControlPanel4.Name = "superTabControlPanel4";
     this.superTabControlPanel4.Padding = new System.Windows.Forms.Padding(12);
     this.superTabControlPanel4.Size = new System.Drawing.Size(722, 578);
     this.superTabControlPanel4.TabIndex = 4;
     this.superTabControlPanel4.TabItem = this.superTabItem4;
     //
     // itemPanel2
     //
     this.itemPanel2.AutoScroll = true;
     this.itemPanel2.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.itemPanel2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemPanel2.ContainerControlProcessDialogKey = true;
     this.itemPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.itemPanel2.DragDropSupport = true;
     this.itemPanel2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem77,
     this.buttonItem73,
     this.buttonItem74,
     this.buttonItem75,
     this.buttonItem76});
     this.itemPanel2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemPanel2.Location = new System.Drawing.Point(12, 35);
     this.itemPanel2.Name = "itemPanel2";
     this.itemPanel2.Size = new System.Drawing.Size(698, 531);
     this.itemPanel2.TabIndex = 3;
     //
     // buttonItem77
     //
     this.buttonItem77.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem77.CommandParameter = "http://www.devcomponents.com/kb/questions.php?questionid=127";
     this.buttonItem77.ForeColor = System.Drawing.Color.Black;
     this.buttonItem77.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem77.Image")));
     this.buttonItem77.Name = "buttonItem77";
     this.buttonItem77.Text = "Backstage<br/>\r\n<font color=\"Gray\">How to build Office 2010 style Backstage with " +
     "DotNetBar</font>";
     //
     // buttonItem73
     //
     this.buttonItem73.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem73.CommandParameter = "http://www.devcomponents.com/kb/";
     this.buttonItem73.ForeColor = System.Drawing.Color.Black;
     this.buttonItem73.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem73.Image")));
     this.buttonItem73.Name = "buttonItem73";
     this.buttonItem73.Text = "DotNetBar Knowledge Base<br/>\r\n<font color=\"Gray\">Browse our online Knowledge Bas" +
     "e.</font>";
     //
     // buttonItem74
     //
     this.buttonItem74.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem74.CommandParameter = "http://www.devcomponents.com/dotnetbar/movies.aspx";
     this.buttonItem74.ForeColor = System.Drawing.Color.Black;
     this.buttonItem74.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem74.Image")));
     this.buttonItem74.Name = "buttonItem74";
     this.buttonItem74.Text = "Movie Tutorials<br/>\r\n<font color=\"Gray\">Watch getting started online movie tutor" +
     "ials</font>";
     //
     // buttonItem75
     //
     this.buttonItem75.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem75.CommandParameter = "http://www.devcomponents.com/support.aspx";
     this.buttonItem75.ForeColor = System.Drawing.Color.Black;
     this.buttonItem75.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem75.Image")));
     this.buttonItem75.Name = "buttonItem75";
     this.buttonItem75.Text = "Contact Us<br/>\r\n<font color=\"Gray\">Let us know if you need help or how we can ma" +
     "ke DotNetBar even better.</font>";
     //
     // buttonItem76
     //
     this.buttonItem76.BeginGroup = true;
     this.buttonItem76.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem76.CommandParameter = "http://www.devcomponents.com/dotnetbar/applicationgallery/";
     this.buttonItem76.ForeColor = System.Drawing.Color.Black;
     this.buttonItem76.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem76.Image")));
     this.buttonItem76.Name = "buttonItem76";
     this.buttonItem76.Text = "Application Gallery<br/>\r\n<font color=\"Gray\">See how other developers are using D" +
     "otNetBar in our application gallery</font>";
     //
     // labelX6
     //
     this.labelX6.BackColor = System.Drawing.Color.Transparent;
     //
     //
     //
     this.labelX6.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Dash;
     this.labelX6.BackgroundStyle.BorderBottomColor = System.Drawing.Color.Gray;
     this.labelX6.BackgroundStyle.BorderBottomWidth = 1;
     this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX6.Dock = System.Windows.Forms.DockStyle.Top;
     this.labelX6.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelX6.ForeColor = System.Drawing.Color.DimGray;
     this.labelX6.Location = new System.Drawing.Point(12, 12);
     this.labelX6.Name = "labelX6";
     this.labelX6.Size = new System.Drawing.Size(698, 23);
     this.labelX6.TabIndex = 2;
     this.labelX6.Text = "Support";
     //
     // superTabItem4
     //
     this.superTabItem4.AttachedControl = this.superTabControlPanel4;
     this.superTabItem4.GlobalItem = false;
     this.superTabItem4.KeyTips = "H";
     this.superTabItem4.Name = "superTabItem4";
     this.superTabItem4.Text = "Help";
     //
     // buttonItem61
     //
     this.buttonItem61.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem61.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem61.Command = this.AppCommandSave;
     this.buttonItem61.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem61.Image")));
     this.buttonItem61.ImagePaddingHorizontal = 18;
     this.buttonItem61.ImagePaddingVertical = 10;
     this.buttonItem61.KeyTips = "S";
     this.buttonItem61.Name = "buttonItem61";
     this.buttonItem61.Stretch = true;
     this.buttonItem61.Text = "Save";
     //
     // AppCommandSave
     //
     this.AppCommandSave.Name = "AppCommandSave";
     //
     // buttonItem63
     //
     this.buttonItem63.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem63.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem63.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem63.Image")));
     this.buttonItem63.ImagePaddingHorizontal = 18;
     this.buttonItem63.ImagePaddingVertical = 10;
     this.buttonItem63.KeyTips = "O";
     this.buttonItem63.Name = "buttonItem63";
     this.buttonItem63.Stretch = true;
     this.buttonItem63.Text = "Open";
     //
     // buttonItem64
     //
     this.buttonItem64.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem64.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem64.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem64.Image")));
     this.buttonItem64.ImagePaddingHorizontal = 18;
     this.buttonItem64.ImagePaddingVertical = 10;
     this.buttonItem64.KeyTips = "C";
     this.buttonItem64.Name = "buttonItem64";
     this.buttonItem64.Stretch = true;
     this.buttonItem64.Text = "Close";
     //
     // buttonItem65
     //
     this.buttonItem65.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem65.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem65.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem65.Image")));
     this.buttonItem65.ImagePaddingHorizontal = 18;
     this.buttonItem65.ImagePaddingVertical = 10;
     this.buttonItem65.KeyTips = "T";
     this.buttonItem65.Name = "buttonItem65";
     this.buttonItem65.Stretch = true;
     this.buttonItem65.Text = "Options";
     //
     // buttonItem66
     //
     this.buttonItem66.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem66.ColorTable = DevComponents.DotNetBar.eButtonColor.Blue;
     this.buttonItem66.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem66.Image")));
     this.buttonItem66.ImagePaddingHorizontal = 18;
     this.buttonItem66.ImagePaddingVertical = 10;
     this.buttonItem66.KeyTips = "X";
     this.buttonItem66.Name = "buttonItem66";
     this.buttonItem66.Stretch = true;
     this.buttonItem66.Text = "Exit";
     //
     // buttonSave
     //
     this.buttonSave.Command = this.AppCommandSave;
     this.buttonSave.Enabled = false;
     this.buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("buttonSave.Image")));
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.Text = "buttonItem2";
     //
     // buttonUndo
     //
     this.buttonUndo.Enabled = false;
     this.buttonUndo.Name = "buttonUndo";
     this.buttonUndo.Text = "Undo";
     //
     // buttonItem47
     //
     this.buttonItem47.BeginGroup = true;
     this.buttonItem47.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem47.Image")));
     this.buttonItem47.Name = "buttonItem47";
     this.buttonItem47.Text = "Search for Templates Online...";
     //
     // buttonItem48
     //
     this.buttonItem48.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem48.Image")));
     this.buttonItem48.Name = "buttonItem48";
     this.buttonItem48.Text = "Browse for Templates...";
     //
     // buttonItem49
     //
     this.buttonItem49.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem49.Image")));
     this.buttonItem49.Name = "buttonItem49";
     this.buttonItem49.Text = "Save Current Template...";
     //
     // buttonItem17
     //
     this.buttonItem17.Name = "buttonItem17";
     //
     // buttonStyleMetro
     //
     this.buttonStyleMetro.Name = "buttonStyleMetro";
     //
     // buttonItem62
     //
     this.buttonItem62.Name = "buttonItem62";
     //
     // buttonStyleOffice2007Black
     //
     this.buttonStyleOffice2007Black.Command = this.AppCommandTheme;
     this.buttonStyleOffice2007Black.CommandParameter = "Office2007Black";
     this.buttonStyleOffice2007Black.Name = "buttonStyleOffice2007Black";
     this.buttonStyleOffice2007Black.OptionGroup = "style";
     this.buttonStyleOffice2007Black.Text = "Office 2007 <font color=\"black\"><b>Black</b></font>";
     //
     // buttonItem60
     //
     this.buttonItem60.Name = "buttonItem60";
     //
     // buttonItem16
     //
     this.buttonItem16.Name = "buttonItem16";
     //
     // buttonStyleCustom
     //
     this.buttonStyleCustom.BeginGroup = true;
     this.buttonStyleCustom.Command = this.AppCommandTheme;
     this.buttonStyleCustom.Name = "buttonStyleCustom";
     this.buttonStyleCustom.Text = "Custom scheme";
     this.buttonStyleCustom.Tooltip = "Custom color scheme is created based on currently selected color table. Try selec" +
     "ting Silver or Blue color table and then creating custom color scheme.";
     this.buttonStyleCustom.SelectedColorChanged += new System.EventHandler(this.buttonStyleCustom_SelectedColorChanged);
     this.buttonStyleCustom.ColorPreview += new DevComponents.DotNetBar.ColorPreviewEventHandler(this.buttonStyleCustom_ColorPreview);
     this.buttonStyleCustom.ExpandChange += new System.EventHandler(this.buttonStyleCustom_ExpandChange);
     //
     // RibbonStateCommand
     //
     this.RibbonStateCommand.Name = "RibbonStateCommand";
     this.RibbonStateCommand.Executed += new System.EventHandler(this.RibbonStateCommand_Executed);
     //
     // menuFileContainer
     //
     //
     //
     //
     this.menuFileContainer.BackgroundStyle.Class = "RibbonFileMenuContainer";
     this.menuFileContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileContainer.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileContainer.Name = "menuFileContainer";
     this.menuFileContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.menuFileTwoColumnContainer,
     this.menuFileBottomContainer});
     //
     //
     //
     this.menuFileContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // menuFileTwoColumnContainer
     //
     //
     //
     //
     this.menuFileTwoColumnContainer.BackgroundStyle.Class = "RibbonFileMenuTwoColumnContainer";
     this.menuFileTwoColumnContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingBottom = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingLeft = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingRight = 2;
     this.menuFileTwoColumnContainer.BackgroundStyle.PaddingTop = 2;
     this.menuFileTwoColumnContainer.ItemSpacing = 0;
     this.menuFileTwoColumnContainer.Name = "menuFileTwoColumnContainer";
     this.menuFileTwoColumnContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.menuFileItems,
     this.menuFileMRU});
     //
     //
     //
     this.menuFileTwoColumnContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // menuFileItems
     //
     //
     //
     //
     this.menuFileItems.BackgroundStyle.Class = "RibbonFileMenuColumnOneContainer";
     this.menuFileItems.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileItems.ItemSpacing = 5;
     this.menuFileItems.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileItems.MinimumSize = new System.Drawing.Size(120, 0);
     this.menuFileItems.Name = "menuFileItems";
     this.menuFileItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonItem20,
     this.buttonItem21,
     this.buttonFileSaveAs,
     this.buttonItem23,
     this.buttonItem24,
     this.buttonItem25});
     //
     //
     //
     this.menuFileItems.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonItem20
     //
     this.buttonItem20.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem20.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem20.Image")));
     this.buttonItem20.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonItem20.ImageSmall")));
     this.buttonItem20.Name = "buttonItem20";
     this.buttonItem20.SubItemsExpandWidth = 24;
     this.buttonItem20.Text = "&New";
     //
     // buttonItem21
     //
     this.buttonItem21.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem21.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem21.Image")));
     this.buttonItem21.Name = "buttonItem21";
     this.buttonItem21.SubItemsExpandWidth = 24;
     this.buttonItem21.Text = "&Open...";
     //
     // buttonFileSaveAs
     //
     this.buttonFileSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonFileSaveAs.Image = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.Image")));
     this.buttonFileSaveAs.ImageSmall = ((System.Drawing.Image)(resources.GetObject("buttonFileSaveAs.ImageSmall")));
     this.buttonFileSaveAs.Name = "buttonFileSaveAs";
     this.buttonFileSaveAs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.itemContainer12});
     this.buttonFileSaveAs.SubItemsExpandWidth = 24;
     this.buttonFileSaveAs.Text = "&Save As...";
     //
     // itemContainer12
     //
     //
     //
     //
     this.itemContainer12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.itemContainer12.ItemSpacing = 4;
     this.itemContainer12.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.itemContainer12.MinimumSize = new System.Drawing.Size(210, 256);
     this.itemContainer12.Name = "itemContainer12";
     this.itemContainer12.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelItem1,
     this.buttonItem56,
     this.buttonItem57,
     this.buttonItem58,
     this.buttonItem59});
     //
     //
     //
     this.itemContainer12.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelItem1
     //
     this.labelItem1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.labelItem1.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.Etched;
     this.labelItem1.Name = "labelItem1";
     this.labelItem1.PaddingBottom = 5;
     this.labelItem1.PaddingLeft = 5;
     this.labelItem1.PaddingRight = 5;
     this.labelItem1.PaddingTop = 5;
     this.labelItem1.Text = "<b>Save a copy of the document</b>";
     //
     // buttonItem56
     //
     this.buttonItem56.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem56.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem56.Image")));
     this.buttonItem56.Name = "buttonItem56";
     this.buttonItem56.Text = "<b>&Rich Text Document</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save the document " +
     "in the default file format.</div>";
     //
     // buttonItem57
     //
     this.buttonItem57.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem57.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem57.Image")));
     this.buttonItem57.Name = "buttonItem57";
     this.buttonItem57.Text = "<b>Document &Template</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Save as a template " +
     "that can be used to format future documents.</div>";
     //
     // buttonItem58
     //
     this.buttonItem58.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem58.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem58.Image")));
     this.buttonItem58.Name = "buttonItem58";
     this.buttonItem58.Text = "<b>&Find add-ins for other formats</b>\r\n<div padding=\"0,0,4,0\" width=\"180\">Learn " +
     "about add-ins to save to other formats such as PDF or XPS.</div>";
     //
     // buttonItem59
     //
     this.buttonItem59.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem59.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem59.Image")));
     this.buttonItem59.Name = "buttonItem59";
     this.buttonItem59.Text = "<b>&Other Formats</b>\r\n<div padding=\"0,0,4,0\" width=\"170\">Open the Save As dialog" +
     " box to select from all possible file types.</div>";
     //
     // buttonItem23
     //
     this.buttonItem23.BeginGroup = true;
     this.buttonItem23.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem23.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem23.Image")));
     this.buttonItem23.Name = "buttonItem23";
     this.buttonItem23.SubItemsExpandWidth = 24;
     this.buttonItem23.Text = "S&hare...";
     //
     // buttonItem24
     //
     this.buttonItem24.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem24.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem24.Image")));
     this.buttonItem24.Name = "buttonItem24";
     this.buttonItem24.SubItemsExpandWidth = 24;
     this.buttonItem24.Text = "&Print...";
     //
     // buttonItem25
     //
     this.buttonItem25.BeginGroup = true;
     this.buttonItem25.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonItem25.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem25.Image")));
     this.buttonItem25.Name = "buttonItem25";
     this.buttonItem25.SubItemsExpandWidth = 24;
     this.buttonItem25.Text = "&Close";
     //
     // menuFileMRU
     //
     //
     //
     //
     this.menuFileMRU.BackgroundStyle.Class = "RibbonFileMenuColumnTwoContainer";
     this.menuFileMRU.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileMRU.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
     this.menuFileMRU.MinimumSize = new System.Drawing.Size(225, 0);
     this.menuFileMRU.Name = "menuFileMRU";
     this.menuFileMRU.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.labelItem8,
     this.buttonItem26,
     this.buttonItem27,
     this.buttonItem28,
     this.buttonItem29});
     //
     //
     //
     this.menuFileMRU.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // labelItem8
     //
     this.labelItem8.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom;
     this.labelItem8.BorderType = DevComponents.DotNetBar.eBorderType.Etched;
     this.labelItem8.Name = "labelItem8";
     this.labelItem8.PaddingBottom = 2;
     this.labelItem8.PaddingTop = 2;
     this.labelItem8.Stretch = true;
     this.labelItem8.Text = "Recent Documents";
     //
     // buttonItem26
     //
     this.buttonItem26.Name = "buttonItem26";
     this.buttonItem26.Text = "&1. Short News 5-7.rtf";
     //
     // buttonItem27
     //
     this.buttonItem27.Name = "buttonItem27";
     this.buttonItem27.Text = "&2. Prospect Email.rtf";
     //
     // buttonItem28
     //
     this.buttonItem28.Name = "buttonItem28";
     this.buttonItem28.Text = "&3. Customer Email.rtf";
     //
     // buttonItem29
     //
     this.buttonItem29.Name = "buttonItem29";
     this.buttonItem29.Text = "&4. example.rtf";
     //
     // menuFileBottomContainer
     //
     //
     //
     //
     this.menuFileBottomContainer.BackgroundStyle.Class = "RibbonFileMenuBottomContainer";
     this.menuFileBottomContainer.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.menuFileBottomContainer.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Right;
     this.menuFileBottomContainer.Name = "menuFileBottomContainer";
     this.menuFileBottomContainer.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
     this.buttonOptions,
     this.buttonExit});
     //
     //
     //
     this.menuFileBottomContainer.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     //
     // buttonOptions
     //
     this.buttonOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonOptions.Image = ((System.Drawing.Image)(resources.GetObject("buttonOptions.Image")));
     this.buttonOptions.Name = "buttonOptions";
     this.buttonOptions.SubItemsExpandWidth = 24;
     this.buttonOptions.Text = "RibbonPad Opt&ions";
     //
     // buttonExit
     //
     this.buttonExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
     this.buttonExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonExit.Image = ((System.Drawing.Image)(resources.GetObject("buttonExit.Image")));
     this.buttonExit.Name = "buttonExit";
     this.buttonExit.SubItemsExpandWidth = 24;
     this.buttonExit.Text = "E&xit RibbonPad";
     //
     // progressBarTimer
     //
     this.progressBarTimer.Enabled = true;
     this.progressBarTimer.Interval = 800;
     this.progressBarTimer.Tick += new System.EventHandler(this.progressBarTimer_Tick);
     //
     // styleManager
     //
     this.styleManager.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Silver;
     this.styleManager.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), System.Drawing.Color.FromArgb(((int)(((byte)(1)))), ((int)(((byte)(115)))), ((int)(((byte)(199))))));
     //
     // grpBoxTree
     //
     this.grpBoxTree.Controls.Add(this.treeView1);
     this.grpBoxTree.Location = new System.Drawing.Point(8, 154);
     this.grpBoxTree.Name = "grpBoxTree";
     this.grpBoxTree.Size = new System.Drawing.Size(210, 443);
     this.grpBoxTree.TabIndex = 15;
     this.grpBoxTree.TabStop = false;
     //
     // treeView1
     //
     this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Font = new System.Drawing.Font("Segoe UI", 7.9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView1.ImageIndex = 0;
     this.treeView1.ImageList = this.imageList;
     this.treeView1.Indent = 23;
     this.treeView1.ItemHeight = 18;
     this.treeView1.Location = new System.Drawing.Point(3, 18);
     this.treeView1.Name = "treeView1";
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size = new System.Drawing.Size(204, 422);
     this.treeView1.TabIndex = 0;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // imageList
     //
     this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList.Images.SetKeyName(0, "node.png");
     this.imageList.Images.SetKeyName(1, "leaf.png");
     //
     // frmMain
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
     this.ClientSize = new System.Drawing.Size(968, 630);
     this.Controls.Add(this.grpBoxTree);
     this.Controls.Add(this.superTabControl1);
     this.Controls.Add(this.ribbonControl1);
     this.Controls.Add(this.bar1);
     this.Controls.Add(this.mdiClient1);
     this.EnableGlass = false;
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HelpButton = true;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name = "frmMain";
     this.Text = "DPCP SOFTWAVE";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.ribbonControl1.ResumeLayout(false);
     this.ribbonControl1.PerformLayout();
     this.ribPnlContext.ResumeLayout(false);
     this.ribPnlWrite.ResumeLayout(false);
     this.ribPnlLayout.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
     this.superTabControl1.ResumeLayout(false);
     this.superTabControlPanel1.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx1.ResumeLayout(false);
     this.superTabControlPanel2.ResumeLayout(false);
     this.superTabControlPanel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit();
     this.superTabControlPanel4.ResumeLayout(false);
     this.grpBoxTree.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 38
0
        public ExportClassV2(string title, Image img)
        {
            InitializeComponent();
            _Title = this.Text = title;
            foreach (WizardPage page in wizard1.WizardPages)
            {
                page.PageTitle = _Title;
                if (img != null)
                {
                    Bitmap b = new Bitmap(48, 48);
                    using (Graphics g = Graphics.FromImage(b))
                        g.DrawImage(img, 0, 0, 48, 48);
                    page.PageHeaderImage = b;
                }
            }

            #region 加入進階跟HELP按鈕
            _OptionsContainer = new PanelEx();
            _OptionsContainer.Font = this.Font;
            _OptionsContainer.ColorSchemeStyle = eDotNetBarStyle.Office2007;
            _OptionsContainer.Size = new Size(100, 100);
            _OptionsContainer.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
            _OptionsContainer.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
            _OptionsContainer.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
            _OptionsContainer.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
            _OptionsContainer.Style.GradientAngle = 90;
            _Options = new SmartSchool.API.PlugIn.Collections.OptionCollection();
            _Options.ItemsChanged += new EventHandler(_Options_ItemsChanged);

            advContainer = new ControlContainerItem();
            advContainer.AllowItemResize = false;
            advContainer.GlobalItem = false;
            advContainer.MenuVisibility = eMenuVisibility.VisibleAlways;
            advContainer.Control = _OptionsContainer;

            ItemContainer itemContainer2 = new ItemContainer();
            itemContainer2.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
            itemContainer2.MinimumSize = new System.Drawing.Size(0, 0);
            itemContainer2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
            advContainer});

            advButton = new ButtonX();
            advButton.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
            advButton.Text = "    進階";
            advButton.Top = this.wizard1.Controls[1].Controls[0].Top;
            advButton.Left = 5;
            advButton.Size = this.wizard1.Controls[1].Controls[0].Size;
            advButton.Visible = true;
            advButton.SubItems.Add(itemContainer2);
            advButton.PopupSide = ePopupSide.Top;
            advButton.SplitButton = true;
            advButton.Enabled = false;
            advButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
            advButton.AutoExpandOnClick = true;
            advButton.SubItemsExpandWidth = 16;
            advButton.FadeEffect = false;
            advButton.FocusCuesEnabled = false;
            this.wizard1.Controls[1].Controls.Add(advButton);

            helpButton = new LinkLabel();
            helpButton.AutoSize = true;
            helpButton.BackColor = System.Drawing.Color.Transparent;
            helpButton.Location = new System.Drawing.Point(81, 10);
            helpButton.Size = new System.Drawing.Size(69, 17);
            helpButton.TabStop = true;
            helpButton.Text = "Help";
            //helpButton.Top = this.wizard1.Controls[1].Controls[0].Top + this.wizard1.Controls[1].Controls[0].Height - helpButton.Height;
            //helpButton.Left = 150;
            helpButton.Visible = false;
            helpButton.Click += delegate { if (HelpButtonClick != null)HelpButtonClick(this, new EventArgs()); };
            helpButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
            this.wizard1.Controls[1].Controls.Add(helpButton);
            #endregion

            #region 設定Wizard會跟著Style跑
            //this.wizard1.FooterStyle.ApplyStyle(( GlobalManager.Renderer as Office2007Renderer ).ColorTable.GetClass(ElementStyleClassKeys.RibbonFileMenuBottomContainerKey));
            this.wizard1.HeaderStyle.ApplyStyle((GlobalManager.Renderer as Office2007Renderer).ColorTable.GetClass(ElementStyleClassKeys.RibbonFileMenuBottomContainerKey));
            this.wizard1.FooterStyle.BackColorGradientAngle = -90;
            this.wizard1.FooterStyle.BackColorGradientType = eGradientType.Linear;
            this.wizard1.FooterStyle.BackColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.Start;
            this.wizard1.FooterStyle.BackColor2 = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.End;
            this.wizard1.BackColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TopBackground.Start;
            this.wizard1.BackgroundImage = null;
            for (int i = 0; i < 6; i++)
            {
                (this.wizard1.Controls[1].Controls[i] as ButtonX).ColorTable = eButtonColor.OrangeWithBackground;
            }
            (this.wizard1.Controls[0].Controls[1] as System.Windows.Forms.Label).ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.MouseOver.TitleText;
            (this.wizard1.Controls[0].Controls[2] as System.Windows.Forms.Label).ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.RibbonBar.Default.TitleText;
            #endregion

            this.checkBox1.ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.CheckBoxItem.Default.Text;
            listViewEx1.ForeColor = (GlobalManager.Renderer as Office2007Renderer).ColorTable.CheckBoxItem.Default.Text;

            _CheckAllManager.TargetComboBox = this.checkBox1;
            _CheckAllManager.TargetListView = this.listViewEx1;

            advButton.PopupOpen += delegate { if (ControlPanelOpen != null)ControlPanelOpen(this, new EventArgs()); };
            advButton.PopupClose += delegate { if (ControlPanelClose != null)ControlPanelClose(this, new EventArgs()); };

            _ExportableFields = new SmartSchool.API.PlugIn.Collections.FieldsCollection();
            _SelectedFields = new SmartSchool.API.PlugIn.Collections.FieldsCollection();
            _ExportableFields.ItemsChanged += delegate
            {
                List<string> uncheckItems = new List<string>();
                foreach (ListViewItem item in listViewEx1.Items)
                {
                    if (item != null && item.Checked == false)
                        uncheckItems.Add(item.Text);
                }
                listViewEx1.Items.Clear();

                List<string> newFields = new List<string>(new string[] { "班級系統編號", "班級名稱" });
                //newFields.AddRange(_Process.ExportableFields);
                foreach (string field in _ExportableFields)
                {
                    if (!newFields.Contains(field))
                        newFields.Add(field);
                }
                List<ListViewItem> items = new List<ListViewItem>();
                foreach (string var in newFields)
                {
                    ListViewItem item = new ListViewItem(var);
                    item.Checked = !uncheckItems.Contains(var);
                    items.Add(item);
                }
                listViewEx1.Items.AddRange(items.ToArray());
                listViewEx1_ItemChecked(null, null);
            };
        }
Ejemplo n.º 39
0
 private void InitializeComponent()
 {
     this.panelEx1         = new DevComponents.DotNetBar.PanelEx();
     this.panelEx4         = new DevComponents.DotNetBar.PanelEx();
     this.listValueItem    = new DevComponents.DotNetBar.Controls.ListViewEx();
     this.panelEx2         = new DevComponents.DotNetBar.PanelEx();
     this.labelBackCaption = new DevComponents.DotNetBar.LabelX();
     this.labelX1          = new DevComponents.DotNetBar.LabelX();
     this.maxSizeInput     = new DevComponents.Editors.DoubleInput();
     this.minSizeInput     = new DevComponents.Editors.DoubleInput();
     this.maxValueInput    = new DevComponents.Editors.DoubleInput();
     this.minValueInput    = new DevComponents.Editors.DoubleInput();
     this.cmbField         = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.labelX12         = new DevComponents.DotNetBar.LabelX();
     this.labelX11         = new DevComponents.DotNetBar.LabelX();
     this.labelX10         = new DevComponents.DotNetBar.LabelX();
     this.labelX9          = new DevComponents.DotNetBar.LabelX();
     this.labelPreviewFore = new DevComponents.DotNetBar.LabelX();
     this.levelInput       = new DevComponents.Editors.IntegerInput();
     this.labelX13         = new DevComponents.DotNetBar.LabelX();
     this.labelX8          = new DevComponents.DotNetBar.LabelX();
     this.labelPreviewBack = new DevComponents.DotNetBar.LabelX();
     this.panelEx1.SuspendLayout();
     this.panelEx4.SuspendLayout();
     this.panelEx2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxSizeInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minSizeInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.levelInput)).BeginInit();
     this.SuspendLayout();
     //
     // panelEx1
     //
     this.panelEx1.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx1.Controls.Add(this.panelEx4);
     this.panelEx1.Controls.Add(this.panelEx2);
     this.panelEx1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.panelEx1.Location        = new System.Drawing.Point(0, 0);
     this.panelEx1.Name            = "panelEx1";
     this.panelEx1.Size            = new System.Drawing.Size(465, 370);
     this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     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;
     //
     // panelEx4
     //
     this.panelEx4.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx4.Controls.Add(this.listValueItem);
     this.panelEx4.Location        = new System.Drawing.Point(3, 107);
     this.panelEx4.Name            = "panelEx4";
     this.panelEx4.Size            = new System.Drawing.Size(459, 260);
     this.panelEx4.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx4.Style.BackColor1.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
     this.panelEx4.Style.BackColor2.ColorSchemePart  = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
     this.panelEx4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
     this.panelEx4.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.ItemText;
     this.panelEx4.Style.GradientAngle = 90;
     this.panelEx4.TabIndex            = 49;
     //
     // listValueItem
     //
     //
     //
     //
     this.listValueItem.Border.Class  = "ListViewBorder";
     this.listValueItem.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.listValueItem.FullRowSelect = true;
     this.listValueItem.Location      = new System.Drawing.Point(0, 0);
     this.listValueItem.Name          = "listValueItem";
     this.listValueItem.Size          = new System.Drawing.Size(459, 260);
     this.listValueItem.TabIndex      = 1;
     this.listValueItem.UseCompatibleStateImageBehavior = false;
     this.listValueItem.View              = System.Windows.Forms.View.Details;
     this.listValueItem.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.DoListValueItemMouseDoubleClick);
     //
     // panelEx2
     //
     this.panelEx2.CanvasColor      = System.Drawing.SystemColors.Control;
     this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
     this.panelEx2.Controls.Add(this.labelBackCaption);
     this.panelEx2.Controls.Add(this.labelX1);
     this.panelEx2.Controls.Add(this.maxSizeInput);
     this.panelEx2.Controls.Add(this.minSizeInput);
     this.panelEx2.Controls.Add(this.maxValueInput);
     this.panelEx2.Controls.Add(this.minValueInput);
     this.panelEx2.Controls.Add(this.cmbField);
     this.panelEx2.Controls.Add(this.labelX12);
     this.panelEx2.Controls.Add(this.labelX11);
     this.panelEx2.Controls.Add(this.labelX10);
     this.panelEx2.Controls.Add(this.labelX9);
     this.panelEx2.Controls.Add(this.labelPreviewFore);
     this.panelEx2.Controls.Add(this.levelInput);
     this.panelEx2.Controls.Add(this.labelX13);
     this.panelEx2.Controls.Add(this.labelX8);
     this.panelEx2.Controls.Add(this.labelPreviewBack);
     this.panelEx2.Location        = new System.Drawing.Point(3, 3);
     this.panelEx2.Name            = "panelEx2";
     this.panelEx2.Size            = new System.Drawing.Size(459, 100);
     this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center;
     this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
     this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
     this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
     this.panelEx2.Style.ForeColor.ColorSchemePart   = DevComponents.DotNetBar.eColorSchemePart.PanelText;
     this.panelEx2.Style.GradientAngle = 90;
     this.panelEx2.TabIndex            = 47;
     //
     // labelBackCaption
     //
     this.labelBackCaption.AutoSize  = true;
     this.labelBackCaption.BackColor = System.Drawing.Color.Transparent;
     this.labelBackCaption.Location  = new System.Drawing.Point(346, 59);
     this.labelBackCaption.Name      = "labelBackCaption";
     this.labelBackCaption.Size      = new System.Drawing.Size(19, 31);
     this.labelBackCaption.TabIndex  = 36;
     this.labelBackCaption.Text      = "背\r\n景";
     //
     // labelX1
     //
     this.labelX1.AutoSize  = true;
     this.labelX1.BackColor = System.Drawing.Color.Transparent;
     this.labelX1.Location  = new System.Drawing.Point(346, 13);
     this.labelX1.Name      = "labelX1";
     this.labelX1.Size      = new System.Drawing.Size(19, 31);
     this.labelX1.TabIndex  = 35;
     this.labelX1.Text      = "符\r\n号";
     //
     // maxSizeInput
     //
     //
     //
     //
     this.maxSizeInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.maxSizeInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.maxSizeInput.Increment     = 1;
     this.maxSizeInput.Location      = new System.Drawing.Point(244, 71);
     this.maxSizeInput.MinValue      = 0.01;
     this.maxSizeInput.Name          = "maxSizeInput";
     this.maxSizeInput.Size          = new System.Drawing.Size(90, 21);
     this.maxSizeInput.TabIndex      = 4;
     this.maxSizeInput.Value         = 1;
     this.maxSizeInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // minSizeInput
     //
     //
     //
     //
     this.minSizeInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.minSizeInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.minSizeInput.Increment     = 1;
     this.minSizeInput.Location      = new System.Drawing.Point(244, 41);
     this.minSizeInput.MinValue      = 0.01;
     this.minSizeInput.Name          = "minSizeInput";
     this.minSizeInput.Size          = new System.Drawing.Size(90, 21);
     this.minSizeInput.TabIndex      = 3;
     this.minSizeInput.Value         = 1;
     this.minSizeInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // maxValueInput
     //
     //
     //
     //
     this.maxValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.maxValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.maxValueInput.Increment     = 1;
     this.maxValueInput.Location      = new System.Drawing.Point(56, 71);
     this.maxValueInput.Name          = "maxValueInput";
     this.maxValueInput.Size          = new System.Drawing.Size(112, 21);
     this.maxValueInput.TabIndex      = 3;
     this.maxValueInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // minValueInput
     //
     //
     //
     //
     this.minValueInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.minValueInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.minValueInput.Increment     = 1;
     this.minValueInput.Location      = new System.Drawing.Point(56, 41);
     this.minValueInput.Name          = "minValueInput";
     this.minValueInput.Size          = new System.Drawing.Size(112, 21);
     this.minValueInput.TabIndex      = 2;
     this.minValueInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // cmbField
     //
     this.cmbField.DisplayMember     = "Text";
     this.cmbField.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cmbField.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbField.FormattingEnabled = true;
     this.cmbField.ItemHeight        = 15;
     this.cmbField.Location          = new System.Drawing.Point(56, 10);
     this.cmbField.Name                  = "cmbField";
     this.cmbField.Size                  = new System.Drawing.Size(159, 21);
     this.cmbField.TabIndex              = 2;
     this.cmbField.SelectedIndexChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // labelX12
     //
     this.labelX12.AutoSize = true;
     this.labelX12.Location = new System.Drawing.Point(11, 13);
     this.labelX12.Name     = "labelX12";
     this.labelX12.Size     = new System.Drawing.Size(31, 18);
     this.labelX12.TabIndex = 19;
     this.labelX12.Text     = "字段";
     //
     // labelX11
     //
     this.labelX11.AutoSize = true;
     this.labelX11.Location = new System.Drawing.Point(11, 72);
     this.labelX11.Name     = "labelX11";
     this.labelX11.Size     = new System.Drawing.Size(44, 18);
     this.labelX11.TabIndex = 20;
     this.labelX11.Text     = "最大值";
     //
     // labelX10
     //
     this.labelX10.AutoSize = true;
     this.labelX10.Location = new System.Drawing.Point(11, 43);
     this.labelX10.Name     = "labelX10";
     this.labelX10.Size     = new System.Drawing.Size(44, 18);
     this.labelX10.TabIndex = 21;
     this.labelX10.Text     = "最小值";
     //
     // labelX9
     //
     this.labelX9.AutoSize = true;
     this.labelX9.Location = new System.Drawing.Point(223, 13);
     this.labelX9.Name     = "labelX9";
     this.labelX9.Size     = new System.Drawing.Size(31, 18);
     this.labelX9.TabIndex = 22;
     this.labelX9.Text     = "等级";
     //
     // labelPreviewFore
     //
     this.labelPreviewFore.BackColor = System.Drawing.Color.Transparent;
     this.labelPreviewFore.Location  = new System.Drawing.Point(367, 8);
     this.labelPreviewFore.Name      = "labelPreviewFore";
     this.labelPreviewFore.Size      = new System.Drawing.Size(80, 40);
     this.labelPreviewFore.TabIndex  = 24;
     this.labelPreviewFore.Click    += new System.EventHandler(this.Control_Click);
     //
     // levelInput
     //
     //
     //
     //
     this.levelInput.BackgroundStyle.Class   = "DateTimeInputBackground";
     this.levelInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2;
     this.levelInput.Location      = new System.Drawing.Point(260, 10);
     this.levelInput.MinValue      = 1;
     this.levelInput.Name          = "levelInput";
     this.levelInput.ShowUpDown    = true;
     this.levelInput.Size          = new System.Drawing.Size(51, 21);
     this.levelInput.TabIndex      = 26;
     this.levelInput.Value         = 5;
     this.levelInput.ValueChanged += new System.EventHandler(this.Control_ValueChanged);
     //
     // labelX13
     //
     this.labelX13.AutoSize = true;
     this.labelX13.Location = new System.Drawing.Point(174, 73);
     this.labelX13.Name     = "labelX13";
     this.labelX13.Size     = new System.Drawing.Size(68, 18);
     this.labelX13.TabIndex = 30;
     this.labelX13.Text     = "符号最大值";
     //
     // labelX8
     //
     this.labelX8.AutoSize = true;
     this.labelX8.Location = new System.Drawing.Point(174, 43);
     this.labelX8.Name     = "labelX8";
     this.labelX8.Size     = new System.Drawing.Size(68, 18);
     this.labelX8.TabIndex = 31;
     this.labelX8.Text     = "符号最小值";
     //
     // labelPreviewBack
     //
     this.labelPreviewBack.BackColor = System.Drawing.Color.Transparent;
     this.labelPreviewBack.Location  = new System.Drawing.Point(367, 54);
     this.labelPreviewBack.Name      = "labelPreviewBack";
     this.labelPreviewBack.Size      = new System.Drawing.Size(80, 40);
     this.labelPreviewBack.TabIndex  = 34;
     this.labelPreviewBack.Click    += new System.EventHandler(this.Control_Click);
     //
     // frmBreakSizeRenderer
     //
     this.Controls.Add(this.panelEx1);
     this.Name = "frmBreakSizeRenderer";
     this.Size = new System.Drawing.Size(465, 370);
     this.panelEx1.ResumeLayout(false);
     this.panelEx4.ResumeLayout(false);
     this.panelEx2.ResumeLayout(false);
     this.panelEx2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.maxSizeInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minSizeInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxValueInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.minValueInput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.levelInput)).EndInit();
     this.ResumeLayout(false);
 }