private void labelX_predmet_Click(object sender, System.EventArgs e) { if (_lastTbx != null) { _lastTbx.Dispose(); _lastLabel = null; } }
private void InitializeComponent() { this.lbMessage = new LabelX(); this.btnOK = new ButtonX(); this.lkMail = new System.Windows.Forms.LinkLabel(); base.SuspendLayout(); this.lbMessage.BackColor = System.Drawing.Color.Transparent; this.lbMessage.BackgroundStyle.CornerType = eCornerType.Square; this.lbMessage.Font = new System.Drawing.Font("SimSun", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134); this.lbMessage.ForeColor = System.Drawing.Color.Black; this.lbMessage.Location = new System.Drawing.Point(12, 22); this.lbMessage.Name = "lbMessage"; this.lbMessage.Size = new System.Drawing.Size(371, 133); this.lbMessage.TabIndex = 0; this.lbMessage.Text = "<div>杭州预约挂号辅助软件</div><div> </div><div>软件版本: V1.1.0</div><div></div><div>版权所有:Copyright© 2015 日行一米</div><div></div><div></div><div> </div><div>本软件是免费软件,使用过程中如果什么问题,请发送</div><div>内容到以下邮箱</div>"; this.lbMessage.TextLineAlignment = System.Drawing.StringAlignment.Near; this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnOK.ColorTable = eButtonColor.OrangeWithBackground; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(162, 186); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Style = eDotNetBarStyle.StyleManagerControlled; this.btnOK.TabIndex = 1; this.btnOK.Text = "确定"; this.lkMail.AccessibleRole = System.Windows.Forms.AccessibleRole.Document; this.lkMail.AutoSize = true; this.lkMail.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.lkMail.Font = new System.Drawing.Font("SimSun", 12f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134); this.lkMail.ForeColor = System.Drawing.Color.Black; this.lkMail.LinkColor = System.Drawing.Color.IndianRed; this.lkMail.Location = new System.Drawing.Point(98, 157); this.lkMail.Name = "lkMail"; this.lkMail.Size = new System.Drawing.Size(200, 16); this.lkMail.TabIndex = 2; this.lkMail.TabStop = true; this.lkMail.Text = "*****@*****.**"; this.lkMail.Click += new System.EventHandler(this.lkMail_Click); base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(395, 217); base.Controls.Add(this.lkMail); base.Controls.Add(this.btnOK); base.Controls.Add(this.lbMessage); this.DoubleBuffered = true; base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AboutForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "关于"; base.ResumeLayout(false); base.PerformLayout(); }
public void DoAfterEdit(object newValue, System.Windows.Forms.DialogResult result, string editType) { if (result != System.Windows.Forms.DialogResult.OK) { m_EditObject = null; return; } if (m_EditObject is System.Windows.Forms.ListViewItem.ListViewSubItem) { System.Windows.Forms.ListViewItem.ListViewSubItem subItem = m_EditObject as System.Windows.Forms.ListViewItem.ListViewSubItem; if (subItem.Name.Contains("Range"))//范围编辑 { #region Range //更新当前编辑对象(Range)的值 subItem.Tag = newValue; subItem.Text = subItem.Text.Split('-')[0] + "-" + newValue.ToString(); //更新对应的Label的值 string nameIndex = subItem.Name.Replace("Range", ""); #endregion } else if (subItem.Name.Contains("Label"))//标签编辑 { if (newValue.ToString() != "") { subItem.Tag = newValue; subItem.Text = newValue.ToString(); } } } if (m_EditObject is System.Windows.Forms.ListViewItem) { System.Windows.Forms.ListViewItem item = m_EditObject as System.Windows.Forms.ListViewItem; item.Tag = newValue; ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); item.ImageKey = "Symbol" + item.Index.ToString(); } if (m_EditObject is DevComponents.DotNetBar.LabelX) { DevComponents.DotNetBar.LabelX label = m_EditObject as DevComponents.DotNetBar.LabelX; switch (label.Name) { case "labelPreviewFore": if (label.Image != null) { label.Image.Dispose(); label.Image = null; } label.Tag = newValue; label.Image = ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); //RefreshSymbol(); break; } } m_EditObject = null; }
/// <summary> /// /// </summary> /// <param name="control"></param> /// <param name="text"></param> private void DefineTexto(DevComponents.DotNetBar.LabelX control, string text) { if (control.InvokeRequired) { control.Invoke(new InvokeControle(DefineTexto), new object[] { control, text }); } else { control.Text = text; } }
private void Control_Click(object sender, EventArgs e) { DevDNB.LabelX label = sender as DevDNB.LabelX; switch (label.Name) { case "labelPreviewFore": m_EditObject = label; Form.frmSymbolEdit symbolEdit = new GeoSymbology.Form.frmSymbolEdit(this, label.Tag as ISymbol, ""); symbolEdit.ShowDialog(); break; } }
private void Populate() { if (ComponentSpecification == null) return; Clear(); int maxLabelWidth = 0; LabelX label = new LabelX(); Graphics g = Graphics.FromHwnd(label.Handle); maxLabelWidth = Math.Max(maxLabelWidth, Convert.ToInt32(g.MeasureString("Name", label.Font).Width)); for (int i = 0; i < ComponentSpecification.Ex.Count; i++) { maxLabelWidth = Math.Max(maxLabelWidth, Convert.ToInt32(g.MeasureString(ComponentSpecification.Ex[i].Name, label.Font).Width)); } //maxLabelWidth += 5; int top = 5; TextBox tb = new TextBox(); //tb.BackColor = this.BackColor; //tb.ForeColor = this.ForeColor; tb.Top = top; tb.Left = maxLabelWidth + 5 + 5; tb.Text = ComponentSpecification.Name; this.Controls.Add(tb); tb.TextChanged += new EventHandler(tb_TextChanged); top = Helper.AddLabel("Name", top, maxLabelWidth); this.Controls.Add(virtualPropertyGrid1); virtualPropertyGrid1.BackColor = this.BackColor; virtualPropertyGrid1.ForeColor = this.ForeColor; virtualPropertyGrid1.Top = top; virtualPropertyGrid1.Left = 0; virtualPropertyGrid1.Width = Width; virtualPropertyGrid1.Height = Height - virtualPropertyGrid1.Top; virtualPropertyGrid1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;// | AnchorStyles.Bottom; virtualPropertyGrid1.SetVirtualProperties(ComponentSpecification.Ex); this.Height = virtualPropertyGrid1.Bottom + 50; }
public void DoAfterEdit(object newValue, System.Windows.Forms.DialogResult result, string editType) { if (result != System.Windows.Forms.DialogResult.OK) { m_EditObject = null; return; } if (m_EditObject is System.Windows.Forms.ListViewItem) { System.Windows.Forms.ListViewItem item = m_EditObject as System.Windows.Forms.ListViewItem; item.Tag = newValue; listAddField.SmallImageList.Images.RemoveByKey(item.Name.Replace("Item", "Symbol")); listAddField.SmallImageList.Images.Add(item.Name.Replace("Item", "Symbol"), ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight)); item.ImageKey = item.Name.Replace("Item", "Symbol"); listAddField.Refresh(); } if (m_EditObject is DevComponents.DotNetBar.LabelX) { DevComponents.DotNetBar.LabelX label = m_EditObject as DevComponents.DotNetBar.LabelX; switch (label.Name) { case "labelPreviewBack": if (label.Image != null) { label.Image.Dispose(); label.Image = null; } label.Tag = newValue; label.Image = ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); RefreshSymbol(); break; } } m_EditObject = null; }
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); }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will allow you to add a timer to your rule. <br/> To use the ticker condition simply specify how long the ticker should take to become ready. <br/> The ticker is always ready when starting the bot."; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
public GeneratorParameterDisplayItem(string displayName, LabelX label, TextBox textbox) { DisplayName = displayName; Label = label; Textbox = textbox; }
private void InitializeComponent() { this.btnOK = new ButtonX(); this.btnCancel = new ButtonX(); this.tbSoundPath = new TextBoxX(); this.groupPanel1 = new GroupPanel(); this.labelX1 = new LabelX(); this.groupPanel2 = new GroupPanel(); this.rbExit = new System.Windows.Forms.RadioButton(); this.rbHide = new System.Windows.Forms.RadioButton(); this.btnBrowse = new ButtonX(); this.groupPanel1.SuspendLayout(); this.groupPanel2.SuspendLayout(); base.SuspendLayout(); this.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnOK.ColorTable = eButtonColor.OrangeWithBackground; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(245, 238); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Style = eDotNetBarStyle.StyleManagerControlled; this.btnOK.TabIndex = 0; this.btnOK.Text = "确定"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnCancel.ColorTable = eButtonColor.OrangeWithBackground; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(364, 238); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Style = eDotNetBarStyle.StyleManagerControlled; this.btnCancel.TabIndex = 1; this.btnCancel.Text = "取消"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); this.tbSoundPath.BackColor = System.Drawing.Color.White; this.tbSoundPath.Border.Class = "TextBoxBorder"; this.tbSoundPath.Border.CornerType = eCornerType.Square; this.tbSoundPath.DisabledBackColor = System.Drawing.Color.White; this.tbSoundPath.ForeColor = System.Drawing.Color.Black; this.tbSoundPath.Location = new System.Drawing.Point(83, 9); this.tbSoundPath.Name = "tbSoundPath"; this.tbSoundPath.PreventEnterBeep = true; this.tbSoundPath.ReadOnly = true; this.tbSoundPath.Size = new System.Drawing.Size(297, 21); this.tbSoundPath.TabIndex = 2; this.groupPanel1.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.groupPanel1.CanvasColor = System.Drawing.Color.FromArgb(254, 254, 254); this.groupPanel1.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled; this.groupPanel1.Controls.Add(this.btnBrowse); this.groupPanel1.Controls.Add(this.labelX1); this.groupPanel1.Controls.Add(this.tbSoundPath); this.groupPanel1.DisabledBackColor = System.Drawing.Color.Empty; this.groupPanel1.Location = new System.Drawing.Point(12, 12); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.Size = new System.Drawing.Size(438, 76); this.groupPanel1.Style.BackColor2SchemePart = eColorSchemePart.PanelBackground2; this.groupPanel1.Style.BackColorGradientAngle = 90; this.groupPanel1.Style.BackColorSchemePart = eColorSchemePart.PanelBackground; this.groupPanel1.Style.BorderBottom = eStyleBorderType.Solid; this.groupPanel1.Style.BorderBottomWidth = 1; this.groupPanel1.Style.BorderColorSchemePart = eColorSchemePart.PanelBorder; this.groupPanel1.Style.BorderLeft = eStyleBorderType.Solid; this.groupPanel1.Style.BorderLeftWidth = 1; this.groupPanel1.Style.BorderRight = eStyleBorderType.Solid; this.groupPanel1.Style.BorderRightWidth = 1; this.groupPanel1.Style.BorderTop = eStyleBorderType.Solid; this.groupPanel1.Style.BorderTopWidth = 1; this.groupPanel1.Style.CornerDiameter = 4; this.groupPanel1.Style.CornerType = eCornerType.Rounded; this.groupPanel1.Style.TextColorSchemePart = eColorSchemePart.PanelText; this.groupPanel1.Style.TextLineAlignment = eStyleTextAlignment.Near; this.groupPanel1.StyleMouseDown.CornerType = eCornerType.Square; this.groupPanel1.StyleMouseOver.CornerType = eCornerType.Square; this.groupPanel1.TabIndex = 3; this.groupPanel1.Text = "声音提醒"; this.labelX1.BackColor = System.Drawing.Color.Transparent; this.labelX1.BackgroundStyle.CornerType = eCornerType.Square; this.labelX1.ForeColor = System.Drawing.Color.Black; this.labelX1.Location = new System.Drawing.Point(15, 9); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(68, 23); this.labelX1.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX1.TabIndex = 3; this.labelX1.Text = "声音路径:"; this.groupPanel2.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.groupPanel2.CanvasColor = System.Drawing.Color.FromArgb(254, 254, 254); this.groupPanel2.ColorSchemeStyle = eDotNetBarStyle.StyleManagerControlled; this.groupPanel2.Controls.Add(this.rbHide); this.groupPanel2.Controls.Add(this.rbExit); this.groupPanel2.DisabledBackColor = System.Drawing.Color.Empty; this.groupPanel2.Location = new System.Drawing.Point(12, 102); this.groupPanel2.Name = "groupPanel2"; this.groupPanel2.Size = new System.Drawing.Size(438, 100); this.groupPanel2.Style.BackColor2SchemePart = eColorSchemePart.PanelBackground2; this.groupPanel2.Style.BackColorGradientAngle = 90; this.groupPanel2.Style.BackColorSchemePart = eColorSchemePart.PanelBackground; this.groupPanel2.Style.BorderBottom = eStyleBorderType.Solid; this.groupPanel2.Style.BorderBottomWidth = 1; this.groupPanel2.Style.BorderColorSchemePart = eColorSchemePart.PanelBorder; this.groupPanel2.Style.BorderLeft = eStyleBorderType.Solid; this.groupPanel2.Style.BorderLeftWidth = 1; this.groupPanel2.Style.BorderRight = eStyleBorderType.Solid; this.groupPanel2.Style.BorderRightWidth = 1; this.groupPanel2.Style.BorderTop = eStyleBorderType.Solid; this.groupPanel2.Style.BorderTopWidth = 1; this.groupPanel2.Style.CornerDiameter = 4; this.groupPanel2.Style.CornerType = eCornerType.Rounded; this.groupPanel2.Style.TextColorSchemePart = eColorSchemePart.PanelText; this.groupPanel2.Style.TextLineAlignment = eStyleTextAlignment.Near; this.groupPanel2.StyleMouseDown.CornerType = eCornerType.Square; this.groupPanel2.StyleMouseOver.CornerType = eCornerType.Square; this.groupPanel2.TabIndex = 4; this.groupPanel2.Text = "窗口关闭"; this.rbExit.AutoSize = true; this.rbExit.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.rbExit.ForeColor = System.Drawing.Color.Black; this.rbExit.Location = new System.Drawing.Point(15, 16); this.rbExit.Name = "rbExit"; this.rbExit.Size = new System.Drawing.Size(95, 16); this.rbExit.TabIndex = 0; this.rbExit.Text = "直接退出程序"; this.rbExit.UseVisualStyleBackColor = false; this.rbHide.AutoSize = true; this.rbHide.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.rbHide.Checked = true; this.rbHide.ForeColor = System.Drawing.Color.Black; this.rbHide.Location = new System.Drawing.Point(15, 48); this.rbHide.Name = "rbHide"; this.rbHide.Size = new System.Drawing.Size(83, 16); this.rbHide.TabIndex = 1; this.rbHide.TabStop = true; this.rbHide.Text = "隐藏到托盘"; this.rbHide.UseVisualStyleBackColor = false; this.btnBrowse.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnBrowse.ColorTable = eButtonColor.OrangeWithBackground; this.btnBrowse.Location = new System.Drawing.Point(387, 8); this.btnBrowse.Name = "btnBrowse"; this.btnBrowse.Size = new System.Drawing.Size(37, 23); this.btnBrowse.Style = eDotNetBarStyle.StyleManagerControlled; this.btnBrowse.TabIndex = 4; this.btnBrowse.Text = "..."; this.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(462, 279); base.Controls.Add(this.groupPanel2); base.Controls.Add(this.groupPanel1); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); this.DoubleBuffered = true; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SettingForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "设置"; this.groupPanel1.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); this.groupPanel2.PerformLayout(); base.ResumeLayout(false); }
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); }
public void UpdateTextLabel(LabelX labelX, string text) { if (labelX.InvokeRequired) { labelX.BeginInvoke( new MethodInvoker( delegate { UpdateTextLabel(labelX, text); })); } else { labelX.Text = text; } }
public ChangVisibleDataField(LabelX newDataLabel, TextBoxX newDataText,LabelX newStudentNumberLabel,TextBoxX newStudentNumberText) { _code_text.Add("401", "更正學號"); _code_text.Add("402", "更正姓名"); _code_text.Add("403", "更正性別"); _code_text.Add("404", "更正籍貫"); _code_text.Add("405", "更正生日"); _code_text.Add("407", "更正身份證號碼"); _code_text.Add("408", "更正入學資格學校名稱"); _code_text.Add("409", "更正特殊身份"); _code_text.Add("499", "更正其他學籍事項"); _newDataLabel = newDataLabel; _newDataText = newDataText; _newStudentNumberLabel = newStudentNumberLabel; _newStudentNumberText = newStudentNumberText; }
/// <summary> /// This should only be called when populating the Grid for the first time, /// or when the number of columns changes. /// </summary> private void ResetLabelCache() { foreach (LabelX label in Labels) this.Controls.Remove(label); foreach (LabelX label in CategoryLabels) this.Controls.Remove(label); Labels.Clear(); CategoryLabels.Clear(); if (Columns.Count > 0) { LabelX catLabel = new LabelX(); catLabel.BackColor = Color.Transparent; catLabel.Text = Columns[0].CategoryName; catLabel.TextAlignment = StringAlignment.Center; catLabel.BackgroundStyle.BackColor = Columns[0].CategoryBackColor;// Color.FromArgb(82, 128, 208); catLabel.BackgroundStyle.BackColor2 = Columns[0].CategoryBackColor2;// Color.Navy; catLabel.ForeColor = Columns[0].CategoryForeColor; catLabel.BackgroundStyle.BackColorGradientAngle = 90; //catLabel.ForeColor = Color.White; catLabel.Visible = false; this.Controls.Add(catLabel); CategoryLabels.Add(catLabel); catLabel.BringToFront(); } for (int i = 0; i < Columns.Count; i++) { LabelX label = new LabelX(); label.BackColor = Color.Transparent; label.Text = Columns[i].Text; label.TextAlignment = StringAlignment.Center; label.BackgroundStyle.BackColor = Color.FromArgb(100, 100, 100); label.BackgroundStyle.BackColor2 = Color.FromArgb(8, 8, 8); label.BackgroundStyle.BackColorGradientAngle = 90; label.ForeColor = Color.White; label.Visible = false; if (Columns[i].IsLink) { label.MouseEnter += new EventHandler(label_MouseEnter); label.MouseLeave += new EventHandler(label_MouseLeave); } label.MouseClick += new MouseEventHandler(label_MouseClick); label.Tag = i.ToString(); this.Controls.Add(label); Labels.Add(label); label.BringToFront(); if (Columns[i].CategoryName != CategoryLabels[CategoryLabels.Count - 1].Text) { LabelX catLabel = new LabelX(); catLabel.BackColor = Color.Transparent; catLabel.Text = Columns[i].CategoryName; catLabel.TextAlignment = StringAlignment.Center; catLabel.BackgroundStyle.BackColor = Columns[i].CategoryBackColor; catLabel.BackgroundStyle.BackColor2 = Columns[i].CategoryBackColor2; catLabel.BackgroundStyle.BackColorGradientAngle = 90; catLabel.ForeColor = Columns[i].CategoryForeColor; catLabel.Visible = false; this.Controls.Add(catLabel); CategoryLabels.Add(catLabel); catLabel.BringToFront(); } } }
/// <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); }
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); }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will allow you to detect the number of units you are in combat with (Units targeting you). <br/>"; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components); this.comboItem31 = new DevComponents.Editors.ComboItem(); this.comboItem14 = new DevComponents.Editors.ComboItem(); this.comboItem15 = new DevComponents.Editors.ComboItem(); this.comboItem16 = new DevComponents.Editors.ComboItem(); this.comboItem17 = new DevComponents.Editors.ComboItem(); this.comboItem18 = new DevComponents.Editors.ComboItem(); this.comboItem19 = new DevComponents.Editors.ComboItem(); this.comboItem20 = new DevComponents.Editors.ComboItem(); this.comboItem21 = new DevComponents.Editors.ComboItem(); this.comboItem22 = new DevComponents.Editors.ComboItem(); this.comboItem23 = new DevComponents.Editors.ComboItem(); this.comboItem24 = new DevComponents.Editors.ComboItem(); this.comboItem25 = new DevComponents.Editors.ComboItem(); this.comboItem26 = new DevComponents.Editors.ComboItem(); this.comboItem27 = new DevComponents.Editors.ComboItem(); this.comboItem28 = new DevComponents.Editors.ComboItem(); this.comboItem29 = new DevComponents.Editors.ComboItem(); this.comboItem30 = new DevComponents.Editors.ComboItem(); this.comboItem32 = new DevComponents.Editors.ComboItem(); this.comboItem33 = new DevComponents.Editors.ComboItem(); this.comboItem34 = new DevComponents.Editors.ComboItem(); this.comboItem35 = new DevComponents.Editors.ComboItem(); this.comboItem36 = new DevComponents.Editors.ComboItem(); this.comboItem37 = new DevComponents.Editors.ComboItem(); this.comboItem38 = new DevComponents.Editors.ComboItem(); this.comboItem39 = new DevComponents.Editors.ComboItem(); this.comboItem40 = new DevComponents.Editors.ComboItem(); this.comboItem41 = new DevComponents.Editors.ComboItem(); this.comboItem42 = new DevComponents.Editors.ComboItem(); this.comboItem43 = new DevComponents.Editors.ComboItem(); this.comboItem44 = new DevComponents.Editors.ComboItem(); this.comboItem45 = new DevComponents.Editors.ComboItem(); this.comboItem46 = new DevComponents.Editors.ComboItem(); this.comboItem47 = new DevComponents.Editors.ComboItem(); this.comboItem48 = new DevComponents.Editors.ComboItem(); this.comboItem49 = new DevComponents.Editors.ComboItem(); this.comboItem50 = new DevComponents.Editors.ComboItem(); this.comboItem51 = new DevComponents.Editors.ComboItem(); this.comboItem52 = new DevComponents.Editors.ComboItem(); this.comboItem53 = new DevComponents.Editors.ComboItem(); this.comboItem54 = new DevComponents.Editors.ComboItem(); this.comboItem55 = new DevComponents.Editors.ComboItem(); 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.comboItem10 = new DevComponents.Editors.ComboItem(); this.comboItem11 = new DevComponents.Editors.ComboItem(); this.comboItem12 = new DevComponents.Editors.ComboItem(); this.comboItem13 = new DevComponents.Editors.ComboItem(); this.metroShell1 = new DevComponents.DotNetBar.Metro.MetroShell(); this.metroShell2 = new DevComponents.DotNetBar.Metro.MetroShell(); this.metroTabPanel1 = new DevComponents.DotNetBar.Metro.MetroTabPanel(); this.lnbHelp = new System.Windows.Forms.LinkLabel(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.lbCredibility = new DevComponents.DotNetBar.LabelX(); this.lbName = new DevComponents.DotNetBar.LabelX(); this.btnRegister = new DevComponents.DotNetBar.ButtonX(); this.btnLogin = new DevComponents.DotNetBar.ButtonX(); this.tbPasswd = new DevComponents.DotNetBar.Controls.TextBoxX(); this.tbUser = new DevComponents.DotNetBar.Controls.TextBoxX(); this.lbPassword = new DevComponents.DotNetBar.LabelX(); this.lbuser = new DevComponents.DotNetBar.LabelX(); this.metroTabItem1 = new DevComponents.DotNetBar.Metro.MetroTabItem(); this.metroStatusBar1 = new DevComponents.DotNetBar.Metro.MetroStatusBar(); this.labelItem1 = new DevComponents.DotNetBar.LabelItem(); this.lbItemTime = new DevComponents.DotNetBar.LabelItem(); this.lbItemSpanTime = new DevComponents.DotNetBar.LabelItem(); this.btnItemDonate = new DevComponents.DotNetBar.ButtonItem(); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.mstripShow = new System.Windows.Forms.ToolStripMenuItem(); this.mstripExit = new System.Windows.Forms.ToolStripMenuItem(); this.registerControl = new WindowsForm.RegisterControl(); this.metroShell2.SuspendLayout(); this.metroTabPanel1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // styleManager // this.styleManager.ManagerColorTint = System.Drawing.Color.White; this.styleManager.ManagerStyle = DevComponents.DotNetBar.eStyle.OfficeMobile2014; this.styleManager.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))), System.Drawing.Color.FromArgb(((int)(((byte)(62)))), ((int)(((byte)(120)))), ((int)(((byte)(143)))))); // // comboItem31 // this.comboItem31.Text = "Default"; // // comboItem14 // this.comboItem14.Text = "VisualStudio2012Light"; // // comboItem15 // this.comboItem15.Text = "VisualStudio2012Dark"; // // comboItem16 // this.comboItem16.Text = "WashedWhite"; // // comboItem17 // this.comboItem17.Text = "WashedBlue"; // // comboItem18 // this.comboItem18.Text = "BlackClouds"; // // comboItem19 // this.comboItem19.Text = "BlackLilac"; // // comboItem20 // this.comboItem20.Text = "BlackMaroon"; // // comboItem21 // this.comboItem21.Text = "BlackSky"; // // comboItem22 // this.comboItem22.Text = "Blue"; // // comboItem23 // this.comboItem23.Text = "BlueishBrown"; // // comboItem24 // this.comboItem24.Text = "Bordeaux"; // // comboItem25 // this.comboItem25.Text = "Brown"; // // comboItem26 // this.comboItem26.Text = "Cherry"; // // comboItem27 // this.comboItem27.Text = "DarkBlue"; // // comboItem28 // this.comboItem28.Text = "DarkBrown"; // // comboItem29 // this.comboItem29.Text = "DarkPurple"; // // comboItem30 // this.comboItem30.Text = "DarkRed"; // // comboItem32 // this.comboItem32.Text = "EarlyMaroon"; // // comboItem33 // this.comboItem33.Text = "EarlyOrange"; // // comboItem34 // this.comboItem34.Text = "EarlyRed"; // // comboItem35 // this.comboItem35.Text = "Espresso"; // // comboItem36 // this.comboItem36.Text = "ForestGreen"; // // comboItem37 // this.comboItem37.Text = "GrayOrange"; // // comboItem38 // this.comboItem38.Text = "Green"; // // comboItem39 // this.comboItem39.Text = "Latte"; // // comboItem40 // this.comboItem40.Text = "LatteDarkSteel"; // // comboItem41 // this.comboItem41.Text = "LatteRed"; // // comboItem42 // this.comboItem42.Text = "Magenta"; // // comboItem43 // this.comboItem43.Text = "MaroonSilver"; // // comboItem44 // this.comboItem44.Text = "NapaRed"; // // comboItem45 // this.comboItem45.Text = "Orange"; // // comboItem46 // this.comboItem46.Text = "PowderRed"; // // comboItem47 // this.comboItem47.Text = "Purple"; // // comboItem48 // this.comboItem48.Text = "Red"; // // comboItem49 // this.comboItem49.Text = "RedAmplified"; // // comboItem50 // this.comboItem50.Text = "RetroBlue"; // // comboItem51 // this.comboItem51.Text = "Rust"; // // comboItem52 // this.comboItem52.Text = "SilverBlues"; // // comboItem53 // this.comboItem53.Text = "SilverGreen"; // // comboItem54 // this.comboItem54.Text = "SimplyBlue"; // // comboItem55 // this.comboItem55.Text = "SkyGreen"; // // comboItem1 // this.comboItem1.Text = "Office2007Blue"; // // comboItem2 // this.comboItem2.Text = "Office2007Silver"; // // comboItem3 // this.comboItem3.Text = "Office2007Black"; // // comboItem4 // this.comboItem4.Text = "Office2007VistaGlass"; // // comboItem5 // this.comboItem5.Text = "Office2010Silver"; // // comboItem6 // this.comboItem6.Text = "Office2010Blue"; // // comboItem7 // this.comboItem7.Text = "Office2010Black"; // // comboItem8 // this.comboItem8.Text = "Windows7Blue"; // // comboItem9 // this.comboItem9.Text = "VisualStudio2010Blue"; // // comboItem10 // this.comboItem10.Text = "Office2013"; // // comboItem11 // this.comboItem11.Text = "VisualStudio2012Light"; // // comboItem12 // this.comboItem12.Text = "VisualStudio2012Dark"; // // comboItem13 // this.comboItem13.Text = "OfficeMobile2014"; // // metroShell1 // this.metroShell1.BackColor = System.Drawing.Color.White; // // // this.metroShell1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.metroShell1.ForeColor = System.Drawing.Color.Black; this.metroShell1.HelpButtonText = null; this.metroShell1.Location = new System.Drawing.Point(0, 0); this.metroShell1.Name = "metroShell1"; this.metroShell1.Size = new System.Drawing.Size(200, 100); this.metroShell1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; this.metroShell1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon"; this.metroShell1.SystemText.QatAddItemText = "&Add to Quick Access Toolbar"; this.metroShell1.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>"; this.metroShell1.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar..."; this.metroShell1.SystemText.QatDialogAddButton = "&Add >>"; this.metroShell1.SystemText.QatDialogCancelButton = "Cancel"; this.metroShell1.SystemText.QatDialogCaption = "Customize Quick Access Toolbar"; this.metroShell1.SystemText.QatDialogCategoriesLabel = "&Choose commands from:"; this.metroShell1.SystemText.QatDialogOkButton = "OK"; this.metroShell1.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon"; this.metroShell1.SystemText.QatDialogRemoveButton = "&Remove"; this.metroShell1.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon"; this.metroShell1.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon"; this.metroShell1.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar"; this.metroShell1.TabIndex = 0; this.metroShell1.TabStripFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); // // metroShell2 // this.metroShell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); // // // this.metroShell2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.metroShell2.CaptionVisible = true; this.metroShell2.Controls.Add(this.metroTabPanel1); this.metroShell2.Dock = System.Windows.Forms.DockStyle.Top; this.metroShell2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.metroShell2.ForeColor = System.Drawing.Color.Black; this.metroShell2.HelpButtonText = "关于"; this.metroShell2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.metroTabItem1}); this.metroShell2.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F); this.metroShell2.Location = new System.Drawing.Point(1, 1); this.metroShell2.Margin = new System.Windows.Forms.Padding(2); this.metroShell2.MouseWheelTabScrollEnabled = false; this.metroShell2.Name = "metroShell2"; this.metroShell2.SettingsButtonText = "设置"; this.metroShell2.Size = new System.Drawing.Size(1034, 132); this.metroShell2.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; this.metroShell2.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon"; this.metroShell2.SystemText.QatAddItemText = "&Add to Quick Access Toolbar"; this.metroShell2.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>"; this.metroShell2.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar..."; this.metroShell2.SystemText.QatDialogAddButton = "&Add >>"; this.metroShell2.SystemText.QatDialogCancelButton = "Cancel"; this.metroShell2.SystemText.QatDialogCaption = "Customize Quick Access Toolbar"; this.metroShell2.SystemText.QatDialogCategoriesLabel = "&Choose commands from:"; this.metroShell2.SystemText.QatDialogOkButton = "OK"; this.metroShell2.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon"; this.metroShell2.SystemText.QatDialogRemoveButton = "&Remove"; this.metroShell2.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon"; this.metroShell2.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon"; this.metroShell2.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar"; this.metroShell2.TabIndex = 0; this.metroShell2.TabStripFont = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.metroShell2.Text = "metroShell2"; this.metroShell2.UseCustomizeDialog = false; this.metroShell2.SettingsButtonClick += new System.EventHandler(this.metroShell2_SettingsButtonClick); this.metroShell2.HelpButtonClick += new System.EventHandler(this.metroShell2_HelpButtonClick); this.metroShell2.SizeChanged += new System.EventHandler(this.metroShell2_SizeChanged); // // metroTabPanel1 // this.metroTabPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.metroTabPanel1.Controls.Add(this.lnbHelp); this.metroTabPanel1.Controls.Add(this.labelX1); this.metroTabPanel1.Controls.Add(this.lbCredibility); this.metroTabPanel1.Controls.Add(this.lbName); this.metroTabPanel1.Controls.Add(this.btnRegister); this.metroTabPanel1.Controls.Add(this.btnLogin); this.metroTabPanel1.Controls.Add(this.tbPasswd); this.metroTabPanel1.Controls.Add(this.tbUser); this.metroTabPanel1.Controls.Add(this.lbPassword); this.metroTabPanel1.Controls.Add(this.lbuser); this.metroTabPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.metroTabPanel1.Location = new System.Drawing.Point(0, 63); this.metroTabPanel1.Margin = new System.Windows.Forms.Padding(2); this.metroTabPanel1.Name = "metroTabPanel1"; this.metroTabPanel1.Padding = new System.Windows.Forms.Padding(2, 0, 2, 2); this.metroTabPanel1.Size = new System.Drawing.Size(1034, 69); // // // this.metroTabPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.metroTabPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.metroTabPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.metroTabPanel1.TabIndex = 1; // // lnbHelp // this.lnbHelp.AutoSize = true; this.lnbHelp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.lnbHelp.ForeColor = System.Drawing.Color.Black; this.lnbHelp.Location = new System.Drawing.Point(360, 44); this.lnbHelp.Name = "lnbHelp"; this.lnbHelp.Size = new System.Drawing.Size(119, 14); this.lnbHelp.TabIndex = 9; this.lnbHelp.TabStop = true; this.lnbHelp.Text = "信誉度等常见问题"; this.lnbHelp.Click += new System.EventHandler(this.lnbHelp_Click); // // labelX1 // this.labelX1.BackColor = System.Drawing.Color.Transparent; // // // this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.ForeColor = System.Drawing.Color.Black; this.labelX1.Location = new System.Drawing.Point(360, 13); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(583, 23); this.labelX1.TabIndex = 8; this.labelX1.Text = "声明:本软件使用过程中不记录用户名和密码,同时也不以任何形式保存用户名和密码。"; // // lbCredibility // this.lbCredibility.BackColor = System.Drawing.Color.Transparent; // // // this.lbCredibility.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lbCredibility.ForeColor = System.Drawing.Color.Black; this.lbCredibility.Location = new System.Drawing.Point(132, 39); this.lbCredibility.Name = "lbCredibility"; this.lbCredibility.Size = new System.Drawing.Size(111, 23); this.lbCredibility.TabIndex = 7; this.lbCredibility.Visible = false; // // lbName // this.lbName.BackColor = System.Drawing.Color.Transparent; // // // this.lbName.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lbName.ForeColor = System.Drawing.Color.Black; this.lbName.Location = new System.Drawing.Point(132, 11); this.lbName.Name = "lbName"; this.lbName.Size = new System.Drawing.Size(111, 23); this.lbName.TabIndex = 6; this.lbName.Visible = false; // // btnRegister // this.btnRegister.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnRegister.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnRegister.Location = new System.Drawing.Point(254, 41); this.btnRegister.Name = "btnRegister"; this.btnRegister.Size = new System.Drawing.Size(75, 23); this.btnRegister.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnRegister.TabIndex = 5; this.btnRegister.Text = "免费注册"; this.btnRegister.Click += new System.EventHandler(this.btnRegister_Click); // // btnLogin // this.btnLogin.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnLogin.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnLogin.Location = new System.Drawing.Point(254, 10); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(75, 23); this.btnLogin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnLogin.TabIndex = 4; this.btnLogin.Text = "登陆"; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // tbPasswd // this.tbPasswd.BackColor = System.Drawing.Color.White; // // // this.tbPasswd.Border.Class = "TextBoxBorder"; this.tbPasswd.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.tbPasswd.DisabledBackColor = System.Drawing.Color.White; this.tbPasswd.ForeColor = System.Drawing.Color.Black; this.tbPasswd.Location = new System.Drawing.Point(86, 40); this.tbPasswd.Name = "tbPasswd"; this.tbPasswd.PasswordChar = '*'; this.tbPasswd.PreventEnterBeep = true; this.tbPasswd.Size = new System.Drawing.Size(151, 23); this.tbPasswd.TabIndex = 3; // // tbUser // this.tbUser.BackColor = System.Drawing.Color.White; // // // this.tbUser.Border.Class = "TextBoxBorder"; this.tbUser.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.tbUser.DisabledBackColor = System.Drawing.Color.White; this.tbUser.ForeColor = System.Drawing.Color.Black; this.tbUser.Location = new System.Drawing.Point(86, 10); this.tbUser.Name = "tbUser"; this.tbUser.PreventEnterBeep = true; this.tbUser.Size = new System.Drawing.Size(151, 23); this.tbUser.TabIndex = 2; this.tbUser.WatermarkText = "请输入身份证"; // // lbPassword // this.lbPassword.BackColor = System.Drawing.Color.Transparent; // // // this.lbPassword.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lbPassword.ForeColor = System.Drawing.Color.Black; this.lbPassword.Location = new System.Drawing.Point(21, 40); this.lbPassword.Name = "lbPassword"; this.lbPassword.Size = new System.Drawing.Size(59, 23); this.lbPassword.TabIndex = 1; this.lbPassword.Text = "密 码"; // // lbuser // this.lbuser.BackColor = System.Drawing.Color.Transparent; // // // this.lbuser.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lbuser.ForeColor = System.Drawing.Color.Black; this.lbuser.Location = new System.Drawing.Point(21, 10); this.lbuser.Name = "lbuser"; this.lbuser.Size = new System.Drawing.Size(59, 23); this.lbuser.TabIndex = 0; this.lbuser.Text = "账户名"; // // metroTabItem1 // this.metroTabItem1.Checked = true; this.metroTabItem1.Name = "metroTabItem1"; this.metroTabItem1.Panel = this.metroTabPanel1; this.metroTabItem1.Text = "个人中心"; // // metroStatusBar1 // this.metroStatusBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); // // // this.metroStatusBar1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.metroStatusBar1.ContainerControlProcessDialogKey = true; this.metroStatusBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.metroStatusBar1.DragDropSupport = true; this.metroStatusBar1.Font = new System.Drawing.Font("Segoe UI", 10.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.metroStatusBar1.ForeColor = System.Drawing.Color.Black; this.metroStatusBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.labelItem1, this.lbItemTime, this.lbItemSpanTime, this.btnItemDonate}); this.metroStatusBar1.Location = new System.Drawing.Point(1, 642); this.metroStatusBar1.Margin = new System.Windows.Forms.Padding(2); this.metroStatusBar1.Name = "metroStatusBar1"; this.metroStatusBar1.Size = new System.Drawing.Size(1034, 32); this.metroStatusBar1.TabIndex = 1; this.metroStatusBar1.Text = "metroStatusBar1"; // // labelItem1 // this.labelItem1.Name = "labelItem1"; this.labelItem1.Text = "北京时间:"; // // lbItemTime // this.lbItemTime.Cursor = System.Windows.Forms.Cursors.Hand; this.lbItemTime.Name = "lbItemTime"; this.lbItemTime.Text = "网络连接失败"; this.lbItemTime.Click += new System.EventHandler(this.lbItemTime_Click); // // lbItemSpanTime // this.lbItemSpanTime.Name = "lbItemSpanTime"; // // btnItemDonate // this.btnItemDonate.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.btnItemDonate.Name = "btnItemDonate"; this.btnItemDonate.Text = "捐助软件"; this.btnItemDonate.Click += new System.EventHandler(this.btnItemDonate_Click); // // notifyIcon1 // this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon"))); this.notifyIcon1.Text = "杭州预约挂号辅助软件"; this.notifyIcon1.Visible = true; this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mstripShow, this.mstripExit}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(137, 48); // // mstripShow // this.mstripShow.Name = "mstripShow"; this.mstripShow.Size = new System.Drawing.Size(136, 22); this.mstripShow.Text = "打开主程序"; this.mstripShow.Click += new System.EventHandler(this.mstripShow_Click); // // mstripExit // this.mstripExit.Name = "mstripExit"; this.mstripExit.Size = new System.Drawing.Size(136, 22); this.mstripExit.Text = "退出"; this.mstripExit.Click += new System.EventHandler(this.mstripExit_Click); // // registerControl // this.registerControl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.registerControl.Dock = System.Windows.Forms.DockStyle.Fill; this.registerControl.ForeColor = System.Drawing.Color.Black; this.registerControl.Location = new System.Drawing.Point(1, 133); this.registerControl.Name = "registerControl"; this.registerControl.Size = new System.Drawing.Size(1034, 509); this.registerControl.TabIndex = 2; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1036, 675); this.Controls.Add(this.registerControl); this.Controls.Add(this.metroStatusBar1); this.Controls.Add(this.metroShell2); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.SystemMenuClose = "关闭"; this.SystemMenuMaximize = "最大化"; this.SystemMenuMinimize = "最小化"; this.SystemMenuMove = "移动"; this.SystemMenuRestore = "还原"; this.SystemMenuSize = "大小"; this.Text = "杭州预约挂号辅助软件"; this.metroShell2.ResumeLayout(false); this.metroShell2.PerformLayout(); this.metroTabPanel1.ResumeLayout(false); this.metroTabPanel1.PerformLayout(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
private void SetColumns(IEnumerable<IColumn> columns, LabelX label) { var sb = new StringBuilder(); sb.AppendLine("Columns in Key:"); foreach(var column in columns) { sb.AppendLine(column.Name); } label.Text = sb.ToString(); }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will allow you to check i a spell is ready"; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
private void AddStatInfo() { if (addCtr == 11) return; LabelX newStatTypeLabelX = new LabelX(); newStatTypeLabelX.BackColor = Color.Transparent; lastLocY += 35; //Stat Type Label newStatTypeLabelX.BackgroundStyle.Class = ""; newStatTypeLabelX.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; newStatTypeLabelX.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); newStatTypeLabelX.Location = new System.Drawing.Point(13, lastLocY); newStatTypeLabelX.Name = "statTypeLabelX" + addCtr; newStatTypeLabelX.Size = new System.Drawing.Size(59, 23); newStatTypeLabelX.TabIndex = 8 + addCtr; newStatTypeLabelX.Text = "Stat Type"; addButtonX.Location = new Point(addButtonX.Location.X, lastLocY + 25); itemStatsGroupPanel.Controls.Add(newStatTypeLabelX); //Stat Type ComboBoxEx DevComponents.DotNetBar.Controls.ComboBoxEx newStatTypeComboBoxEx = new DevComponents.DotNetBar.Controls.ComboBoxEx(); foreach (DevComponents.Editors.ComboItem item in statTypeComboBoxEx1.Items) { newStatTypeComboBoxEx.Items.Add(item.Text); } newStatTypeComboBoxEx.DropDownStyle = ComboBoxStyle.DropDownList; newStatTypeComboBoxEx.DisplayMember = "Text"; newStatTypeComboBoxEx.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; newStatTypeComboBoxEx.FormattingEnabled = true; newStatTypeComboBoxEx.ItemHeight = 14; newStatTypeComboBoxEx.Location = new System.Drawing.Point(79, lastLocY); newStatTypeComboBoxEx.Name = "statTypeComboBoxEx" + addCtr; newStatTypeComboBoxEx.Size = new System.Drawing.Size(152, 20); newStatTypeComboBoxEx.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; newStatTypeComboBoxEx.TabIndex = 9 + addCtr; itemStatsGroupPanel.Controls.Add(newStatTypeComboBoxEx); //Stat Type Value Label LabelX newStatValueLabelX = new LabelX(); newStatValueLabelX.BackColor = Color.Transparent; newStatValueLabelX.BackgroundStyle.Class = ""; newStatValueLabelX.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; newStatValueLabelX.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); newStatValueLabelX.Location = new System.Drawing.Point(237, lastLocY); newStatValueLabelX.Name = "statTypeValueLabelX" + addCtr; newStatValueLabelX.Size = new System.Drawing.Size(39, 23); newStatValueLabelX.TabIndex = 10 + addCtr; newStatValueLabelX.Text = "Value"; itemStatsGroupPanel.Controls.Add(newStatValueLabelX); //Stat Type Value IntegerInput DevComponents.Editors.IntegerInput newStatTypeValueIntegerInput = new DevComponents.Editors.IntegerInput(); newStatTypeValueIntegerInput.BackgroundStyle.Class = "DateTimeInputBackground"; newStatTypeValueIntegerInput.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; newStatTypeValueIntegerInput.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; newStatTypeValueIntegerInput.Location = new System.Drawing.Point(283, lastLocY); newStatTypeValueIntegerInput.Name = "statTypeValueIntegerInput1"; newStatTypeValueIntegerInput.ShowUpDown = true; newStatTypeValueIntegerInput.Size = new System.Drawing.Size(80, 20); newStatTypeValueIntegerInput.TabIndex = 11; itemStatsGroupPanel.Controls.Add(newStatTypeValueIntegerInput); addCtr++; }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will allow you to check for buffs on a specific unit/player. <br/><br/>You can get the id's from wowhead.com by searching for the name or use the 'Log own buffs' button in the debug tab<br/><br/> You can enter multiple id's separating each id using ',' (Do not use spaces). <br/><br/> If you are using the name function the bot will warn you if the name is invalid"; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
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; }
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); }
/// <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); }
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); }
public void DoAfterEdit(object newValue, System.Windows.Forms.DialogResult result, string editType) { if (result != System.Windows.Forms.DialogResult.OK) { m_EditObject = null; return; } if (m_EditObject is System.Windows.Forms.ListViewItem.ListViewSubItem) { System.Windows.Forms.ListViewItem.ListViewSubItem subItem = m_EditObject as System.Windows.Forms.ListViewItem.ListViewSubItem; if (subItem.Name.Contains("Range"))//范围编辑 { #region Range //更新当前编辑对象(Range)的值 subItem.Tag = newValue; subItem.Text = subItem.Text.Split('-')[0] + "-" + newValue.ToString(); //更新对应的Label的值 string nameIndex = subItem.Name.Replace("Range", ""); System.Windows.Forms.ListViewItem item = listValueItem.Items[Convert.ToInt32(nameIndex)]; item.SubItems[2].Text = subItem.Text; //更新下一条记录的Range和Label的值 if (item.Index + 1 < listValueItem.Items.Count) { System.Windows.Forms.ListViewItem nextItem = listValueItem.Items[item.Index + 1]; nextItem.SubItems[1].Text = newValue.ToString() + "-" + nextItem.SubItems[1].Tag.ToString(); nextItem.SubItems[2].Text = newValue.ToString() + "-" + nextItem.SubItems[1].Tag.ToString(); } #endregion } else if (subItem.Name.Contains("Label"))//标签编辑 { if (newValue.ToString() != "") { subItem.Tag = newValue; subItem.Text = newValue.ToString(); } } } if (m_EditObject is System.Windows.Forms.ListViewItem) { System.Windows.Forms.ListViewItem item = m_EditObject as System.Windows.Forms.ListViewItem; item.Tag = newValue; listValueItem.SmallImageList.Images.RemoveByKey("Symbol" + item.Index.ToString()); listValueItem.SmallImageList.Images.Add("Symbol" + item.Index.ToString(), ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight)); item.ImageKey = "Symbol" + item.Index.ToString(); } if (m_EditObject is DevComponents.DotNetBar.LabelX) { DevComponents.DotNetBar.LabelX label = m_EditObject as DevComponents.DotNetBar.LabelX; switch (label.Name) { case "labelPreviewFore": if (label.Image != null) { label.Image.Dispose(); label.Image = null; } label.Tag = newValue; label.Image = ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); RefreshSymbol(); break; case "labelPreviewBack": if (label.Image != null) { label.Image.Dispose(); label.Image = null; } label.Tag = newValue; label.Image = ModuleCommon.Symbol2Picture(newValue as ISymbol, ModuleCommon.ImageWidth, ModuleCommon.ImageHeight); labelPreviewBack.Refresh(); break; } } m_EditObject = null; }
private void StartCollect(List<string> symbols, bool isGroup, int groupID) { ui_componentList.HorizontalScroll.Visible = true; if (symbols.Count == 0) return; ui_buttonX_localConnect.Enabled = false; ui_buttonX_shareConnect.Enabled = false; TickNetClientDataManager.MaxQueueSize = (int)ui_SQL_PacketSize.Value; TickNetClientDataManager.MaxBufferSize = (int)ui_BufferSizeValue.Value; ui_componentList.ColumnCount = 1; ui_componentList.AutoSize = true; ui_componentList.AutoSizeMode = AutoSizeMode.GrowOnly; ui_componentList.AutoScroll = true; // ui_componentList.MaximumSize = ui_componentList.Size; _connector = new CQGConnector(); _connector.addDataConnectionStatusChangedListener(CEL_DataConnectionStatusChanged); _sdr = new SymbolDataWriter(_connector, _client.UserName) { IsMi = cbUsMI.Checked, Depth = (int)ui_nudDOMDepth.Value }; for (var i = 0; i < symbols.Count; i++) { var container = new Panel { BorderStyle = BorderStyle.FixedSingle, Size = new Size(370, 45), AutoSize = false }; var symbolDescription = new Label { Text = symbols[i], Location = new Point(20, 4), Size = new Size(100, 20), Dock = DockStyle.None }; container.Controls.Add(symbolDescription); var btnCancel = new ButtonX { Text = @"cancel", Location = new Point(200, 4), Size = new Size(70, 20), Dock = DockStyle.None, AutoSize = false, Style = ui_collect_buttonX_start.Style }; btnCancel.Click += btnCommandExec; container.Controls.Add(btnCancel); var btnStop = new ButtonX { Text = @"stop", Location = new Point(290, 4), Size = new Size(70, 20), Dock = DockStyle.None, AutoSize = false, Style = ui_collect_buttonX_start.Style }; btnStop.Click += btnCommandExec; container.Controls.Add(btnStop); var mDesc = new Label { Text = @"Status: ", Location = new Point(5, 24), Size = new Size(50, 20), Dock = DockStyle.None }; container.Controls.Add(mDesc); var message = new LabelX { Text = @"Waiting for processing...", Size = new Size(295, 17), Location = new Point(55, 24), AutoSize = false, Dock = DockStyle.None, PaddingLeft = 5 }; message.BackgroundStyle.BorderLeft = eStyleBorderType.Solid; message.BackgroundStyle.BorderLeftColor = Color.Gray; message.BackgroundStyle.BorderLeftWidth = 3; message.MouseMove += labelMessage_MouseMove; container.Controls.Add(message); ui_componentList.RowCount = i; ui_componentList.Controls.Add(container, 0, ui_componentList.RowCount); _sdr.AddSymbol(symbols[i], message); } if (TickNetClientDataManager.CurrentDbIsShared) { _sdr.SymbolSubscribed += CollectRequest; } _connector.ICEL.Startup(); ui_collect_buttonX_start.Enabled = ui_collect_buttonX_startGroup.Enabled = ui_listBox_symbols.Enabled = ui_listBox_groups.Enabled = false; ui_collect_buttonX_stop.Enabled = true; }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will tell you the number of mobs that may be pulled if you approach the current target by foot. <br/><br/> You could use it to decide to pull using range if the pull count exceeds 1."; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
public void CariGuncelle(DevComponents.DotNetBar.Controls.TextBoxX txt_cariadi, DevComponents.DotNetBar.Controls.TextBoxX txt_ilgikisi, DevComponents.DotNetBar.Controls.MaskedTextBoxAdv txt_TCno, DevComponents.DotNetBar.Controls.ComboBoxEx cmBox_İl, DevComponents.DotNetBar.Controls.TextBoxX txt_iskonto, DevComponents.DotNetBar.Controls.TextBoxX txt_alacak, DevComponents.DotNetBar.Controls.TextBoxX txt_verecek, DevComponents.DotNetBar.Controls.TextBoxX txt_risk, DevComponents.DotNetBar.Controls.TextBoxX txt_email, DevComponents.DotNetBar.Controls.TextBoxX txt_fax, DevComponents.DotNetBar.Controls.MaskedTextBoxAdv txt_tel, DevComponents.DotNetBar.Controls.TextBoxX txt_vdairesi, DevComponents.DotNetBar.Controls.TextBoxX txt_vergino, DevComponents.DotNetBar.Controls.ComboBoxEx cmBox_Parabirimi, RichTextBox txt_adres, DevComponents.DotNetBar.LabelX lbl_id) { MessageBoxEx.EnableGlass = false; MessageBoxEx.MessageBoxTextColor = System.Drawing.Color.Black; if (txt_cariadi.Text != "" && txt_ilgikisi.Text != "" && txt_TCno.Text.Length == 11 && cmBox_İl.SelectedItem != null && txt_alacak.Text != "" && txt_verecek.Text != "" && txt_risk.Text != "" && txt_email.Text != "" && txt_tel.Text.Length == 14 && txt_vdairesi.Text != "" && txt_vergino.Text != "" && cmBox_Parabirimi.SelectedItem != null) { baglanti.Open(); cmd = new SqlCommand("UPDATE CariList SET CariAdi=@ad, IlgiliKisi=@kisi, TCno=@tc, Il=@il, Iskonto=@is, Tahsilat=@alac, Borc=@verec, Risk=@r, Email=@em, Fax=@fax, Telefon=@tel, VergiDa=@vda, VergiNo=@vno, ParaB=@pb, Adres=@adres WHERE CariID=@id", baglanti); cmd.Parameters.Add("id", lbl_id.Text); cmd.Parameters.Add("ad", txt_cariadi.Text); cmd.Parameters.Add("kisi", txt_ilgikisi.Text); cmd.Parameters.Add("tc", txt_TCno.Text); cmd.Parameters.Add("il", cmBox_İl.SelectedItem.ToString()); cmd.Parameters.Add("is", Convert.ToDecimal(txt_iskonto.Text)); cmd.Parameters.Add("alac", Convert.ToDecimal(txt_alacak.Text)); cmd.Parameters.Add("verec", Convert.ToDecimal(txt_verecek.Text)); cmd.Parameters.Add("r", Convert.ToDecimal(txt_risk.Text)); cmd.Parameters.Add("em", txt_email.Text); cmd.Parameters.Add("fax", txt_fax.Text); cmd.Parameters.Add("tel", txt_tel.Text); cmd.Parameters.Add("vda", txt_vdairesi.Text); cmd.Parameters.Add("vno", Convert.ToInt32(txt_vergino.Text)); cmd.Parameters.Add("pb", cmBox_Parabirimi.SelectedItem.ToString()); cmd.Parameters.Add("adres", txt_adres.Text); cmd.ExecuteNonQuery(); cmd.Dispose(); baglanti.Close(); MessageBoxEx.Show(" İşlem başarılı. ", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBoxEx.Show(" Eksik veya hatalı veri girişi! ", "Dikkat", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void CreateText(List<Node> re) { var info = new Node(); info.Text = "Info"; var labelX = new LabelX(); labelX.AutoSize = true; labelX.MaximumSize = new Size(300, 500); labelX.Text = "This condition will give you the distance to your target (yards)."; labelX.Visible = true; labelX.BackColor = Color.Transparent; info.Nodes.Add(CreateControl("Info", "Info", labelX)); info.Expanded = true; re.Add(info); }
private void Populate() { if (Entity == null) return; Slyce.Common.Utility.SuspendPainting(this); Clear(); int maxLabelWidth = 0; LabelX label = new LabelX(); Graphics g = Graphics.FromHwnd(label.Handle); maxLabelWidth = Math.Max(maxLabelWidth, Convert.ToInt32(g.MeasureString("ID Generator", label.Font).Width)); maxLabelWidth = Math.Max(maxLabelWidth, Convert.ToInt32(g.MeasureString("2nd level cache", label.Font).Width)); for (int i = 0; i < Entity.Ex.Count; i++) maxLabelWidth = Math.Max(maxLabelWidth, Convert.ToInt32(g.MeasureString(Entity.Ex[i].Name, label.Font).Width)); maxLabelWidth += 10; int top = 5; //if (textBoxName == null) //{ //textboxName = new TextBox(); //tb.BackColor = this.BackColor; //tb.ForeColor = this.ForeColor; textBoxName.Top = top; textBoxName.Left = maxLabelWidth + 5 + 5; //this.Controls.Add(textboxName); //textboxName.TextChanged += new EventHandler(tb_TextChanged); top = Helper.AddLabel("Name", top, maxLabelWidth) + 5; #region ID Generator groupPanelIdGenerator.Top = top; groupPanelIdGenerator.Left = maxLabelWidth + 5 + 5; top = Helper.AddLabel("ID Generator", top + groupPanelIdGenerator.Height / 2 - labelGeneratorParam3.Height + 3, maxLabelWidth); top = groupPanelIdGenerator.Bottom + 5; #endregion #region Cache groupBoxCache.Top = top; groupBoxCache.Left = maxLabelWidth + 5 + 5; top = Helper.AddLabel("2nd level cache", top + groupBoxCache.Height / 2 - labelGeneratorParam3.Height + 3, maxLabelWidth); top = groupBoxCache.Bottom + 5; #endregion #region IsAbstract checkBoxIsAbstract.Top = top; checkBoxIsAbstract.Left = maxLabelWidth + 5 + 5; checkBoxIsAbstract.Checked = Entity.IsAbstract; top = Helper.AddLabel("Abstract", top + checkBoxIsAbstract.Height / 2 - labelGeneratorParam3.Height + 3, maxLabelWidth); top = checkBoxIsAbstract.Bottom; #endregion textBoxName.Text = Entity.Name; comboBoxIdGenerator.Items.Clear(); comboBoxIdGenerator.Items.AddRange(GetGeneratorDisplayNames()); comboBoxIdGenerator.Text = Entity.Generator.ClassName; for (int paramCounter = 0; paramCounter < Entity.Generator.Parameters.Count; paramCounter++) { switch (paramCounter) { case 0: labelGeneratorParam1.Text = Entity.Generator.Parameters[paramCounter].Name; textBoxGeneratorParam1.Text = Entity.Generator.Parameters[paramCounter].Value; break; case 1: labelGeneratorParam2.Text = Entity.Generator.Parameters[paramCounter].Name; textBoxGeneratorParam2.Text = Entity.Generator.Parameters[paramCounter].Value; break; case 2: labelGeneratorParam3.Text = Entity.Generator.Parameters[paramCounter].Name; textBoxGeneratorParam3.Text = Entity.Generator.Parameters[paramCounter].Value; break; } } comboBoxCacheInclude.Items.Clear(); comboBoxCacheInclude.Items.AddRange(Enum.GetNames(typeof(Cache.IncludeTypes))); comboBoxCacheUsage.Items.Clear(); comboBoxCacheUsage.Items.AddRange(Enum.GetNames(typeof(Cache.UsageTypes))); if (Entity.Cache == null) { comboBoxCacheInclude.Text = Cache.IncludeTypes.All.ToString(); comboBoxCacheUsage.Text = Cache.UsageTypes.None.ToString(); } else { comboBoxCacheInclude.Text = Entity.Cache.Include.ToString(); comboBoxCacheUsage.Text = Entity.Cache.Usage.ToString(); textBoxCacheRegion.Text = Entity.Cache.Region; } if (!this.Controls.Contains(virtualPropertyGrid1)) { this.Controls.Add(virtualPropertyGrid1); virtualPropertyGrid1.BackColor = this.BackColor; virtualPropertyGrid1.ForeColor = this.ForeColor; virtualPropertyGrid1.Top = top; virtualPropertyGrid1.Left = 0; virtualPropertyGrid1.Width = Width - 5; virtualPropertyGrid1.Height = Height - virtualPropertyGrid1.Top; virtualPropertyGrid1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;// | AnchorStyles.Bottom; virtualPropertyGrid1.AutoSize = false; virtualPropertyGrid1.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.Height = virtualPropertyGrid1.Bottom + 50; } virtualPropertyGrid1.SetVirtualProperties(Entity.Ex); Slyce.Common.Utility.ResumePainting(this); }
/////////////////////// http://www.csharp-examples.net/inputbox/ ////////////////////// public static DialogResult InputBox(string title, string promptText, ref string value) { Office2007Form form = new Office2007Form(); LabelX label = new LabelX(); DevComponents.DotNetBar.Controls.TextBoxX textBox = new DevComponents.DotNetBar.Controls.TextBoxX(); ButtonX buttonOk = new ButtonX(); ButtonX buttonCancel = new ButtonX(); form.Text = title; label.Text = promptText; textBox.Text = value; textBox.Border.Class = "TextBoxBorder"; textBox.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; textBox.Location = new System.Drawing.Point(240, 151); textBox.Name = "textbox"; textBox.ReadOnly = false; textBox.Size = new System.Drawing.Size(275, 20); textBox.TabIndex = 1; buttonOk.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; buttonOk.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; buttonCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; buttonCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; buttonOk.Text = "OK"; buttonCancel.Text = "Cancel"; buttonOk.DialogResult = DialogResult.OK; buttonCancel.DialogResult = DialogResult.Cancel; label.SetBounds(9, 20, 372, 13); textBox.SetBounds(12, 36, 372, 20); buttonOk.SetBounds(228, 72, 75, 23); buttonCancel.SetBounds(309, 72, 75, 23); label.AutoSize = true; textBox.Anchor = textBox.Anchor | AnchorStyles.Right; buttonOk.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; form.ClientSize = new Size(396, 107); form.Controls.AddRange(new Control[] { label, textBox, buttonOk, buttonCancel }); form.ClientSize = new Size(Math.Max(300, label.Right + 10), form.ClientSize.Height); form.FormBorderStyle = FormBorderStyle.FixedDialog; form.StartPosition = FormStartPosition.CenterScreen; form.MinimizeBox = false; form.MaximizeBox = false; form.AcceptButton = buttonOk; form.CancelButton = buttonCancel; form.EnableGlass = false; DialogResult dialogResult = form.ShowDialog(); value = textBox.Text; return dialogResult; }
private void InitializeComponent() { this.labelX1 = new LabelX(); this.labelX2 = new LabelX(); this.pbAuthCode = new System.Windows.Forms.PictureBox(); this.tbOrderAuthCode = new TextBoxX(); this.labelX3 = new LabelX(); this.labelX4 = new LabelX(); this.labelX5 = new LabelX(); this.labelX6 = new LabelX(); this.lbxRegTime = new ListBoxAdv(); this.lbDoctorName = new LabelX(); this.lbHospital = new LabelX(); this.lbUserName = new LabelX(); this.lbPhone = new LabelX(); this.lbCardId = new LabelX(); this.lbFee = new LabelX(); this.labelX7 = new LabelX(); this.lbVisitTime = new LabelX(); this.lbMessage = new LabelX(); this.labelX8 = new LabelX(); ((System.ComponentModel.ISupportInitialize)this.pbAuthCode).BeginInit(); base.SuspendLayout(); this.labelX1.BackColor = System.Drawing.Color.Transparent; this.labelX1.BackgroundStyle.CornerType = eCornerType.Square; this.labelX1.ForeColor = System.Drawing.Color.Black; this.labelX1.Location = new System.Drawing.Point(36, 69); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(75, 23); this.labelX1.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX1.TabIndex = 0; this.labelX1.Text = "就诊人:"; this.labelX2.BackColor = System.Drawing.Color.Transparent; this.labelX2.BackgroundStyle.CornerType = eCornerType.Square; this.labelX2.ForeColor = System.Drawing.Color.Black; this.labelX2.Location = new System.Drawing.Point(28, 399); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(75, 23); this.labelX2.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX2.TabIndex = 3; this.labelX2.Text = "验证码:"; this.pbAuthCode.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.pbAuthCode.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.pbAuthCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pbAuthCode.Cursor = System.Windows.Forms.Cursors.Hand; this.pbAuthCode.ForeColor = System.Drawing.Color.Black; this.pbAuthCode.Location = new System.Drawing.Point(191, 380); this.pbAuthCode.Name = "pbAuthCode"; this.pbAuthCode.Size = new System.Drawing.Size(142, 53); this.pbAuthCode.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pbAuthCode.TabIndex = 4; this.pbAuthCode.TabStop = false; this.pbAuthCode.Click += new System.EventHandler(this.pbAuthCode_Click); this.tbOrderAuthCode.BackColor = System.Drawing.Color.White; this.tbOrderAuthCode.Border.Class = "TextBoxBorder"; this.tbOrderAuthCode.Border.CornerType = eCornerType.Square; this.tbOrderAuthCode.DisabledBackColor = System.Drawing.Color.White; this.tbOrderAuthCode.ForeColor = System.Drawing.Color.Black; this.tbOrderAuthCode.Location = new System.Drawing.Point(92, 398); this.tbOrderAuthCode.Name = "tbOrderAuthCode"; this.tbOrderAuthCode.PreventEnterBeep = true; this.tbOrderAuthCode.Size = new System.Drawing.Size(93, 23); this.tbOrderAuthCode.TabIndex = 5; this.tbOrderAuthCode.TextChanged += new System.EventHandler(this.tbOrderAuthCode_TextChanged); this.tbOrderAuthCode.Enter += new System.EventHandler(this.tbOrderAuthCode_Enter); this.labelX3.BackColor = System.Drawing.Color.Transparent; this.labelX3.BackgroundStyle.CornerType = eCornerType.Square; this.labelX3.ForeColor = System.Drawing.Color.Black; this.labelX3.Location = new System.Drawing.Point(321, 69); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(75, 23); this.labelX3.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX3.TabIndex = 6; this.labelX3.Text = "证件号:"; this.labelX4.BackColor = System.Drawing.Color.Transparent; this.labelX4.BackgroundStyle.CornerType = eCornerType.Square; this.labelX4.ForeColor = System.Drawing.Color.Black; this.labelX4.Location = new System.Drawing.Point(27, 98); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(84, 23); this.labelX4.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX4.TabIndex = 7; this.labelX4.Text = "联系电话:"; this.labelX5.BackColor = System.Drawing.Color.Transparent; this.labelX5.BackgroundStyle.CornerType = eCornerType.Square; this.labelX5.ForeColor = System.Drawing.Color.Black; this.labelX5.Location = new System.Drawing.Point(323, 98); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(72, 23); this.labelX5.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX5.TabIndex = 8; this.labelX5.Text = "挂号费:"; this.labelX6.BackColor = System.Drawing.Color.Transparent; this.labelX6.BackgroundStyle.CornerType = eCornerType.Square; this.labelX6.ForeColor = System.Drawing.Color.Black; this.labelX6.Location = new System.Drawing.Point(36, 16); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(84, 23); this.labelX6.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX6.TabIndex = 9; this.labelX6.Text = "预约医生:"; this.lbxRegTime.AutoScroll = true; this.lbxRegTime.BackColor = System.Drawing.Color.FromArgb(254, 254, 254); this.lbxRegTime.BackgroundStyle.Class = "ListBoxAdv"; this.lbxRegTime.BackgroundStyle.CornerType = eCornerType.Square; this.lbxRegTime.ContainerControlProcessDialogKey = true; this.lbxRegTime.DragDropSupport = true; this.lbxRegTime.ForeColor = System.Drawing.Color.Black; this.lbxRegTime.Location = new System.Drawing.Point(24, 174); this.lbxRegTime.Name = "lbxRegTime"; this.lbxRegTime.Size = new System.Drawing.Size(581, 200); this.lbxRegTime.Style = eDotNetBarStyle.StyleManagerControlled; this.lbxRegTime.TabIndex = 11; this.lbxRegTime.Text = "listBoxAdv1"; this.lbxRegTime.SelectedIndexChanged += new System.EventHandler(this.lbxRegTime_SelectedIndexChanged); this.lbDoctorName.BackColor = System.Drawing.Color.Transparent; this.lbDoctorName.BackgroundStyle.CornerType = eCornerType.Square; this.lbDoctorName.ForeColor = System.Drawing.Color.Black; this.lbDoctorName.Location = new System.Drawing.Point(111, 16); this.lbDoctorName.Name = "lbDoctorName"; this.lbDoctorName.Size = new System.Drawing.Size(127, 23); this.lbDoctorName.Style = eDotNetBarStyle.StyleManagerControlled; this.lbDoctorName.TabIndex = 12; this.lbHospital.BackColor = System.Drawing.Color.Transparent; this.lbHospital.BackgroundStyle.CornerType = eCornerType.Square; this.lbHospital.ForeColor = System.Drawing.Color.Black; this.lbHospital.Location = new System.Drawing.Point(111, 42); this.lbHospital.Name = "lbHospital"; this.lbHospital.Size = new System.Drawing.Size(464, 23); this.lbHospital.Style = eDotNetBarStyle.StyleManagerControlled; this.lbHospital.TabIndex = 13; this.lbUserName.BackColor = System.Drawing.Color.Transparent; this.lbUserName.BackgroundStyle.CornerType = eCornerType.Square; this.lbUserName.ForeColor = System.Drawing.Color.Black; this.lbUserName.Location = new System.Drawing.Point(111, 69); this.lbUserName.Name = "lbUserName"; this.lbUserName.Size = new System.Drawing.Size(127, 23); this.lbUserName.Style = eDotNetBarStyle.StyleManagerControlled; this.lbUserName.TabIndex = 14; this.lbPhone.BackColor = System.Drawing.Color.Transparent; this.lbPhone.BackgroundStyle.CornerType = eCornerType.Square; this.lbPhone.ForeColor = System.Drawing.Color.Black; this.lbPhone.Location = new System.Drawing.Point(111, 98); this.lbPhone.Name = "lbPhone"; this.lbPhone.Size = new System.Drawing.Size(127, 23); this.lbPhone.Style = eDotNetBarStyle.StyleManagerControlled; this.lbPhone.TabIndex = 15; this.lbCardId.BackColor = System.Drawing.Color.Transparent; this.lbCardId.BackgroundStyle.CornerType = eCornerType.Square; this.lbCardId.ForeColor = System.Drawing.Color.Black; this.lbCardId.Location = new System.Drawing.Point(384, 69); this.lbCardId.Name = "lbCardId"; this.lbCardId.Size = new System.Drawing.Size(191, 23); this.lbCardId.Style = eDotNetBarStyle.StyleManagerControlled; this.lbCardId.TabIndex = 16; this.lbFee.BackColor = System.Drawing.Color.Transparent; this.lbFee.BackgroundStyle.CornerType = eCornerType.Square; this.lbFee.Font = new System.Drawing.Font("Microsoft YaHei", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134); this.lbFee.ForeColor = System.Drawing.Color.Black; this.lbFee.Location = new System.Drawing.Point(384, 98); this.lbFee.Name = "lbFee"; this.lbFee.Size = new System.Drawing.Size(127, 23); this.lbFee.Style = eDotNetBarStyle.StyleManagerControlled; this.lbFee.TabIndex = 17; this.labelX7.BackColor = System.Drawing.Color.Transparent; this.labelX7.BackgroundStyle.CornerType = eCornerType.Square; this.labelX7.ForeColor = System.Drawing.Color.Black; this.labelX7.Location = new System.Drawing.Point(27, 127); this.labelX7.Name = "labelX7"; this.labelX7.Size = new System.Drawing.Size(84, 23); this.labelX7.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX7.TabIndex = 18; this.labelX7.Text = "就诊时间:"; this.lbVisitTime.BackColor = System.Drawing.Color.Transparent; this.lbVisitTime.BackgroundStyle.CornerType = eCornerType.Square; this.lbVisitTime.ForeColor = System.Drawing.Color.Black; this.lbVisitTime.Location = new System.Drawing.Point(111, 126); this.lbVisitTime.Name = "lbVisitTime"; this.lbVisitTime.Size = new System.Drawing.Size(194, 23); this.lbVisitTime.Style = eDotNetBarStyle.StyleManagerControlled; this.lbVisitTime.TabIndex = 19; this.lbMessage.BackColor = System.Drawing.Color.Transparent; this.lbMessage.BackgroundStyle.CornerType = eCornerType.Square; this.lbMessage.ForeColor = System.Drawing.Color.Black; this.lbMessage.Location = new System.Drawing.Point(339, 389); this.lbMessage.Name = "lbMessage"; this.lbMessage.Size = new System.Drawing.Size(274, 35); this.lbMessage.Style = eDotNetBarStyle.StyleManagerControlled; this.lbMessage.TabIndex = 20; this.labelX8.BackgroundStyle.CornerType = eCornerType.Square; this.labelX8.Location = new System.Drawing.Point(25, 151); this.labelX8.Name = "labelX8"; this.labelX8.Size = new System.Drawing.Size(280, 23); this.labelX8.Style = eDotNetBarStyle.StyleManagerControlled; this.labelX8.TabIndex = 22; this.labelX8.Text = "<font color=\"Red\">(请在以下时间列表中选择后填写验证码)</font>"; base.AutoScaleDimensions = new System.Drawing.SizeF(7f, 14f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(625, 438); base.Controls.Add(this.labelX8); base.Controls.Add(this.lbMessage); base.Controls.Add(this.lbVisitTime); base.Controls.Add(this.labelX7); base.Controls.Add(this.lbFee); base.Controls.Add(this.lbCardId); base.Controls.Add(this.lbPhone); base.Controls.Add(this.lbUserName); base.Controls.Add(this.lbHospital); base.Controls.Add(this.lbDoctorName); base.Controls.Add(this.lbxRegTime); base.Controls.Add(this.labelX6); base.Controls.Add(this.labelX5); base.Controls.Add(this.labelX4); base.Controls.Add(this.labelX3); base.Controls.Add(this.tbOrderAuthCode); base.Controls.Add(this.pbAuthCode); base.Controls.Add(this.labelX2); base.Controls.Add(this.labelX1); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("SimSun", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "OrderForm"; base.ShowIcon = false; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "订单信息"; base.Load += new System.EventHandler(this.OrderForm_Load); ((System.ComponentModel.ISupportInitialize)this.pbAuthCode).EndInit(); base.ResumeLayout(false); }
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); }
private void labelX_predmet_DoubleClick(object sender, System.EventArgs e) { var lbl = (sender as LabelX); if (lbl != null) { _lastLabel = lbl; _lastTbx = new TextBoxX { Size = new Size(lbl.Size.Width - 5, lbl.Size.Height), Location = new Point(lbl.Location.X+4, lbl.Location.Y + 4), Text = lbl.Text, BackColor = Color.FromArgb(255,65,66,66)}; _lastTbx.LostFocus += tbx_LostFocus; _lastTbx.KeyDown += _lastTbx_KeyDown; Controls.Add(_lastTbx); _lastTbx.BringToFront(); _lastTbx.Focus(); } }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.tabContent = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.splClass = new DevComponents.DotNetBar.ExpandableSplitter(); this.pnlWhomLPView = new System.Windows.Forms.Panel(); this.tabClassCalendar = new DevComponents.DotNetBar.TabControl(); this.tabControlPanelClass = new DevComponents.DotNetBar.TabControlPanel(); this.tabItemClass = new DevComponents.DotNetBar.TabItem(this.components); this.pnlWhomList = new System.Windows.Forms.Panel(); this.panel10 = new System.Windows.Forms.Panel(); this.grdClassCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.colClassStatus = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn70 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn71 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn78 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSubject = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn80 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn73 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn74 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel3 = new System.Windows.Forms.Panel(); this.labelX6 = new DevComponents.DotNetBar.LabelX(); this.lblClass = new DevComponents.DotNetBar.LabelX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.btnClassEventExpand = new DevComponents.DotNetBar.ButtonX(); this.tabClass = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.pnlWhoList = new System.Windows.Forms.Panel(); this.grdTeacherCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.colStatus = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSolutionCount = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colWeekDay = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colPeriodNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colSubjectName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colCourseName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colLength = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.colWhoName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel5 = new System.Windows.Forms.Panel(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.lblTeacher = new DevComponents.DotNetBar.LabelX(); this.btnTeacherEventExpand = new DevComponents.DotNetBar.ButtonX(); this.splTeacher = new DevComponents.DotNetBar.ExpandableSplitter(); this.pnlWhoLPView = new System.Windows.Forms.Panel(); this.tabTeacherCalendar = new DevComponents.DotNetBar.TabControl(); this.tabControlPanelTeacher = new DevComponents.DotNetBar.TabControlPanel(); this.tabItemTeacher = new DevComponents.DotNetBar.TabItem(this.components); this.tabTeacher = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabControlPanel8 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.pnlWhereList = new System.Windows.Forms.Panel(); this.panel15 = new System.Windows.Forms.Panel(); this.grdPlaceCalendar = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel16 = new System.Windows.Forms.Panel(); this.lblClassroom = new DevComponents.DotNetBar.LabelX(); this.labelX12 = new DevComponents.DotNetBar.LabelX(); this.labelX13 = new DevComponents.DotNetBar.LabelX(); this.btnClassroomEventExpand = new DevComponents.DotNetBar.ButtonX(); this.splClassroom = new DevComponents.DotNetBar.ExpandableSplitter(); this.pnlWhereLPView = new System.Windows.Forms.Panel(); this.tabClassroomCalendar = new DevComponents.DotNetBar.TabControl(); this.tabControlPanelClassroom = new DevComponents.DotNetBar.TabControlPanel(); this.tabItem4 = new DevComponents.DotNetBar.TabItem(this.components); this.tabClassroom = new DevComponents.DotNetBar.SuperTabItem(); this.tabPlace = new DevComponents.DotNetBar.SuperTabItem(); this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); this.LeftNavigationPanel = new DevComponents.DotNetBar.NavigationPane(); this.pnlTeacher = new DevComponents.DotNetBar.NavigationPanePanel(); this.btnTeacher = new DevComponents.DotNetBar.ButtonItem(); this.pnlClassroom = new DevComponents.DotNetBar.NavigationPanePanel(); this.pnlClass = new DevComponents.DotNetBar.NavigationPanePanel(); this.btnClass = new DevComponents.DotNetBar.ButtonItem(); this.pnlPlace = new DevComponents.DotNetBar.NavigationPanePanel(); this.btnClassroom = new DevComponents.DotNetBar.ButtonItem(); this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panel12 = new System.Windows.Forms.Panel(); this.dataGridViewX2 = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel13 = new System.Windows.Forms.Panel(); this.labelX9 = new DevComponents.DotNetBar.LabelX(); this.labelX10 = new DevComponents.DotNetBar.LabelX(); this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); this.expandableSplitter3 = new DevComponents.DotNetBar.ExpandableSplitter(); this.panel14 = new System.Windows.Forms.Panel(); this.tabControl2 = new DevComponents.DotNetBar.TabControl(); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.tabItem2 = new DevComponents.DotNetBar.TabItem(this.components); this.superTabItem3 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel7 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabItem4 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter(); this.panel7 = new System.Windows.Forms.Panel(); this.tabControl1 = new DevComponents.DotNetBar.TabControl(); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components); this.panel8 = new System.Windows.Forms.Panel(); this.panel9 = new System.Windows.Forms.Panel(); this.dataGridViewX1 = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel11 = new System.Windows.Forms.Panel(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.labelX7 = new DevComponents.DotNetBar.LabelX(); this.labelX8 = new DevComponents.DotNetBar.LabelX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.superTabItem2 = new DevComponents.DotNetBar.SuperTabItem(); this.expandableSplitter4 = new DevComponents.DotNetBar.ExpandableSplitter(); this.navigationPane1 = new DevComponents.DotNetBar.NavigationPane(); this.navigationPanePanel1 = new DevComponents.DotNetBar.NavigationPanePanel(); this.ContentPanePanel.SuspendLayout(); this.panel2.SuspendLayout(); this.panel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabContent)).BeginInit(); this.tabContent.SuspendLayout(); this.superTabControlPanel2.SuspendLayout(); this.pnlWhomLPView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabClassCalendar)).BeginInit(); this.tabClassCalendar.SuspendLayout(); this.pnlWhomList.SuspendLayout(); this.panel10.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdClassCalendar)).BeginInit(); this.panel3.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.pnlWhoList.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdTeacherCalendar)).BeginInit(); this.panel5.SuspendLayout(); this.pnlWhoLPView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabTeacherCalendar)).BeginInit(); this.tabTeacherCalendar.SuspendLayout(); this.superTabControlPanel4.SuspendLayout(); this.superTabControlPanel8.SuspendLayout(); this.pnlWhereList.SuspendLayout(); this.panel15.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grdPlaceCalendar)).BeginInit(); this.panel16.SuspendLayout(); this.pnlWhereLPView.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabClassroomCalendar)).BeginInit(); this.tabClassroomCalendar.SuspendLayout(); this.LeftNavigationPanel.SuspendLayout(); this.panel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); this.superTabControl1.SuspendLayout(); this.superTabControlPanel6.SuspendLayout(); this.panel12.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).BeginInit(); this.panel13.SuspendLayout(); this.panel14.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).BeginInit(); this.tabControl2.SuspendLayout(); this.superTabControlPanel5.SuspendLayout(); this.panel7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.panel8.SuspendLayout(); this.panel9.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).BeginInit(); this.panel11.SuspendLayout(); this.navigationPane1.SuspendLayout(); this.SuspendLayout(); // // ContentPanePanel // this.ContentPanePanel.Controls.Add(this.panel2); this.ContentPanePanel.Location = new System.Drawing.Point(0, 163); this.ContentPanePanel.Size = new System.Drawing.Size(1016, 504); // // panel2 // this.panel2.Controls.Add(this.panel4); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1016, 504); this.panel2.TabIndex = 1; // // panel4 // this.panel4.Controls.Add(this.tabContent); this.panel4.Controls.Add(this.expandableSplitter1); this.panel4.Controls.Add(this.LeftNavigationPanel); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(1016, 504); this.panel4.TabIndex = 2; // // tabContent // // // // // // // this.tabContent.ControlBox.CloseBox.Name = ""; // // // this.tabContent.ControlBox.MenuBox.Name = ""; this.tabContent.ControlBox.Name = ""; this.tabContent.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.tabContent.ControlBox.MenuBox, this.tabContent.ControlBox.CloseBox}); this.tabContent.Controls.Add(this.superTabControlPanel1); this.tabContent.Controls.Add(this.superTabControlPanel2); this.tabContent.Controls.Add(this.superTabControlPanel4); this.tabContent.Dock = System.Windows.Forms.DockStyle.Fill; this.tabContent.Location = new System.Drawing.Point(209, 0); this.tabContent.Name = "tabContent"; this.tabContent.ReorderTabsEnabled = true; this.tabContent.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabContent.SelectedTabIndex = 0; this.tabContent.Size = new System.Drawing.Size(807, 504); this.tabContent.TabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.tabContent.TabIndex = 11; this.tabContent.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.tabTeacher, this.tabClass, this.tabPlace}); this.tabContent.TabsVisible = false; this.tabContent.Text = "superTabControl1"; // // superTabControlPanel2 // this.superTabControlPanel2.Controls.Add(this.splClass); this.superTabControlPanel2.Controls.Add(this.pnlWhomList); this.superTabControlPanel2.Controls.Add(this.pnlWhomLPView); this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel2.Name = "superTabControlPanel2"; this.superTabControlPanel2.Size = new System.Drawing.Size(807, 504); this.superTabControlPanel2.TabIndex = 0; this.superTabControlPanel2.TabItem = this.tabClass; // // splClass // this.splClass.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClass.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClass.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.splClass.Dock = System.Windows.Forms.DockStyle.Right; this.splClass.ExpandableControl = this.pnlWhomLPView; this.splClass.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClass.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClass.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClass.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClass.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClass.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClass.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splClass.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splClass.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.splClass.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.splClass.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.splClass.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.splClass.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClass.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClass.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClass.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClass.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClass.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClass.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splClass.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splClass.Location = new System.Drawing.Point(204, 0); this.splClass.Name = "splClass"; this.splClass.Size = new System.Drawing.Size(3, 504); this.splClass.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.splClass.TabIndex = 2; this.splClass.TabStop = false; // // pnlWhomLPView // this.pnlWhomLPView.Controls.Add(this.tabClassCalendar); this.pnlWhomLPView.Dock = System.Windows.Forms.DockStyle.Right; this.pnlWhomLPView.Location = new System.Drawing.Point(207, 0); this.pnlWhomLPView.Name = "pnlWhomLPView"; this.pnlWhomLPView.Size = new System.Drawing.Size(600, 504); this.pnlWhomLPView.TabIndex = 0; // // tabClassCalendar // this.tabClassCalendar.AutoCloseTabs = true; this.tabClassCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247))))); this.tabClassCalendar.CanReorderTabs = true; this.tabClassCalendar.CloseButtonOnTabsVisible = true; this.tabClassCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabClassCalendar.Controls.Add(this.tabControlPanelClass); this.tabClassCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.tabClassCalendar.Location = new System.Drawing.Point(0, 0); this.tabClassCalendar.Name = "tabClassCalendar"; this.tabClassCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabClassCalendar.SelectedTabIndex = -1; this.tabClassCalendar.Size = new System.Drawing.Size(600, 504); this.tabClassCalendar.TabIndex = 2; this.tabClassCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabClassCalendar.Tabs.Add(this.tabItemClass); this.tabClassCalendar.Text = "tabControl1"; this.tabClassCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose); // // tabControlPanelClass // this.tabControlPanelClass.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanelClass.Location = new System.Drawing.Point(0, 28); this.tabControlPanelClass.Name = "tabControlPanelClass"; this.tabControlPanelClass.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanelClass.Size = new System.Drawing.Size(600, 476); this.tabControlPanelClass.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanelClass.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanelClass.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanelClass.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanelClass.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanelClass.Style.GradientAngle = 90; this.tabControlPanelClass.TabIndex = 1; this.tabControlPanelClass.TabItem = this.tabItemClass; // // tabItemClass // this.tabItemClass.AttachedControl = this.tabControlPanelClass; this.tabItemClass.CloseButtonVisible = false; this.tabItemClass.Name = "tabItemClass"; this.tabItemClass.Text = "行事曆"; // // pnlWhomList // this.pnlWhomList.Controls.Add(this.panel10); this.pnlWhomList.Controls.Add(this.panel3); this.pnlWhomList.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlWhomList.Location = new System.Drawing.Point(0, 0); this.pnlWhomList.Name = "pnlWhomList"; this.pnlWhomList.Size = new System.Drawing.Size(207, 504); this.pnlWhomList.TabIndex = 1; // // panel10 // this.panel10.Controls.Add(this.grdClassCalendar); this.panel10.Dock = System.Windows.Forms.DockStyle.Fill; this.panel10.Location = new System.Drawing.Point(0, 35); this.panel10.Name = "panel10"; this.panel10.Size = new System.Drawing.Size(207, 469); this.panel10.TabIndex = 10; // // grdClassCalendar // this.grdClassCalendar.AllowUserToAddRows = false; this.grdClassCalendar.AllowUserToDeleteRows = false; this.grdClassCalendar.AllowUserToOrderColumns = true; this.grdClassCalendar.AllowUserToResizeRows = false; this.grdClassCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.grdClassCalendar.BackgroundColor = System.Drawing.Color.White; this.grdClassCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdClassCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colClassStatus, this.dataGridViewTextBoxColumn70, this.dataGridViewTextBoxColumn71, this.dataGridViewTextBoxColumn78, this.colSubject, this.dataGridViewTextBoxColumn80, this.dataGridViewTextBoxColumn73, this.dataGridViewTextBoxColumn74}); dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle8.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.grdClassCalendar.DefaultCellStyle = dataGridViewCellStyle8; this.grdClassCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.grdClassCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grdClassCalendar.Location = new System.Drawing.Point(0, 0); this.grdClassCalendar.Name = "grdClassCalendar"; this.grdClassCalendar.ReadOnly = true; this.grdClassCalendar.RowHeadersVisible = false; this.grdClassCalendar.RowTemplate.Height = 24; this.grdClassCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdClassCalendar.Size = new System.Drawing.Size(207, 469); this.grdClassCalendar.TabIndex = 10; this.grdClassCalendar.VirtualMode = true; this.grdClassCalendar.SelectionChanged += new System.EventHandler(this.grdClassCalendar_SelectionChanged); // // colClassStatus // this.colClassStatus.DataPropertyName = "Status"; this.colClassStatus.HeaderText = "狀態"; this.colClassStatus.Name = "colClassStatus"; this.colClassStatus.ReadOnly = true; this.colClassStatus.Width = 54; // // dataGridViewTextBoxColumn70 // this.dataGridViewTextBoxColumn70.DataPropertyName = "Date"; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle5; this.dataGridViewTextBoxColumn70.HeaderText = "日期"; this.dataGridViewTextBoxColumn70.MinimumWidth = 60; this.dataGridViewTextBoxColumn70.Name = "dataGridViewTextBoxColumn70"; this.dataGridViewTextBoxColumn70.ReadOnly = true; this.dataGridViewTextBoxColumn70.Width = 60; // // dataGridViewTextBoxColumn71 // this.dataGridViewTextBoxColumn71.DataPropertyName = "DisplayWeekDay"; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn71.DefaultCellStyle = dataGridViewCellStyle6; this.dataGridViewTextBoxColumn71.HeaderText = "星期"; this.dataGridViewTextBoxColumn71.MinimumWidth = 40; this.dataGridViewTextBoxColumn71.Name = "dataGridViewTextBoxColumn71"; this.dataGridViewTextBoxColumn71.ReadOnly = true; this.dataGridViewTextBoxColumn71.Width = 54; // // dataGridViewTextBoxColumn78 // this.dataGridViewTextBoxColumn78.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn78.DataPropertyName = "Period"; dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn78.DefaultCellStyle = dataGridViewCellStyle7; this.dataGridViewTextBoxColumn78.HeaderText = "節次"; this.dataGridViewTextBoxColumn78.Name = "dataGridViewTextBoxColumn78"; this.dataGridViewTextBoxColumn78.ReadOnly = true; this.dataGridViewTextBoxColumn78.Width = 54; // // colSubject // this.colSubject.DataPropertyName = "Subject"; this.colSubject.HeaderText = "科目名稱"; this.colSubject.Name = "colSubject"; this.colSubject.ReadOnly = true; this.colSubject.Width = 78; // // dataGridViewTextBoxColumn80 // this.dataGridViewTextBoxColumn80.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.dataGridViewTextBoxColumn80.DataPropertyName = "TeacherName"; this.dataGridViewTextBoxColumn80.HeaderText = "教師名稱"; this.dataGridViewTextBoxColumn80.Name = "dataGridViewTextBoxColumn80"; this.dataGridViewTextBoxColumn80.ReadOnly = true; this.dataGridViewTextBoxColumn80.Width = 78; // // dataGridViewTextBoxColumn73 // this.dataGridViewTextBoxColumn73.DataPropertyName = "ClassName"; this.dataGridViewTextBoxColumn73.HeaderText = "班級名稱"; this.dataGridViewTextBoxColumn73.Name = "dataGridViewTextBoxColumn73"; this.dataGridViewTextBoxColumn73.ReadOnly = true; this.dataGridViewTextBoxColumn73.Width = 78; // // dataGridViewTextBoxColumn74 // this.dataGridViewTextBoxColumn74.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn74.DataPropertyName = "ClassroomName"; this.dataGridViewTextBoxColumn74.HeaderText = "場地名稱"; this.dataGridViewTextBoxColumn74.Name = "dataGridViewTextBoxColumn74"; this.dataGridViewTextBoxColumn74.ReadOnly = true; this.dataGridViewTextBoxColumn74.Width = 78; // // panel3 // this.panel3.Controls.Add(this.labelX6); this.panel3.Controls.Add(this.lblClass); this.panel3.Controls.Add(this.labelX3); this.panel3.Controls.Add(this.labelX1); this.panel3.Controls.Add(this.btnClassEventExpand); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(207, 35); this.panel3.TabIndex = 9; // // labelX6 // this.labelX6.Anchor = System.Windows.Forms.AnchorStyles.Right; this.labelX6.AutoSize = true; // // // this.labelX6.BackgroundStyle.Class = ""; this.labelX6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX6.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX6.Location = new System.Drawing.Point(48, 4); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(123, 26); this.labelX6.TabIndex = 4; this.labelX6.Text = "黃色為未排分課"; this.labelX6.Visible = false; // // lblClass // this.lblClass.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblClass.AutoSize = true; // // // this.lblClass.BackgroundStyle.Class = ""; this.lblClass.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblClass.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.lblClass.Location = new System.Drawing.Point(7, 4); this.lblClass.Name = "lblClass"; this.lblClass.Size = new System.Drawing.Size(0, 0); this.lblClass.TabIndex = 3; // // labelX3 // this.labelX3.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX3.AutoSize = true; // // // this.labelX3.BackgroundStyle.Class = ""; this.labelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX3.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX3.Location = new System.Drawing.Point(7, 4); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(0, 0); this.labelX3.TabIndex = 2; // // labelX1 // this.labelX1.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX1.AutoSize = true; // // // this.labelX1.BackgroundStyle.Class = ""; this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX1.Location = new System.Drawing.Point(7, 4); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(0, 0); this.labelX1.TabIndex = 1; // // btnClassEventExpand // this.btnClassEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnClassEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnClassEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnClassEventExpand.Location = new System.Drawing.Point(173, 5); this.btnClassEventExpand.Name = "btnClassEventExpand"; this.btnClassEventExpand.Size = new System.Drawing.Size(28, 23); this.btnClassEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnClassEventExpand.TabIndex = 0; this.btnClassEventExpand.Text = ">>"; // // tabClass // this.tabClass.AttachedControl = this.superTabControlPanel2; this.tabClass.GlobalItem = false; this.tabClass.Name = "tabClass"; this.tabClass.Text = "班級"; // // superTabControlPanel1 // this.superTabControlPanel1.Controls.Add(this.pnlWhoList); this.superTabControlPanel1.Controls.Add(this.splTeacher); this.superTabControlPanel1.Controls.Add(this.pnlWhoLPView); this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel1.Location = new System.Drawing.Point(0, 30); this.superTabControlPanel1.Name = "superTabControlPanel1"; this.superTabControlPanel1.Size = new System.Drawing.Size(807, 474); this.superTabControlPanel1.TabIndex = 1; this.superTabControlPanel1.TabItem = this.tabTeacher; // // pnlWhoList // this.pnlWhoList.Controls.Add(this.grdTeacherCalendar); this.pnlWhoList.Controls.Add(this.panel5); this.pnlWhoList.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlWhoList.Location = new System.Drawing.Point(0, 0); this.pnlWhoList.Name = "pnlWhoList"; this.pnlWhoList.Size = new System.Drawing.Size(204, 474); this.pnlWhoList.TabIndex = 6; // // grdTeacherCalendar // this.grdTeacherCalendar.AllowUserToAddRows = false; this.grdTeacherCalendar.AllowUserToDeleteRows = false; this.grdTeacherCalendar.AllowUserToOrderColumns = true; this.grdTeacherCalendar.AllowUserToResizeRows = false; this.grdTeacherCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.grdTeacherCalendar.BackgroundColor = System.Drawing.Color.White; this.grdTeacherCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdTeacherCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.colStatus, this.colSolutionCount, this.colWeekDay, this.colPeriodNo, this.colSubjectName, this.colCourseName, this.colLength, this.colWhoName}); dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle4.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.grdTeacherCalendar.DefaultCellStyle = dataGridViewCellStyle4; this.grdTeacherCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.grdTeacherCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grdTeacherCalendar.Location = new System.Drawing.Point(0, 35); this.grdTeacherCalendar.Name = "grdTeacherCalendar"; this.grdTeacherCalendar.ReadOnly = true; this.grdTeacherCalendar.RowHeadersVisible = false; this.grdTeacherCalendar.RowTemplate.Height = 24; this.grdTeacherCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdTeacherCalendar.Size = new System.Drawing.Size(204, 439); this.grdTeacherCalendar.TabIndex = 9; this.grdTeacherCalendar.VirtualMode = true; this.grdTeacherCalendar.SelectionChanged += new System.EventHandler(this.grdTeacherCalendar_SelectionChanged); // // colStatus // this.colStatus.DataPropertyName = "Status"; this.colStatus.HeaderText = "狀態"; this.colStatus.Name = "colStatus"; this.colStatus.ReadOnly = true; this.colStatus.Width = 54; // // colSolutionCount // this.colSolutionCount.DataPropertyName = "Date"; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.colSolutionCount.DefaultCellStyle = dataGridViewCellStyle1; this.colSolutionCount.HeaderText = "日期"; this.colSolutionCount.MinimumWidth = 60; this.colSolutionCount.Name = "colSolutionCount"; this.colSolutionCount.ReadOnly = true; this.colSolutionCount.Width = 60; // // colWeekDay // this.colWeekDay.DataPropertyName = "DisplayWeekDay"; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.colWeekDay.DefaultCellStyle = dataGridViewCellStyle2; this.colWeekDay.HeaderText = "星期"; this.colWeekDay.MinimumWidth = 40; this.colWeekDay.Name = "colWeekDay"; this.colWeekDay.ReadOnly = true; this.colWeekDay.Width = 54; // // colPeriodNo // this.colPeriodNo.DataPropertyName = "Period"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.colPeriodNo.DefaultCellStyle = dataGridViewCellStyle3; this.colPeriodNo.HeaderText = "節次"; this.colPeriodNo.Name = "colPeriodNo"; this.colPeriodNo.ReadOnly = true; this.colPeriodNo.Width = 54; // // colSubjectName // this.colSubjectName.DataPropertyName = "Subject"; this.colSubjectName.HeaderText = "科目名稱"; this.colSubjectName.Name = "colSubjectName"; this.colSubjectName.ReadOnly = true; this.colSubjectName.Width = 78; // // colCourseName // this.colCourseName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.colCourseName.DataPropertyName = "TeacherName"; this.colCourseName.HeaderText = "教師名稱"; this.colCourseName.Name = "colCourseName"; this.colCourseName.ReadOnly = true; this.colCourseName.Width = 78; // // colLength // this.colLength.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.colLength.DataPropertyName = "ClassName"; this.colLength.HeaderText = "班級名稱"; this.colLength.Name = "colLength"; this.colLength.ReadOnly = true; this.colLength.Width = 78; // // colWhoName // this.colWhoName.DataPropertyName = "ClassroomName"; this.colWhoName.HeaderText = "場地名稱"; this.colWhoName.Name = "colWhoName"; this.colWhoName.ReadOnly = true; this.colWhoName.Width = 78; // // panel5 // this.panel5.Controls.Add(this.labelX2); this.panel5.Controls.Add(this.lblTeacher); this.panel5.Controls.Add(this.btnTeacherEventExpand); this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(0, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(204, 35); this.panel5.TabIndex = 8; // // labelX2 // this.labelX2.Anchor = System.Windows.Forms.AnchorStyles.Right; this.labelX2.AutoSize = true; // // // this.labelX2.BackgroundStyle.Class = ""; this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX2.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX2.Location = new System.Drawing.Point(23, 3); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(140, 26); this.labelX2.TabIndex = 2; this.labelX2.Text = "灰色為停課行事曆"; this.labelX2.Visible = false; // // lblTeacher // this.lblTeacher.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblTeacher.AutoSize = true; // // // this.lblTeacher.BackgroundStyle.Class = ""; this.lblTeacher.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblTeacher.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.lblTeacher.Location = new System.Drawing.Point(7, 4); this.lblTeacher.Name = "lblTeacher"; this.lblTeacher.Size = new System.Drawing.Size(0, 0); this.lblTeacher.TabIndex = 1; // // btnTeacherEventExpand // this.btnTeacherEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnTeacherEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnTeacherEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnTeacherEventExpand.Location = new System.Drawing.Point(170, 5); this.btnTeacherEventExpand.Name = "btnTeacherEventExpand"; this.btnTeacherEventExpand.Size = new System.Drawing.Size(28, 23); this.btnTeacherEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnTeacherEventExpand.TabIndex = 0; this.btnTeacherEventExpand.Text = ">>"; // // splTeacher // this.splTeacher.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splTeacher.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splTeacher.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.splTeacher.Dock = System.Windows.Forms.DockStyle.Right; this.splTeacher.ExpandableControl = this.pnlWhoLPView; this.splTeacher.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splTeacher.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splTeacher.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splTeacher.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splTeacher.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splTeacher.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splTeacher.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splTeacher.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splTeacher.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.splTeacher.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.splTeacher.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.splTeacher.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.splTeacher.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splTeacher.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splTeacher.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splTeacher.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splTeacher.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splTeacher.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splTeacher.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splTeacher.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splTeacher.Location = new System.Drawing.Point(204, 0); this.splTeacher.Name = "splTeacher"; this.splTeacher.Size = new System.Drawing.Size(3, 474); this.splTeacher.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.splTeacher.TabIndex = 5; this.splTeacher.TabStop = false; // // pnlWhoLPView // this.pnlWhoLPView.Controls.Add(this.tabTeacherCalendar); this.pnlWhoLPView.Dock = System.Windows.Forms.DockStyle.Right; this.pnlWhoLPView.Location = new System.Drawing.Point(207, 0); this.pnlWhoLPView.Name = "pnlWhoLPView"; this.pnlWhoLPView.Size = new System.Drawing.Size(600, 474); this.pnlWhoLPView.TabIndex = 4; // // tabTeacherCalendar // this.tabTeacherCalendar.AutoCloseTabs = true; this.tabTeacherCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247))))); this.tabTeacherCalendar.CanReorderTabs = true; this.tabTeacherCalendar.CloseButtonOnTabsVisible = true; this.tabTeacherCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabTeacherCalendar.Controls.Add(this.tabControlPanelTeacher); this.tabTeacherCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.tabTeacherCalendar.Location = new System.Drawing.Point(0, 0); this.tabTeacherCalendar.Name = "tabTeacherCalendar"; this.tabTeacherCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabTeacherCalendar.SelectedTabIndex = -1; this.tabTeacherCalendar.Size = new System.Drawing.Size(600, 474); this.tabTeacherCalendar.TabIndex = 1; this.tabTeacherCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabTeacherCalendar.Tabs.Add(this.tabItemTeacher); this.tabTeacherCalendar.Text = "tabControl1"; this.tabTeacherCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose); // // tabControlPanelTeacher // this.tabControlPanelTeacher.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanelTeacher.Location = new System.Drawing.Point(0, 28); this.tabControlPanelTeacher.Name = "tabControlPanelTeacher"; this.tabControlPanelTeacher.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanelTeacher.Size = new System.Drawing.Size(600, 446); this.tabControlPanelTeacher.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanelTeacher.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanelTeacher.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanelTeacher.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanelTeacher.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanelTeacher.Style.GradientAngle = 90; this.tabControlPanelTeacher.TabIndex = 1; this.tabControlPanelTeacher.TabItem = this.tabItemTeacher; // // tabItemTeacher // this.tabItemTeacher.AttachedControl = this.tabControlPanelTeacher; this.tabItemTeacher.CloseButtonVisible = false; this.tabItemTeacher.Name = "tabItemTeacher"; this.tabItemTeacher.Text = "行事曆"; // // tabTeacher // this.tabTeacher.AttachedControl = this.superTabControlPanel1; this.tabTeacher.GlobalItem = false; this.tabTeacher.Name = "tabTeacher"; this.tabTeacher.Text = "教師"; // // superTabControlPanel4 // this.superTabControlPanel4.Controls.Add(this.superTabControlPanel8); this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel4.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel4.Name = "superTabControlPanel4"; this.superTabControlPanel4.Size = new System.Drawing.Size(807, 504); this.superTabControlPanel4.TabIndex = 1; this.superTabControlPanel4.TabItem = this.tabPlace; // // superTabControlPanel8 // this.superTabControlPanel8.Controls.Add(this.pnlWhereList); this.superTabControlPanel8.Controls.Add(this.splClassroom); this.superTabControlPanel8.Controls.Add(this.pnlWhereLPView); this.superTabControlPanel8.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel8.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel8.Name = "superTabControlPanel8"; this.superTabControlPanel8.Size = new System.Drawing.Size(807, 504); this.superTabControlPanel8.TabIndex = 1; this.superTabControlPanel8.TabItem = this.tabClassroom; // // pnlWhereList // this.pnlWhereList.Controls.Add(this.panel15); this.pnlWhereList.Controls.Add(this.panel16); this.pnlWhereList.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlWhereList.Location = new System.Drawing.Point(0, 0); this.pnlWhereList.Name = "pnlWhereList"; this.pnlWhereList.Size = new System.Drawing.Size(204, 504); this.pnlWhereList.TabIndex = 2; // // panel15 // this.panel15.Controls.Add(this.grdPlaceCalendar); this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; this.panel15.Location = new System.Drawing.Point(0, 35); this.panel15.Name = "panel15"; this.panel15.Size = new System.Drawing.Size(204, 469); this.panel15.TabIndex = 11; // // grdPlaceCalendar // this.grdPlaceCalendar.AllowUserToAddRows = false; this.grdPlaceCalendar.AllowUserToDeleteRows = false; this.grdPlaceCalendar.AllowUserToOrderColumns = true; this.grdPlaceCalendar.AllowUserToResizeRows = false; this.grdPlaceCalendar.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.grdPlaceCalendar.BackgroundColor = System.Drawing.Color.White; this.grdPlaceCalendar.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.grdPlaceCalendar.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn24, this.dataGridViewTextBoxColumn17, this.dataGridViewTextBoxColumn18, this.dataGridViewTextBoxColumn19, this.dataGridViewTextBoxColumn20, this.dataGridViewTextBoxColumn21, this.dataGridViewTextBoxColumn22, this.dataGridViewTextBoxColumn23}); dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle12.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.grdPlaceCalendar.DefaultCellStyle = dataGridViewCellStyle12; this.grdPlaceCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.grdPlaceCalendar.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.grdPlaceCalendar.Location = new System.Drawing.Point(0, 0); this.grdPlaceCalendar.Name = "grdPlaceCalendar"; this.grdPlaceCalendar.ReadOnly = true; this.grdPlaceCalendar.RowHeadersVisible = false; this.grdPlaceCalendar.RowTemplate.Height = 24; this.grdPlaceCalendar.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.grdPlaceCalendar.Size = new System.Drawing.Size(204, 469); this.grdPlaceCalendar.TabIndex = 11; this.grdPlaceCalendar.VirtualMode = true; // // dataGridViewTextBoxColumn24 // this.dataGridViewTextBoxColumn24.DataPropertyName = "Status"; this.dataGridViewTextBoxColumn24.HeaderText = "狀態"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; this.dataGridViewTextBoxColumn24.ReadOnly = true; this.dataGridViewTextBoxColumn24.Width = 54; // // dataGridViewTextBoxColumn17 // this.dataGridViewTextBoxColumn17.DataPropertyName = "Date"; dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle9; this.dataGridViewTextBoxColumn17.HeaderText = "日期"; this.dataGridViewTextBoxColumn17.MinimumWidth = 60; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; this.dataGridViewTextBoxColumn17.ReadOnly = true; this.dataGridViewTextBoxColumn17.Width = 60; // // dataGridViewTextBoxColumn18 // this.dataGridViewTextBoxColumn18.DataPropertyName = "DisplayWeekDay"; dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle10; this.dataGridViewTextBoxColumn18.HeaderText = "星期"; this.dataGridViewTextBoxColumn18.MinimumWidth = 40; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; this.dataGridViewTextBoxColumn18.ReadOnly = true; this.dataGridViewTextBoxColumn18.Width = 54; // // dataGridViewTextBoxColumn19 // this.dataGridViewTextBoxColumn19.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn19.DataPropertyName = "Period"; dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle11; this.dataGridViewTextBoxColumn19.HeaderText = "節次"; this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; this.dataGridViewTextBoxColumn19.ReadOnly = true; this.dataGridViewTextBoxColumn19.Width = 54; // // dataGridViewTextBoxColumn20 // this.dataGridViewTextBoxColumn20.DataPropertyName = "Subject"; this.dataGridViewTextBoxColumn20.HeaderText = "科目名稱"; this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; this.dataGridViewTextBoxColumn20.ReadOnly = true; this.dataGridViewTextBoxColumn20.Width = 78; // // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.dataGridViewTextBoxColumn21.DataPropertyName = "TeacherName"; this.dataGridViewTextBoxColumn21.HeaderText = "教師名稱"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; this.dataGridViewTextBoxColumn21.ReadOnly = true; this.dataGridViewTextBoxColumn21.Width = 78; // // dataGridViewTextBoxColumn22 // this.dataGridViewTextBoxColumn22.DataPropertyName = "ClassName"; this.dataGridViewTextBoxColumn22.HeaderText = "班級名稱"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; this.dataGridViewTextBoxColumn22.ReadOnly = true; this.dataGridViewTextBoxColumn22.Width = 78; // // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn23.DataPropertyName = "ClassroomName"; this.dataGridViewTextBoxColumn23.HeaderText = "場地名稱"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; this.dataGridViewTextBoxColumn23.ReadOnly = true; this.dataGridViewTextBoxColumn23.Width = 78; // // panel16 // this.panel16.Controls.Add(this.lblClassroom); this.panel16.Controls.Add(this.labelX12); this.panel16.Controls.Add(this.labelX13); this.panel16.Controls.Add(this.btnClassroomEventExpand); this.panel16.Dock = System.Windows.Forms.DockStyle.Top; this.panel16.Location = new System.Drawing.Point(0, 0); this.panel16.Name = "panel16"; this.panel16.Size = new System.Drawing.Size(204, 35); this.panel16.TabIndex = 10; // // lblClassroom // this.lblClassroom.Anchor = System.Windows.Forms.AnchorStyles.Left; this.lblClassroom.AutoSize = true; // // // this.lblClassroom.BackgroundStyle.Class = ""; this.lblClassroom.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblClassroom.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.lblClassroom.Location = new System.Drawing.Point(7, 4); this.lblClassroom.Name = "lblClassroom"; this.lblClassroom.Size = new System.Drawing.Size(0, 0); this.lblClassroom.TabIndex = 3; // // labelX12 // this.labelX12.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX12.AutoSize = true; // // // this.labelX12.BackgroundStyle.Class = ""; this.labelX12.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX12.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX12.Location = new System.Drawing.Point(7, 4); this.labelX12.Name = "labelX12"; this.labelX12.Size = new System.Drawing.Size(0, 0); this.labelX12.TabIndex = 2; // // labelX13 // this.labelX13.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX13.AutoSize = true; // // // this.labelX13.BackgroundStyle.Class = ""; this.labelX13.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX13.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX13.Location = new System.Drawing.Point(7, 4); this.labelX13.Name = "labelX13"; this.labelX13.Size = new System.Drawing.Size(0, 0); this.labelX13.TabIndex = 1; // // btnClassroomEventExpand // this.btnClassroomEventExpand.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnClassroomEventExpand.Anchor = System.Windows.Forms.AnchorStyles.Right; this.btnClassroomEventExpand.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnClassroomEventExpand.Location = new System.Drawing.Point(170, 5); this.btnClassroomEventExpand.Name = "btnClassroomEventExpand"; this.btnClassroomEventExpand.Size = new System.Drawing.Size(28, 23); this.btnClassroomEventExpand.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnClassroomEventExpand.TabIndex = 0; this.btnClassroomEventExpand.Text = ">>"; // // splClassroom // this.splClassroom.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClassroom.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClassroom.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.splClassroom.Dock = System.Windows.Forms.DockStyle.Right; this.splClassroom.ExpandableControl = this.pnlWhereLPView; this.splClassroom.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClassroom.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClassroom.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClassroom.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClassroom.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClassroom.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClassroom.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splClassroom.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splClassroom.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.splClassroom.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.splClassroom.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.splClassroom.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.splClassroom.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClassroom.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClassroom.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.splClassroom.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.splClassroom.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.splClassroom.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.splClassroom.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.splClassroom.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.splClassroom.Location = new System.Drawing.Point(204, 0); this.splClassroom.Name = "splClassroom"; this.splClassroom.Size = new System.Drawing.Size(3, 504); this.splClassroom.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.splClassroom.TabIndex = 1; this.splClassroom.TabStop = false; // // pnlWhereLPView // this.pnlWhereLPView.Controls.Add(this.tabClassroomCalendar); this.pnlWhereLPView.Dock = System.Windows.Forms.DockStyle.Right; this.pnlWhereLPView.Location = new System.Drawing.Point(207, 0); this.pnlWhereLPView.Name = "pnlWhereLPView"; this.pnlWhereLPView.Size = new System.Drawing.Size(600, 504); this.pnlWhereLPView.TabIndex = 0; // // tabClassroomCalendar // this.tabClassroomCalendar.AutoCloseTabs = true; this.tabClassroomCalendar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247))))); this.tabClassroomCalendar.CanReorderTabs = true; this.tabClassroomCalendar.CloseButtonOnTabsVisible = true; this.tabClassroomCalendar.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabClassroomCalendar.Controls.Add(this.tabControlPanelClassroom); this.tabClassroomCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.tabClassroomCalendar.Location = new System.Drawing.Point(0, 0); this.tabClassroomCalendar.Name = "tabClassroomCalendar"; this.tabClassroomCalendar.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabClassroomCalendar.SelectedTabIndex = -1; this.tabClassroomCalendar.Size = new System.Drawing.Size(600, 504); this.tabClassroomCalendar.TabIndex = 3; this.tabClassroomCalendar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabClassroomCalendar.Tabs.Add(this.tabItem4); this.tabClassroomCalendar.Text = "tabControl1"; this.tabClassroomCalendar.TabItemClose += new DevComponents.DotNetBar.TabStrip.UserActionEventHandler(this.tabCalendar_TabItemClose); // // tabControlPanelClassroom // this.tabControlPanelClassroom.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanelClassroom.Location = new System.Drawing.Point(0, 28); this.tabControlPanelClassroom.Name = "tabControlPanelClassroom"; this.tabControlPanelClassroom.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanelClassroom.Size = new System.Drawing.Size(600, 476); this.tabControlPanelClassroom.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanelClassroom.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanelClassroom.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanelClassroom.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanelClassroom.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanelClassroom.Style.GradientAngle = 90; this.tabControlPanelClassroom.TabIndex = 1; this.tabControlPanelClassroom.TabItem = this.tabItem4; // // tabItem4 // this.tabItem4.AttachedControl = this.tabControlPanelClassroom; this.tabItem4.CloseButtonVisible = false; this.tabItem4.Name = "tabItem4"; this.tabItem4.Text = "行事曆"; // // tabClassroom // this.tabClassroom.GlobalItem = false; this.tabClassroom.Name = "tabClassroom"; this.tabClassroom.Text = "場地"; // // tabPlace // this.tabPlace.AttachedControl = this.superTabControlPanel4; this.tabPlace.GlobalItem = false; this.tabPlace.Name = "tabPlace"; this.tabPlace.Text = "場地"; // // expandableSplitter1 // this.expandableSplitter1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter1.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter1.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.expandableSplitter1.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter1.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter1.Location = new System.Drawing.Point(206, 0); this.expandableSplitter1.Name = "expandableSplitter1"; this.expandableSplitter1.Size = new System.Drawing.Size(3, 504); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 10; this.expandableSplitter1.TabStop = false; // // LeftNavigationPanel // this.LeftNavigationPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.LeftNavigationPanel.CanCollapse = true; this.LeftNavigationPanel.Controls.Add(this.pnlTeacher); this.LeftNavigationPanel.Controls.Add(this.pnlClassroom); this.LeftNavigationPanel.Controls.Add(this.pnlClass); this.LeftNavigationPanel.Controls.Add(this.pnlPlace); this.LeftNavigationPanel.Dock = System.Windows.Forms.DockStyle.Left; this.LeftNavigationPanel.ItemPaddingBottom = 2; this.LeftNavigationPanel.ItemPaddingTop = 2; this.LeftNavigationPanel.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnTeacher, this.btnClass, this.btnClassroom}); this.LeftNavigationPanel.Location = new System.Drawing.Point(0, 0); this.LeftNavigationPanel.Name = "LeftNavigationPanel"; this.LeftNavigationPanel.Padding = new System.Windows.Forms.Padding(1); this.LeftNavigationPanel.Size = new System.Drawing.Size(206, 504); this.LeftNavigationPanel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.LeftNavigationPanel.TabIndex = 9; // // // this.LeftNavigationPanel.TitlePanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.LeftNavigationPanel.TitlePanel.Dock = System.Windows.Forms.DockStyle.Top; this.LeftNavigationPanel.TitlePanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.LeftNavigationPanel.TitlePanel.Location = new System.Drawing.Point(1, 1); this.LeftNavigationPanel.TitlePanel.Name = "panelTitle"; this.LeftNavigationPanel.TitlePanel.Size = new System.Drawing.Size(202, 24); this.LeftNavigationPanel.TitlePanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.LeftNavigationPanel.TitlePanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.LeftNavigationPanel.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; this.LeftNavigationPanel.TitlePanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.LeftNavigationPanel.TitlePanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.LeftNavigationPanel.TitlePanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.LeftNavigationPanel.TitlePanel.Style.GradientAngle = 90; this.LeftNavigationPanel.TitlePanel.Style.MarginLeft = 4; this.LeftNavigationPanel.TitlePanel.TabIndex = 0; this.LeftNavigationPanel.TitlePanel.Text = "教師"; // // pnlTeacher // this.pnlTeacher.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlTeacher.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlTeacher.Location = new System.Drawing.Point(1, 25); this.pnlTeacher.Name = "pnlTeacher"; this.pnlTeacher.ParentItem = this.btnTeacher; this.pnlTeacher.Size = new System.Drawing.Size(202, 444); this.pnlTeacher.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlTeacher.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.pnlTeacher.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlTeacher.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.pnlTeacher.Style.GradientAngle = 90; this.pnlTeacher.TabIndex = 2; // // btnTeacher // this.btnTeacher.Checked = true; this.btnTeacher.ImageFixedSize = new System.Drawing.Size(16, 16); this.btnTeacher.Name = "btnTeacher"; this.btnTeacher.OptionGroup = "navBar"; this.btnTeacher.Text = "教師"; // // pnlClassroom // this.pnlClassroom.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlClassroom.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlClassroom.Location = new System.Drawing.Point(1, 1); this.pnlClassroom.Name = "pnlClassroom"; this.pnlClassroom.ParentItem = null; this.pnlClassroom.Size = new System.Drawing.Size(202, 468); this.pnlClassroom.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlClassroom.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.pnlClassroom.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlClassroom.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.pnlClassroom.Style.GradientAngle = 90; this.pnlClassroom.TabIndex = 4; // // pnlClass // this.pnlClass.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlClass.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlClass.Location = new System.Drawing.Point(1, 1); this.pnlClass.Name = "pnlClass"; this.pnlClass.ParentItem = this.btnClass; this.pnlClass.Size = new System.Drawing.Size(202, 468); this.pnlClass.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlClass.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.pnlClass.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlClass.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.pnlClass.Style.GradientAngle = 90; this.pnlClass.TabIndex = 3; // // btnClass // this.btnClass.ImageFixedSize = new System.Drawing.Size(16, 16); this.btnClass.Name = "btnClass"; this.btnClass.OptionGroup = "navBar"; this.btnClass.Text = "班級"; // // pnlPlace // this.pnlPlace.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlPlace.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlPlace.Location = new System.Drawing.Point(1, 1); this.pnlPlace.Name = "pnlPlace"; this.pnlPlace.ParentItem = this.btnClassroom; this.pnlPlace.Size = new System.Drawing.Size(202, 468); this.pnlPlace.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlPlace.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.pnlPlace.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlPlace.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.pnlPlace.Style.GradientAngle = 90; this.pnlPlace.TabIndex = 5; // // btnClassroom // this.btnClassroom.ImageFixedSize = new System.Drawing.Size(16, 16); this.btnClassroom.Name = "btnClassroom"; this.btnClassroom.OptionGroup = "navBar"; this.btnClassroom.Text = "場地"; // // superTabItem1 // this.superTabItem1.AttachedControl = this.superTabControlPanel3; this.superTabItem1.GlobalItem = false; this.superTabItem1.Name = "superTabItem1"; this.superTabItem1.Text = "superTabItem1"; // // superTabControlPanel3 // this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel3.Location = new System.Drawing.Point(0, 30); this.superTabControlPanel3.Name = "superTabControlPanel3"; this.superTabControlPanel3.Size = new System.Drawing.Size(661, 391); this.superTabControlPanel3.TabIndex = 0; this.superTabControlPanel3.TabItem = this.superTabItem1; // // panel1 // this.panel1.Location = new System.Drawing.Point(8, 8); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 100); this.panel1.TabIndex = 0; // // panel6 // this.panel6.Controls.Add(this.superTabControl1); this.panel6.Controls.Add(this.expandableSplitter4); this.panel6.Location = new System.Drawing.Point(0, 0); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(200, 100); this.panel6.TabIndex = 0; // // superTabControl1 // // // // // // // this.superTabControl1.ControlBox.CloseBox.Name = ""; // // // this.superTabControl1.ControlBox.MenuBox.Name = ""; this.superTabControl1.ControlBox.Name = ""; this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabControl1.ControlBox.MenuBox, this.superTabControl1.ControlBox.CloseBox}); this.superTabControl1.Controls.Add(this.superTabControlPanel6); this.superTabControl1.Controls.Add(this.superTabControlPanel7); this.superTabControl1.Controls.Add(this.superTabControlPanel5); this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControl1.Location = new System.Drawing.Point(3, 0); this.superTabControl1.Name = "superTabControl1"; this.superTabControl1.ReorderTabsEnabled = true; this.superTabControl1.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.superTabControl1.SelectedTabIndex = 0; this.superTabControl1.Size = new System.Drawing.Size(197, 100); this.superTabControl1.TabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.superTabControl1.TabIndex = 11; this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabItem3, this.superTabItem2, this.superTabItem4}); this.superTabControl1.TabsVisible = false; this.superTabControl1.Text = "superTabControl1"; // // superTabControlPanel6 // this.superTabControlPanel6.Controls.Add(this.panel12); this.superTabControlPanel6.Controls.Add(this.expandableSplitter3); this.superTabControlPanel6.Controls.Add(this.panel14); this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel6.Location = new System.Drawing.Point(0, 30); this.superTabControlPanel6.Name = "superTabControlPanel6"; this.superTabControlPanel6.Size = new System.Drawing.Size(197, 70); this.superTabControlPanel6.TabIndex = 1; this.superTabControlPanel6.TabItem = this.superTabItem3; // // panel12 // this.panel12.Controls.Add(this.dataGridViewX2); this.panel12.Controls.Add(this.panel13); this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; this.panel12.Location = new System.Drawing.Point(0, 0); this.panel12.Name = "panel12"; this.panel12.Size = new System.Drawing.Size(0, 70); this.panel12.TabIndex = 6; // // dataGridViewX2 // this.dataGridViewX2.AllowUserToAddRows = false; this.dataGridViewX2.AllowUserToDeleteRows = false; this.dataGridViewX2.AllowUserToOrderColumns = true; this.dataGridViewX2.AllowUserToResizeRows = false; this.dataGridViewX2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dataGridViewX2.BackgroundColor = System.Drawing.Color.White; this.dataGridViewX2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridViewX2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn9, this.dataGridViewTextBoxColumn10, this.dataGridViewTextBoxColumn11, this.dataGridViewTextBoxColumn12, this.dataGridViewTextBoxColumn13, this.dataGridViewTextBoxColumn14, this.dataGridViewTextBoxColumn15, this.dataGridViewTextBoxColumn16}); dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle17.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridViewX2.DefaultCellStyle = dataGridViewCellStyle17; this.dataGridViewX2.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewX2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dataGridViewX2.Location = new System.Drawing.Point(0, 35); this.dataGridViewX2.Name = "dataGridViewX2"; this.dataGridViewX2.ReadOnly = true; this.dataGridViewX2.RowHeadersVisible = false; this.dataGridViewX2.RowTemplate.Height = 24; this.dataGridViewX2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridViewX2.Size = new System.Drawing.Size(0, 35); this.dataGridViewX2.TabIndex = 9; this.dataGridViewX2.VirtualMode = true; // // dataGridViewTextBoxColumn9 // this.dataGridViewTextBoxColumn9.DataPropertyName = "Date"; dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle13; this.dataGridViewTextBoxColumn9.HeaderText = "日期"; this.dataGridViewTextBoxColumn9.MinimumWidth = 60; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.ReadOnly = true; this.dataGridViewTextBoxColumn9.Width = 60; // // dataGridViewTextBoxColumn10 // this.dataGridViewTextBoxColumn10.DataPropertyName = "DisplayWeekDay"; dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle14; this.dataGridViewTextBoxColumn10.HeaderText = "星期"; this.dataGridViewTextBoxColumn10.MinimumWidth = 40; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; this.dataGridViewTextBoxColumn10.Width = 54; // // dataGridViewTextBoxColumn11 // this.dataGridViewTextBoxColumn11.DataPropertyName = "Period"; dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle15; this.dataGridViewTextBoxColumn11.HeaderText = "節次"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; this.dataGridViewTextBoxColumn11.ReadOnly = true; this.dataGridViewTextBoxColumn11.Width = 54; // // dataGridViewTextBoxColumn12 // this.dataGridViewTextBoxColumn12.DataPropertyName = "Subject"; this.dataGridViewTextBoxColumn12.HeaderText = "科目名稱"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; this.dataGridViewTextBoxColumn12.ReadOnly = true; this.dataGridViewTextBoxColumn12.Width = 78; // // dataGridViewTextBoxColumn13 // this.dataGridViewTextBoxColumn13.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn13.DataPropertyName = "TeacherName"; this.dataGridViewTextBoxColumn13.HeaderText = "教師名稱"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; this.dataGridViewTextBoxColumn13.ReadOnly = true; this.dataGridViewTextBoxColumn13.Width = 78; // // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.dataGridViewTextBoxColumn14.DataPropertyName = "ClassName"; dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle16; this.dataGridViewTextBoxColumn14.HeaderText = "班級名稱"; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; this.dataGridViewTextBoxColumn14.ReadOnly = true; this.dataGridViewTextBoxColumn14.Width = 78; // // dataGridViewTextBoxColumn15 // this.dataGridViewTextBoxColumn15.DataPropertyName = "ClassroomName"; this.dataGridViewTextBoxColumn15.HeaderText = "場地名稱"; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.ReadOnly = true; this.dataGridViewTextBoxColumn15.Width = 78; // // dataGridViewTextBoxColumn16 // this.dataGridViewTextBoxColumn16.DataPropertyName = "Status"; this.dataGridViewTextBoxColumn16.HeaderText = "狀態"; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; this.dataGridViewTextBoxColumn16.ReadOnly = true; this.dataGridViewTextBoxColumn16.Width = 54; // // panel13 // this.panel13.Controls.Add(this.labelX9); this.panel13.Controls.Add(this.labelX10); this.panel13.Controls.Add(this.buttonX2); this.panel13.Dock = System.Windows.Forms.DockStyle.Top; this.panel13.Location = new System.Drawing.Point(0, 0); this.panel13.Name = "panel13"; this.panel13.Size = new System.Drawing.Size(0, 35); this.panel13.TabIndex = 8; // // labelX9 // this.labelX9.Anchor = System.Windows.Forms.AnchorStyles.Right; this.labelX9.AutoSize = true; // // // this.labelX9.BackgroundStyle.Class = ""; this.labelX9.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX9.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX9.Location = new System.Drawing.Point(-181, 3); this.labelX9.Name = "labelX9"; this.labelX9.Size = new System.Drawing.Size(140, 26); this.labelX9.TabIndex = 2; this.labelX9.Text = "灰色為停課行事曆"; this.labelX9.Visible = false; // // labelX10 // this.labelX10.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX10.AutoSize = true; // // // this.labelX10.BackgroundStyle.Class = ""; this.labelX10.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX10.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX10.Location = new System.Drawing.Point(7, 4); this.labelX10.Name = "labelX10"; this.labelX10.Size = new System.Drawing.Size(0, 0); this.labelX10.TabIndex = 1; // // buttonX2 // this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX2.Anchor = System.Windows.Forms.AnchorStyles.Right; this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX2.Location = new System.Drawing.Point(-34, 5); this.buttonX2.Name = "buttonX2"; this.buttonX2.Size = new System.Drawing.Size(28, 23); this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX2.TabIndex = 0; this.buttonX2.Text = ">>"; // // expandableSplitter3 // this.expandableSplitter3.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter3.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter3.Dock = System.Windows.Forms.DockStyle.Right; this.expandableSplitter3.ExpandableControl = this.panel14; this.expandableSplitter3.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter3.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter3.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter3.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter3.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter3.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter3.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.expandableSplitter3.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.expandableSplitter3.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter3.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.expandableSplitter3.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter3.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter3.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter3.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.Location = new System.Drawing.Point(-406, 0); this.expandableSplitter3.Name = "expandableSplitter3"; this.expandableSplitter3.Size = new System.Drawing.Size(3, 70); this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter3.TabIndex = 5; this.expandableSplitter3.TabStop = false; // // panel14 // this.panel14.Controls.Add(this.tabControl2); this.panel14.Dock = System.Windows.Forms.DockStyle.Right; this.panel14.Location = new System.Drawing.Point(-403, 0); this.panel14.Name = "panel14"; this.panel14.Size = new System.Drawing.Size(600, 70); this.panel14.TabIndex = 4; // // tabControl2 // this.tabControl2.AutoCloseTabs = true; this.tabControl2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247))))); this.tabControl2.CanReorderTabs = true; this.tabControl2.CloseButtonOnTabsVisible = true; this.tabControl2.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabControl2.Controls.Add(this.tabControlPanel4); this.tabControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl2.Location = new System.Drawing.Point(0, 0); this.tabControl2.Name = "tabControl2"; this.tabControl2.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabControl2.SelectedTabIndex = -1; this.tabControl2.Size = new System.Drawing.Size(600, 70); this.tabControl2.TabIndex = 1; this.tabControl2.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabControl2.Tabs.Add(this.tabItem2); this.tabControl2.Text = "tabControl1"; // // tabControlPanel4 // this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel4.Location = new System.Drawing.Point(0, 28); this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Size = new System.Drawing.Size(600, 42); this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel4.Style.GradientAngle = 90; this.tabControlPanel4.TabIndex = 1; this.tabControlPanel4.TabItem = this.tabItem2; // // tabItem2 // this.tabItem2.AttachedControl = this.tabControlPanel4; this.tabItem2.CloseButtonVisible = false; this.tabItem2.Name = "tabItem2"; this.tabItem2.Text = "行事曆"; // // superTabItem3 // this.superTabItem3.AttachedControl = this.superTabControlPanel6; this.superTabItem3.GlobalItem = false; this.superTabItem3.Name = "superTabItem3"; this.superTabItem3.Text = "教師"; // // superTabControlPanel7 // this.superTabControlPanel7.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel7.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel7.Name = "superTabControlPanel7"; this.superTabControlPanel7.Size = new System.Drawing.Size(197, 100); this.superTabControlPanel7.TabIndex = 1; this.superTabControlPanel7.TabItem = this.superTabItem4; // // superTabItem4 // this.superTabItem4.AttachedControl = this.superTabControlPanel7; this.superTabItem4.GlobalItem = false; this.superTabItem4.Name = "superTabItem4"; this.superTabItem4.Text = "場地"; // // superTabControlPanel5 // this.superTabControlPanel5.Controls.Add(this.expandableSplitter2); this.superTabControlPanel5.Controls.Add(this.panel8); this.superTabControlPanel5.Controls.Add(this.panel7); this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel5.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel5.Name = "superTabControlPanel5"; this.superTabControlPanel5.Size = new System.Drawing.Size(197, 100); this.superTabControlPanel5.TabIndex = 0; this.superTabControlPanel5.TabItem = this.superTabItem2; // // expandableSplitter2 // this.expandableSplitter2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter2.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter2.Dock = System.Windows.Forms.DockStyle.Right; this.expandableSplitter2.ExpandableControl = this.panel7; this.expandableSplitter2.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter2.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter2.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter2.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter2.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter2.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter2.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter2.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.expandableSplitter2.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.expandableSplitter2.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter2.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.expandableSplitter2.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter2.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter2.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter2.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter2.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter2.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter2.Location = new System.Drawing.Point(-406, 0); this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Size = new System.Drawing.Size(3, 100); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.TabIndex = 2; this.expandableSplitter2.TabStop = false; // // panel7 // this.panel7.Controls.Add(this.tabControl1); this.panel7.Dock = System.Windows.Forms.DockStyle.Right; this.panel7.Location = new System.Drawing.Point(-403, 0); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(600, 100); this.panel7.TabIndex = 0; // // tabControl1 // this.tabControl1.AutoCloseTabs = true; this.tabControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247))))); this.tabControl1.CanReorderTabs = true; this.tabControl1.CloseButtonOnTabsVisible = true; this.tabControl1.CloseButtonPosition = DevComponents.DotNetBar.eTabCloseButtonPosition.Right; this.tabControl1.Controls.Add(this.tabControlPanel3); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedTabFont = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Bold); this.tabControl1.SelectedTabIndex = -1; this.tabControl1.Size = new System.Drawing.Size(600, 100); this.tabControl1.TabIndex = 2; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabControl1.Tabs.Add(this.tabItem1); this.tabControl1.Text = "tabControl1"; // // tabControlPanel3 // this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel3.Location = new System.Drawing.Point(0, 28); this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel3.Size = new System.Drawing.Size(600, 72); this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 90; this.tabControlPanel3.TabIndex = 1; this.tabControlPanel3.TabItem = this.tabItem1; // // tabItem1 // this.tabItem1.AttachedControl = this.tabControlPanel3; this.tabItem1.CloseButtonVisible = false; this.tabItem1.Name = "tabItem1"; this.tabItem1.Text = "行事曆"; // // panel8 // this.panel8.Controls.Add(this.panel9); this.panel8.Controls.Add(this.panel11); this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; this.panel8.Location = new System.Drawing.Point(0, 0); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(0, 100); this.panel8.TabIndex = 1; // // panel9 // this.panel9.Controls.Add(this.dataGridViewX1); this.panel9.Dock = System.Windows.Forms.DockStyle.Fill; this.panel9.Location = new System.Drawing.Point(0, 35); this.panel9.Name = "panel9"; this.panel9.Size = new System.Drawing.Size(0, 65); this.panel9.TabIndex = 10; // // dataGridViewX1 // this.dataGridViewX1.AllowUserToAddRows = false; this.dataGridViewX1.AllowUserToDeleteRows = false; this.dataGridViewX1.AllowUserToOrderColumns = true; this.dataGridViewX1.AllowUserToResizeRows = false; this.dataGridViewX1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dataGridViewX1.BackgroundColor = System.Drawing.Color.White; this.dataGridViewX1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridViewX1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewTextBoxColumn1, this.dataGridViewTextBoxColumn2, this.dataGridViewTextBoxColumn3, this.dataGridViewTextBoxColumn4, this.dataGridViewTextBoxColumn5, this.dataGridViewTextBoxColumn6, this.dataGridViewTextBoxColumn7, this.dataGridViewTextBoxColumn8}); dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle21.Font = new System.Drawing.Font("微軟正黑體", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridViewX1.DefaultCellStyle = dataGridViewCellStyle21; this.dataGridViewX1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridViewX1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dataGridViewX1.Location = new System.Drawing.Point(0, 0); this.dataGridViewX1.Name = "dataGridViewX1"; this.dataGridViewX1.ReadOnly = true; this.dataGridViewX1.RowHeadersVisible = false; this.dataGridViewX1.RowTemplate.Height = 24; this.dataGridViewX1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridViewX1.Size = new System.Drawing.Size(0, 65); this.dataGridViewX1.TabIndex = 10; this.dataGridViewX1.VirtualMode = true; // // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "Date"; dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle18; this.dataGridViewTextBoxColumn1.HeaderText = "日期"; this.dataGridViewTextBoxColumn1.MinimumWidth = 60; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; this.dataGridViewTextBoxColumn1.Width = 60; // // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "DisplayWeekDay"; dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle19; this.dataGridViewTextBoxColumn2.HeaderText = "星期"; this.dataGridViewTextBoxColumn2.MinimumWidth = 40; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; this.dataGridViewTextBoxColumn2.Width = 54; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn3.DataPropertyName = "Period"; this.dataGridViewTextBoxColumn3.HeaderText = "節次"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.ReadOnly = true; this.dataGridViewTextBoxColumn3.Width = 54; // // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "Subject"; this.dataGridViewTextBoxColumn4.HeaderText = "科目名稱"; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.ReadOnly = true; this.dataGridViewTextBoxColumn4.Width = 78; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.dataGridViewTextBoxColumn5.DataPropertyName = "TeacherName"; dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle20; this.dataGridViewTextBoxColumn5.HeaderText = "教師名稱"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; this.dataGridViewTextBoxColumn5.Width = 78; // // dataGridViewTextBoxColumn6 // this.dataGridViewTextBoxColumn6.DataPropertyName = "ClassName"; this.dataGridViewTextBoxColumn6.HeaderText = "班級名稱"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; this.dataGridViewTextBoxColumn6.ReadOnly = true; this.dataGridViewTextBoxColumn6.Width = 78; // // dataGridViewTextBoxColumn7 // this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells; this.dataGridViewTextBoxColumn7.DataPropertyName = "ClassroomName"; this.dataGridViewTextBoxColumn7.HeaderText = "場地名稱"; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; this.dataGridViewTextBoxColumn7.ReadOnly = true; this.dataGridViewTextBoxColumn7.Width = 78; // // dataGridViewTextBoxColumn8 // this.dataGridViewTextBoxColumn8.DataPropertyName = "Status"; this.dataGridViewTextBoxColumn8.HeaderText = "狀態"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.ReadOnly = true; this.dataGridViewTextBoxColumn8.Width = 54; // // panel11 // this.panel11.Controls.Add(this.labelX4); this.panel11.Controls.Add(this.labelX5); this.panel11.Controls.Add(this.labelX7); this.panel11.Controls.Add(this.labelX8); this.panel11.Controls.Add(this.buttonX1); this.panel11.Dock = System.Windows.Forms.DockStyle.Top; this.panel11.Location = new System.Drawing.Point(0, 0); this.panel11.Name = "panel11"; this.panel11.Size = new System.Drawing.Size(0, 35); this.panel11.TabIndex = 9; // // labelX4 // this.labelX4.Anchor = System.Windows.Forms.AnchorStyles.Right; this.labelX4.AutoSize = true; // // // this.labelX4.BackgroundStyle.Class = ""; this.labelX4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX4.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX4.Location = new System.Drawing.Point(-159, 4); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(123, 26); this.labelX4.TabIndex = 4; this.labelX4.Text = "黃色為未排分課"; this.labelX4.Visible = false; // // labelX5 // this.labelX5.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX5.AutoSize = true; // // // this.labelX5.BackgroundStyle.Class = ""; this.labelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX5.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX5.Location = new System.Drawing.Point(7, 4); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(0, 0); this.labelX5.TabIndex = 3; // // labelX7 // this.labelX7.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX7.AutoSize = true; // // // this.labelX7.BackgroundStyle.Class = ""; this.labelX7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX7.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX7.Location = new System.Drawing.Point(7, 4); this.labelX7.Name = "labelX7"; this.labelX7.Size = new System.Drawing.Size(0, 0); this.labelX7.TabIndex = 2; // // labelX8 // this.labelX8.Anchor = System.Windows.Forms.AnchorStyles.Left; this.labelX8.AutoSize = true; // // // this.labelX8.BackgroundStyle.Class = ""; this.labelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX8.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.labelX8.Location = new System.Drawing.Point(7, 4); this.labelX8.Name = "labelX8"; this.labelX8.Size = new System.Drawing.Size(0, 0); this.labelX8.TabIndex = 1; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.Anchor = System.Windows.Forms.AnchorStyles.Right; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX1.Location = new System.Drawing.Point(-34, 5); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(28, 23); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 0; this.buttonX1.Text = ">>"; // // superTabItem2 // this.superTabItem2.AttachedControl = this.superTabControlPanel5; this.superTabItem2.GlobalItem = false; this.superTabItem2.Name = "superTabItem2"; this.superTabItem2.Text = "班級"; // // expandableSplitter4 // this.expandableSplitter4.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter4.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.expandableSplitter4.ExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter4.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.ExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter4.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter4.GripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter4.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter4.GripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter4.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter4.HotBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(151)))), ((int)(((byte)(61))))); this.expandableSplitter4.HotBackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(94))))); this.expandableSplitter4.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2; this.expandableSplitter4.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground; this.expandableSplitter4.HotExpandFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter4.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.HotExpandLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.expandableSplitter4.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.expandableSplitter4.HotGripDarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(101)))), ((int)(((byte)(147)))), ((int)(((byte)(207))))); this.expandableSplitter4.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter4.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.expandableSplitter4.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter4.Location = new System.Drawing.Point(0, 0); this.expandableSplitter4.Name = "expandableSplitter4"; this.expandableSplitter4.Size = new System.Drawing.Size(3, 100); this.expandableSplitter4.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter4.TabIndex = 10; this.expandableSplitter4.TabStop = false; // // navigationPane1 // this.navigationPane1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.navigationPane1.CanCollapse = true; this.navigationPane1.Controls.Add(this.navigationPanePanel1); this.navigationPane1.ItemPaddingBottom = 2; this.navigationPane1.ItemPaddingTop = 2; this.navigationPane1.Location = new System.Drawing.Point(0, 0); this.navigationPane1.Name = "navigationPane1"; this.navigationPane1.NavigationBarHeight = 38; this.navigationPane1.Padding = new System.Windows.Forms.Padding(1); this.navigationPane1.Size = new System.Drawing.Size(150, 192); this.navigationPane1.TabIndex = 0; // // // this.navigationPane1.TitlePanel.Location = new System.Drawing.Point(0, 0); this.navigationPane1.TitlePanel.Name = "panelTitle"; this.navigationPane1.TitlePanel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(135)))), ((int)(((byte)(214))))); this.navigationPane1.TitlePanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(56)))), ((int)(((byte)(148))))); this.navigationPane1.TitlePanel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(45)))), ((int)(((byte)(150))))); this.navigationPane1.TitlePanel.Style.ForeColor.Color = System.Drawing.Color.White; this.navigationPane1.TitlePanel.TabIndex = 0; // // navigationPanePanel1 // this.navigationPanePanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.navigationPanePanel1.Location = new System.Drawing.Point(1, 1); this.navigationPanePanel1.Name = "navigationPanePanel1"; this.navigationPanePanel1.ParentItem = null; this.navigationPanePanel1.Size = new System.Drawing.Size(146, 150); this.navigationPanePanel1.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.navigationPanePanel1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; this.navigationPanePanel1.Style.GradientAngle = 90; this.navigationPanePanel1.TabIndex = 5; // // MainForm // this.Name = "MainForm"; this.Load += new System.EventHandler(this.MainForm_Load); this.Layout += new System.Windows.Forms.LayoutEventHandler(this.MainForm_Layout); this.ContentPanePanel.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabContent)).EndInit(); this.tabContent.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false); this.pnlWhomLPView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabClassCalendar)).EndInit(); this.tabClassCalendar.ResumeLayout(false); this.pnlWhomList.ResumeLayout(false); this.panel10.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdClassCalendar)).EndInit(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.superTabControlPanel1.ResumeLayout(false); this.pnlWhoList.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdTeacherCalendar)).EndInit(); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); this.pnlWhoLPView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabTeacherCalendar)).EndInit(); this.tabTeacherCalendar.ResumeLayout(false); this.superTabControlPanel4.ResumeLayout(false); this.superTabControlPanel8.ResumeLayout(false); this.pnlWhereList.ResumeLayout(false); this.panel15.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grdPlaceCalendar)).EndInit(); this.panel16.ResumeLayout(false); this.panel16.PerformLayout(); this.pnlWhereLPView.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabClassroomCalendar)).EndInit(); this.tabClassroomCalendar.ResumeLayout(false); this.LeftNavigationPanel.ResumeLayout(false); this.panel6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); this.superTabControl1.ResumeLayout(false); this.superTabControlPanel6.ResumeLayout(false); this.panel12.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX2)).EndInit(); this.panel13.ResumeLayout(false); this.panel13.PerformLayout(); this.panel14.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabControl2)).EndInit(); this.tabControl2.ResumeLayout(false); this.superTabControlPanel5.ResumeLayout(false); this.panel7.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.panel8.ResumeLayout(false); this.panel9.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewX1)).EndInit(); this.panel11.ResumeLayout(false); this.panel11.PerformLayout(); this.navigationPane1.ResumeLayout(false); this.ResumeLayout(false); }