private MapCtrl OpenMap(Maticsoft.Model.SMT_MAP_INFO mapInfo) { foreach (DevComponents.DotNetBar.SuperTabItem item in stcMaps.Tabs) { Maticsoft.Model.SMT_MAP_INFO map = (Maticsoft.Model.SMT_MAP_INFO)item.Tag; if (map.ID == mapInfo.ID) { stcMaps.SelectedTab = item; return(item.AttachedControl.Controls[0] as MapCtrl); } } MapCtrl mapCtrl = new MapCtrl(); mapCtrl.Tag = mapInfo; mapCtrl.Dock = DockStyle.Fill; DevComponents.DotNetBar.SuperTabControlPanel stcPanel = new DevComponents.DotNetBar.SuperTabControlPanel(); stcPanel.Controls.Add(mapCtrl); mapCtrl.LoadMapInfo(mapInfo); DevComponents.DotNetBar.SuperTabItem stcItem = new DevComponents.DotNetBar.SuperTabItem(); stcItem.Text = mapInfo.MAP_NAME; stcItem.Tag = mapInfo; stcItem.AttachedControl = stcPanel; stcMaps.Controls.Add(stcPanel); stcMaps.Tabs.Add(stcItem); stcMaps.SelectedTab = stcItem; mapCtrl.DelayFullExtent(); mapCtrl.Font = new Font("微软雅黑", 9); return(mapCtrl); }
private MapCtrl GetSelectMapCtrl() { DevComponents.DotNetBar.SuperTabItem item = stcMaps.SelectedTab; if (item != null && item.AttachedControl.Controls.Count > 0) { return(item.AttachedControl.Controls[0] as MapCtrl); } return(null); }
// load cameras, viddeo players, tabs void LoadCameras() { try { // enumerate video devices FilterInfoCollection videoDevices = new FilterInfoCollection(FilterCategory.VideoInputDevice); if (videoDevices.Count == 0) { throw new ApplicationException(); } players = new Dictionary <VideoSourcePlayer, string>(); // add all devices to combo foreach (FilterInfo device in videoDevices) { // create tabs and source players DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); DevComponents.DotNetBar.SuperTabItem superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); superTabItem1.AttachedControl = superTabControlPanel1; superTabItem1.GlobalItem = false; superTabItem1.Name = "CAMTAB" + (superTabControl1.Tabs.Count).ToString(); superTabItem1.Text = "CAM " + (superTabControl1.Tabs.Count).ToString(); superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; superTabControlPanel1.Location = new System.Drawing.Point(0, 23); superTabControlPanel1.Name = "CAM" + (superTabControl1.Tabs.Count).ToString(); superTabControlPanel1.Size = new System.Drawing.Size(898, 348); superTabControlPanel1.TabIndex = 0; superTabControlPanel1.TabItem = superTabItem1; this.superTabControl1.Controls.Add(superTabControlPanel1); this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { superTabItem1 }); VideoSourcePlayer p = new VideoSourcePlayer(); p.Name = "VP" + superTabControl1.Tabs.Count.ToString(); p.Dock = DockStyle.Fill; p.Size = new Size(800, 300); p.Location = new Point(0, 23); p.NewFrame += new VideoSourcePlayer.NewFrameHandler(p_NewFrame); superTabControlPanel1.Controls.Add(p); players.Add(p, device.Name); } } catch (ApplicationException) { MessageBox.Show("No capture device"); } }
public void LoadKhuVuc() { //saveCurrent(); stcKhuVuc.Tabs.Clear(); List<AreaData> _list = areaAndTableBll.ListArea; foreach (AreaData area in _list) { SuperTabItem areaTabItem = new SuperTabItem(); areaTabItem.Text = area.AreaName; SuperTabControlPanel panel = new SuperTabControlPanel(); // list view init ListViewEx listview = new ListViewEx(); listview.Name = "listview"; listview.BackColor = Color.White; listview.Dock = DockStyle.Fill; listview.LargeImageList = tableImage; listview.SelectedIndexChanged += listview_SelectedIndexChanged; LocatorBll.AreaAndTableBll.SelectAreaCommand.Execute(area); List<TableData> listtable = LocatorBll.AreaAndTableBll.ListTable; List<TableData> alltable = new List<TableData>(); foreach (TableData tableData in listtable) { ListViewItem item = new ListViewItem(); item.Text = tableData.TableName; item.ImageKey = tableData.TableState; item.Tag = tableData; listview.Items.Add(item); alltable.Add(tableData); } homePageBll.ListTable = alltable; // tab panel config panel.Controls.Add(listview); //panel.Dock = DockStyle.Fill; // panel.Location = new System.Drawing.Point(0, 33); panel.Name = area.AreaId; panel.Size = new System.Drawing.Size(600, 800); // panel.TabIndex = 0; stcKhuVuc.Controls.Add(panel); areaTabItem.AttachedControl = panel; stcKhuVuc.Tabs.Add(areaTabItem); //loadCurrent(); } }
public void LoadArea(List<AreaData> _list) { tctKhuVuc.Tabs.Clear(); foreach (AreaData area in _list) { SuperTabItem areaTabItem = new SuperTabItem(); areaTabItem.Text = area.AreaName; SuperTabControlPanel panel = new SuperTabControlPanel(); // list view init ListViewEx listview = new ListViewEx(); listview.BackColor = System.Drawing.Color.White; listview.Dock=DockStyle.Fill; listview.LargeImageList = tableImage; listview.SelectedIndexChanged += listview_SelectedIndexChanged; LocatorBll.AreaAndTableBll.SelectAreaCommand.Execute(area); List<TableData> listtable = LocatorBll.AreaAndTableBll.ListTable; foreach (TableData tableData in listtable) { ListViewItem item = new ListViewItem(); item.Text = tableData.TableName; item.ImageKey = "OpenTable"; item.Tag = tableData; listview.Items.Add(item); } // tab panel config panel.Controls.Add(listview); panel.Dock = System.Windows.Forms.DockStyle.Fill; // panel.Location = new System.Drawing.Point(0, 33); panel.Name = area.AreaId; panel.Size = new System.Drawing.Size(600, 800); // panel.TabIndex = 0; tctKhuVuc.Controls.Add(panel); areaTabItem.AttachedControl = panel; tctKhuVuc.Tabs.Add(areaTabItem); } }
/// <summary> /// Measures the given tab /// </summary> /// <param name="tab"></param> /// <returns></returns> private Size MeasureTab(SuperTabItem tab) { Size size = new Size(0, 0); // Measure the tab Text Font font = tab.GetTabFont(); Size textSize = (tab.TextMarkupBody != null) ? MeasureMarkup(tab, Graphics, font) : MeasureText(tab, Graphics, font); textSize.Width += _TabLayoutOffset.Width; textSize.Height += _TabLayoutOffset.Height; bool displayText = (tab.IsSelected || _TabStripItem.DisplaySelectedTextOnly == false); // Add in our overlap, spacing, and selection padding if (_TabStripItem.IsVertical == false || _TabStripItem.HorizontalText == false) { if (displayText == true) size.Width += (textSize.Width + _TabStripItem.TabHorizontalSpacing); if (textSize.Height > size.Height) size.Height = textSize.Height; size.Width += (TabDisplay.TabOverlap + TabDisplay.TabSpacing); } else { if (displayText == true) { if (textSize.Height > size.Height) size.Height = textSize.Height; } size.Height += (TabDisplay.TabOverlap + TabDisplay.TabSpacing); size.Width += (textSize.Width + _TabStripItem.TabHorizontalSpacing + TabDisplay.SelectedPaddingWidth); } // Add in any image space needed CompositeImage tabImage = tab.GetTabImage(); if (tabImage != null) { int h = _TabStripItem.TabVerticalSpacing + tab.ImagePadding.Vertical; int w = _TabStripItem.TabHorizontalSpacing + tab.ImagePadding.Horizontal; switch (tab.EffectiveImageAlignment) { case ImageAlignment.TopLeft: case ImageAlignment.TopCenter: case ImageAlignment.TopRight: case ImageAlignment.BottomLeft: case ImageAlignment.BottomCenter: case ImageAlignment.BottomRight: size.Height += (tabImage.Height + h); break; case ImageAlignment.MiddleLeft: case ImageAlignment.MiddleRight: size.Width += (tabImage.Width + w); if (size.Height < tabImage.Height + h) size.Height = tabImage.Height + h; break; case ImageAlignment.MiddleCenter: if (size.Height < tabImage.Height + h) size.Height = tabImage.Height + h; break; } int n = tabImage.Height + _TabStripItem.TabDisplay.TabOverlap + _TabStripItem.TabDisplay.TabSpacing + 4; if (size.Height < n) size.Height = n; } // Add in the Close Button if (TabDisplay.CloseButtonOnTabs && tab.CloseButtonVisible) { size.Width += (_CloseButtonSize.Width + _TabStripItem.TabHorizontalSpacing); if (size.Height < _CloseButtonSize.Height + _TabStripItem.TabVerticalSpacing) size.Height = _CloseButtonSize.Height + _TabStripItem.TabVerticalSpacing; if (size.Height < _CloseButtonSize.Height + 4) size.Height = _CloseButtonSize.Height + 4; } // Add our default spacing size.Width += _TabStripItem.TabHorizontalSpacing * 2; size.Height += _TabStripItem.TabVerticalSpacing * 2; return (size); }
public EntityForm2() { InitializeComponent(); BackColor = Color.Black; // Color.FromArgb(40, 40, 40); entityDetailsEditor1.BackColor = this.BackColor; tableDetailsEditor1.BackColor = this.BackColor; componentDetailsEditor1.BackColor = this.BackColor; MappingEditor.TableAdded += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.TableActionDelegate(MappingEditor_TableAdded); MappingEditor.TableRemoved += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.TableActionDelegate(MappingEditor_TableRemoved); MappingEditor.EntityDeleted += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.EntityActionDelegate(MappingEditor_EntityDeleted); MappingEditor.TableSelected += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.TableActionDelegate(MappingEditor_TableSelected); MappingEditor.EntitySelected += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.EntityActionDelegate(MappingEditor_EntitySelected); MappingEditor.EntityUpdated += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.EntityActionDelegate(MappingEditor_EntityUpdated); InheritanceEditor.EntitySelected += new ArchAngel.Providers.EntityModel.UI.Editors.EntityMappingDiagram.EntityActionDelegate(MappingEditor_EntitySelected); InheritanceEditor.EntityDeleted += new Editors.EntityMappingDiagram.EntityActionDelegate(MappingEditor_EntityDeleted); tableKeysEditor1.KeysChanged += new ArchAngel.Providers.EntityModel.UI.Editors.TableKeysEditor.KeysChangedDelegate(tableKeysEditor1_KeysChanged); TableMappingEditor.EntityAdded += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.EntityActionDelegate(TableMappingEditor_EntityAdded); TableMappingEditor.EntityRemoved += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.EntityActionDelegate(TableMappingEditor_EntityRemoved); TableMappingEditor.EntityCreated += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.EntityCreatedDelegate(TableMappingEditor_EntityCreated); TableMappingEditor.TableDeleted += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.TableActionDelegate(TableMappingEditor_TableDeleted); TableMappingEditor.EntitySelected += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.EntityActionDelegate(TableMappingEditor_EntitySelected); TableMappingEditor.TableSelected += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.TableActionDelegate(TableMappingEditor_TableSelected); TableMappingEditor.RelationshipDeleted += new ArchAngel.Providers.EntityModel.UI.Editors.TableMappingDiagram.RelationshipActionDelegate(TableMappingEditor_RelationshipDeleted); ComponentMappingEditor.EntitySelected += new ArchAngel.Providers.EntityModel.UI.Editors.ComponentMappingDiagram.EntityActionDelegate(ComponentMappingEditor_EntitySelected); componentPropertiesEditor1.ComponentChanged += new EventHandler(componentPropertiesEditor1_ComponentChanged); for (int i = 0; i < bar1.Tabs.Count; i++) { DevComponents.DotNetBar.SuperTabItem tab = (DevComponents.DotNetBar.SuperTabItem)bar1.Tabs[i]; tab.TabColor.Default.Normal.Background.Colors = new Color[] { Color.FromArgb(10, 10, 10) }; tab.TabColor.Default.Normal.Text = Color.White; tab.TabColor.Default.Normal.InnerBorder = Color.FromArgb(10, 10, 10); tab.TabColor.Default.Normal.OuterBorder = Color.FromArgb(10, 10, 10); tab.TabColor.Default.Selected.Background.Colors = new Color[] { Color.FromArgb(100, 100, 100), Color.FromArgb(20, 20, 20) }; tab.TabColor.Default.Selected.Background.GradientAngle = 90; tab.TabColor.Default.Selected.InnerBorder = Color.FromArgb(140, 140, 140); tab.TabColor.Default.Selected.OuterBorder = Color.Black; tab.TabColor.Default.Selected.Text = Color.White; tab.TabColor.Default.SelectedMouseOver.Background.Colors = new Color[] { Color.FromArgb(120, 120, 120), Color.FromArgb(50, 50, 50) }; tab.TabColor.Default.SelectedMouseOver.Background.GradientAngle = 90; tab.TabColor.Default.SelectedMouseOver.InnerBorder = Color.FromArgb(140, 140, 140); tab.TabColor.Default.SelectedMouseOver.OuterBorder = Color.Black; tab.TabColor.Default.SelectedMouseOver.Text = Color.White; tab.TabColor.Default.MouseOver.Background.Colors = new Color[] { Color.FromArgb(70, 70, 70) }; tab.TabColor.Default.MouseOver.InnerBorder = Color.FromArgb(140, 140, 140); tab.TabColor.Default.MouseOver.OuterBorder = Color.Black; tab.TabColor.Default.MouseOver.Text = Color.White; } }
void CreateTab(SuperTabControl tabControlName, string strTextSuperTabItem, string strNameSuperTabItem, string strNameSuperTabControlPanel, Office2007RibbonForm Form) { int intCheck = CheckExist(tabControlName, strNameSuperTabItem); if (intCheck > -1) { tabControlName.SelectedTabIndex = intCheck; Variable.stiSelected = tabControlName.SelectedTab; } else { SuperTabItem sti = new SuperTabItem(); sti.Name = strNameSuperTabItem; sti.Text = strTextSuperTabItem; SuperTabControlPanel stcp = new SuperTabControlPanel(); stcp.Name = strNameSuperTabControlPanel; stcp.Dock = DockStyle.Fill; tabControlName.Controls.Add(stcp); sti.AttachedControl = stcp; tabControlName.SelectedPanel = stcp; tabControlName.Tabs.Add(sti); Form.TopLevel = false; Form.Parent = stcp; Form.Show(); Form.Dock = DockStyle.Fill; tabControlName.SelectedTab = sti; Variable.stiSelected = sti; } }
private void CreateMaterialControl(Materials materials) { DevComponents.DotNetBar.SuperTabItem superTabItem1; superTabItem1 = new DevComponents.DotNetBar.SuperTabItem(); superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); // // superTabControlPanel1 // this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0); this.superTabControlPanel1.Name = "superTabControlPanel1"; this.superTabControlPanel1.Size = new System.Drawing.Size(200, 100); this.superTabControlPanel1.TabIndex = 0; // // superTabItem1 // DevComponents.DotNetBar.Rendering.SuperTabItemColorTable superTabItemColorTable1 = new DevComponents.DotNetBar.Rendering.SuperTabItemColorTable(); DevComponents.DotNetBar.Rendering.SuperTabColorStates superTabColorStates1 = new DevComponents.DotNetBar.Rendering.SuperTabColorStates(); DevComponents.DotNetBar.Rendering.SuperTabItemStateColorTable superTabItemStateColorTable1 = new DevComponents.DotNetBar.Rendering.SuperTabItemStateColorTable(); superTabItem1.AttachedControl = this.superTabControlPanel1; superTabItem1.GlobalItem = false; superTabItem1.Name = "superTabItem" + materials.sequenceNo; superTabItem1.TabFont = new System.Drawing.Font("黑体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); superTabItem1.SelectedTabFont = new System.Drawing.Font("黑体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); superTabItemStateColorTable1.OuterBorder = System.Drawing.Color.Gray; superTabColorStates1.Normal = superTabItemStateColorTable1; superTabItemColorTable1.Default = superTabColorStates1; superTabItem1.TabColor = superTabItemColorTable1; superTabItem1.Text = "领用批次" + materials.sequenceNo; superTabItem1.Tag = materials; if (materials.status == 0) { superTabItem1.Image = global::MonitorMain.Properties.Resources.ball_yellow; } else { superTabItem1.Image = global::MonitorMain.Properties.Resources.ball_green; } superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { superTabItem1 }); System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); // // flowLayoutPanel1 // flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; flowLayoutPanel1.Location = new System.Drawing.Point(0, 0); flowLayoutPanel1.Name = "flowLayoutPanel" + materials.sequenceNo; flowLayoutPanel1.Size = new System.Drawing.Size(742, 500); flowLayoutPanel1.TabIndex = 0; flowLayoutPanel1.AutoScroll = true; MaterialsDetial materialsDetialtot = MaterialsDetial.GetMaterialsDetialGroupBy(materials.ID); CMaterialsDetal cmaterialsDetal = new CMaterialsDetal(materialsDetialtot); cmaterialsDetal.Size = new Size(150, 150); if (colorint % 2 == 0) { cmaterialsDetal.BackColor = Color.AliceBlue; } else { cmaterialsDetal.BackColor = Color.Beige; } colorint++; flowLayoutPanel1.Controls.Add(cmaterialsDetal); materialsDetialtots.Add(materialsDetialtot); Bar bar1 = new Bar(); bar1.AntiAlias = true; bar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; bar1.Name = "bar1"; bar1.Size = new System.Drawing.Size(flowLayoutPanel1.Width + 100, 25); bar1.Stretch = true; bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; bar1.TabIndex = 5; bar1.TabStop = false; bar1.Text = "bar1"; flowLayoutPanel1.Controls.Add(bar1); materials.materialsDetailList = MaterialsDetailList.GetMaterialsDetailList(materials.ID); foreach (MaterialsDetial materialsDetial in materials.materialsDetailList) { CMaterialsDetal materialsDetal = new CMaterialsDetal(materialsDetial); materialsDetal.Size = new Size(150, 150); if (colorint % 2 == 0) { materialsDetal.BackColor = Color.SpringGreen; } else { materialsDetal.BackColor = Color.Yellow; } colorint++; flowLayoutPanel1.Controls.Add(materialsDetal); } PanelEx panelEx1 = new PanelEx(); // // panelEx1 // panelEx1.CanvasColor = System.Drawing.SystemColors.Control; panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; panelEx1.Location = new System.Drawing.Point(369, 103); panelEx1.Name = "panelEx1"; panelEx1.Size = new System.Drawing.Size(200, 100); panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; panelEx1.Style.GradientAngle = 90; panelEx1.TabIndex = 1; panelEx1.Dock = DockStyle.Fill; panelEx1.Controls.Add(flowLayoutPanel1); // // superTabControlPanel1 // this.superTabControlPanel1.Controls.Add(panelEx1); this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControlPanel1.Location = new System.Drawing.Point(127, 0); this.superTabControlPanel1.Name = "superTabControlPanel" + materials.sequenceNo; this.superTabControlPanel1.Size = new System.Drawing.Size(742, 500); this.superTabControlPanel1.TabIndex = 1; this.superTabControlPanel1.TabItem = superTabItem1; this.superTabControl1.Controls.Add(this.superTabControlPanel1); }
private void CreateOptionControls() { ClearTabs(); if (SharedData.CurrentProject == null) return; const int padding = 8; int maxLabelWidth = 0; const int sidePadding = 30; Font font = new Font("Tahoma", 8.25F, FontStyle.Regular, GraphicsUnit.Point, 0); // Get all the categories and types var categories = new List<string>(); var types = new List<string>(); Label measureLabel = new Label(); measureLabel.BackColor = Colors.BackgroundColor; measureLabel.Font = font; Graphics graphics = Graphics.FromHwnd(measureLabel.Handle); foreach (var option in SharedData.CurrentProject.Options) { if (!string.IsNullOrEmpty(option.IteratorName) && option.IteratorName != "No iteration") continue; // Get the value from the specified function. This function should have no parameters bool mustDisplayToUser = Controller.Instance.CurrentProject.DisplayOptionToUser(option, null); if (!mustDisplayToUser) option.Category = "HIDDEN"; if (option.Category.Length == 0) option.Category = "General"; if (categories.BinarySearch(option.Category) < 0) { categories.Add(option.Category); categories.Sort(); } if (types.BinarySearch(option.VarType.FullName) < 0) { types.Add(option.VarType.FullName); types.Sort(); } maxLabelWidth = maxLabelWidth > graphics.MeasureString(option.Text, font).Width ? maxLabelWidth : (int)graphics.MeasureString(option.Text, new Font("Microsoft Sans Serif", 8.25f)).Width; } foreach (var optionForm in SharedData.CurrentProject.OptionForms) { if (categories.BinarySearch(optionForm.Key) < 0) { categories.Add(optionForm.Key); categories.Sort(); } } for (int i = 0; i < categories.Count; i++) { string category = categories[i]; SuperTabControlPanel tabPanel = new SuperTabControlPanel(); SuperTabItem tabItem = new SuperTabItem(); superTabControl1.Controls.Add(tabPanel); superTabControl1.Tabs.Add(tabItem); tabPanel.Dock = System.Windows.Forms.DockStyle.Fill; tabPanel.Location = new System.Drawing.Point(102, 0); tabPanel.Name = "superTabControlPanel" + category; //tabPanel.Size = superTabControl1.SelectedPanel.Size;//.Width new System.Drawing.Size(211, 116); tabPanel.TabIndex = 1; tabPanel.TabItem = tabItem; //tabPanel.CanvasColor = Color.FromArgb(40, 40, 40); //tabPanel.ColorScheme.PanelBackground = this.BackColor; //tabPanel.ColorSchemeStyle = eDotNetBarStyle.Office2003; //tabPanel.ColorScheme.BarBackground = this.BackColor; tabItem.GlobalItem = false; tabItem.Name = "superTabItem" + category; tabItem.Text = " " + category + " "; tabItem.AttachedControl = tabPanel; superTabControl1.BackColor = Color.FromArgb(30, 30, 30); tabItem.TabStripItem.FixedTabSize = new Size(160, 45); tabItem.TabStripItem.TabStripColor.Background.Colors = new Color[] { Color.FromArgb(10, 10, 10) }; tabItem.TabStripItem.TabStripColor.InnerBorder = Color.FromArgb(140, 140, 140);//this.BackColor; tabItem.TabStripItem.TabStripColor.OuterBorder = Color.Black;//this.BackColor; tabItem.TabStripItem.TabStripColor.InsertMarker = Color.Yellow; //tabItem.TabStripItem.TabStripColor.ControlBoxDefault.Background = Color.Yellow; //tabItem.TabStripItem.TabStripColor.InsertMarker = Color.Pink; tabItem.TabColor.Default.Normal.Background.Colors = new Color[] { Color.FromArgb(10, 10, 10) }; //tabItem.TabColor.Default.Normal.OuterBorder = Color.FromArgb(140, 140, 140); tabItem.TabColor.Default.Selected.Background.Colors = new Color[] { Color.FromArgb(100, 100, 100), Color.FromArgb(20, 20, 20) }; tabItem.TabColor.Default.Selected.OuterBorder = Color.Black; tabItem.TabColor.Default.Selected.InnerBorder = Color.FromArgb(140, 140, 140); tabItem.TabColor.Default.MouseOver.Background.Colors = new Color[] { Color.FromArgb(50, 50, 50) }; tabItem.TabColor.Default.MouseOver.OuterBorder = Color.Black; tabItem.TabColor.Default.MouseOver.InnerBorder = Color.FromArgb(140, 140, 140); Panel backgroundPanel = new Panel(); backgroundPanel.Name = string.Format("BackgroundPanel{0}", i); backgroundPanel.BackColor = this.BackColor; backgroundPanel.Dock = DockStyle.Fill; backgroundPanel.Resize += new EventHandler(backgroundPanel_Resize); //backgroundPanel.Size = superTabControl1.SelectedPanel.Size; tabPanel.Controls.Add(backgroundPanel); //superTabControl1.PerformLayout(); //tabPanel.PerformLayout(); //backgroundPanel.PerformLayout(); //superTabControl1.Refresh(); if (category == "HIDDEN") tabItem.Visible = false; int currentTop = 30; int maxWidth = 0; foreach (IOption option in SharedData.CurrentProject.Options.Where(o => o.Category == category)) { if (option.IsVirtualProperty) continue; bool mustDisplay = SharedData.CurrentProject.DisplayOptionToUser(option, null); if (!mustDisplay) option.Category = "HIDDEN"; //if (option.Category != category) // continue; Label label = new Label(); label.ForeColor = Color.FromArgb(250, 250, 250); label.BackColor = Color.Transparent; label.Left = sidePadding; label.Text = option.Text; //label.TextAlignment = StringAlignment.Far; //label.TextLineAlignment = StringAlignment.Center; label.Top = currentTop; label.Width = maxLabelWidth + 10; //label.Style = eDotNetBarStyle.StyleManagerControlled; toolTip1.SetToolTip(label, option.Description); //panel.Controls.Add(label); backgroundPanel.Controls.Add(label); //backgroundPanel.PerformLayout(); Control control = null; object defaultValue = SharedData.CurrentProject.GetDefaultValueOf(option); string typeName = option.VarType.FullName; if (option.VarType == typeof(bool?)) typeName = "bool?"; else if (option.VarType == typeof(int?)) typeName = "int?"; switch (typeName) { case "System.String": control = new TextBox(); control.Text = (string)defaultValue; control.Left = label.Right + padding; //control.Width = panel.ClientSize.Width - control.Left - padding; //control.Width = superTabControl1.SelectedPanel.Width - control.Left - padding - (sidePadding * 2); control.Width = 250; control.Anchor = AnchorStyles.Top | AnchorStyles.Left;// | AnchorStyles.Right; control.TextChanged += Options_ValueChanged; break; case "System.Int32": control = new Slyce.Common.Controls.NumEdit(); control.Text = ((int)defaultValue).ToString(); ((Slyce.Common.Controls.NumEdit)control).InputType = Slyce.Common.Controls.NumEdit.NumEditType.Integer; control.Left = label.Right + padding; control.TextChanged += Options_ValueChanged; break; case "System.Boolean": label.Visible = false; control = new CheckBox(); control.Text = option.Text; control.ForeColor = Color.FromArgb(250, 250, 250); //((CheckBoxX)control).RightToLeft = RightToLeft.Yes; ((CheckBox)control).TextAlign = ContentAlignment.MiddleRight; ((CheckBox)control).BackColor = Color.Transparent; if (option.DefaultValue != "") { CheckBox checkBox = (CheckBox)control; checkBox.Checked = (bool)defaultValue; } control.Left = sidePadding + 5; Graphics graphicsChk = Graphics.FromHwnd(control.Handle); control.Width = (int)graphicsChk.MeasureString(option.Text, font).Width + 30; ((CheckBox)control).CheckedChanged += Options_ValueChanged; break; case "System.Enum": control = new ComboBoxEx(); ComboBoxEx comboBox = (ComboBoxEx)control; comboBox.DropDownStyle = ComboBoxStyle.DropDownList; for (int j = 0; j < option.EnumValues.Length; j++) comboBox.Items.Add(option.EnumValues[j]); if (option.EnumValues.Length > 0) comboBox.SelectedIndex = 0; control.Left = label.Right + padding; ((ComboBoxEx)control).SelectedIndexChanged += Options_ValueChanged; break; case "bool?": control = new ComboBoxEx(); ComboBoxEx comboBoxBool = (ComboBoxEx)control; comboBoxBool.DropDownStyle = ComboBoxStyle.DropDownList; comboBoxBool.Items.Add(""); comboBoxBool.Items.Add("true"); comboBoxBool.Items.Add("false"); comboBoxBool.SelectedIndex = 0; control.Left = label.Right + padding; ((ComboBoxEx)control).SelectedIndexChanged += Options_ValueChanged; break; case "int?": control = new Slyce.Common.Controls.NumEdit(); if (defaultValue == null) control.Text = ""; else control.Text = ((int)defaultValue).ToString(); ((Slyce.Common.Controls.NumEdit)control).InputType = Slyce.Common.Controls.NumEdit.NumEditType.Integer; control.Left = label.Right + padding; control.TextChanged += Options_ValueChanged; break; case "ArchAngel.Interfaces.SourceCodeType": control = new ActiproSoftware.SyntaxEditor.SyntaxEditor();// TextBox(); ConfigureSyntaxEditor((ActiproSoftware.SyntaxEditor.SyntaxEditor)control, false); control.Text = ((ArchAngel.Interfaces.SourceCodeType)defaultValue).Value; control.Left = label.Right + padding; //control.Width = panel.ClientSize.Width - control.Left - padding; //control.Width = superTabControl1.SelectedPanel.Width - control.Left - padding - (sidePadding * 2); control.Width = 400;// backgroundPanel.Width - control.Left - 100; control.Anchor = AnchorStyles.Top | AnchorStyles.Left;// | AnchorStyles.Right; control.TextChanged += Options_ValueChanged; break; case "ArchAngel.Interfaces.SourceCodeMultiLineType": control = new ActiproSoftware.SyntaxEditor.SyntaxEditor();// TextBox(); ConfigureSyntaxEditor((ActiproSoftware.SyntaxEditor.SyntaxEditor)control, true); control.Text = ((ArchAngel.Interfaces.SourceCodeMultiLineType)defaultValue).Value; control.Left = label.Right + padding; //control.Width = panel.ClientSize.Width - control.Left - padding; //control.Width = superTabControl1.SelectedPanel.Width - control.Left - padding - (sidePadding * 2); control.Width = 400;// backgroundPanel.Width - control.Left - 100; control.Anchor = AnchorStyles.Top | AnchorStyles.Left;// | AnchorStyles.Right; control.TextChanged += Options_ValueChanged; break; } if (control == null) control = CreateControlUnknownType(option, label, padding); control.Name = "controlOption_" + option.VariableName; control.Tag = option; control.Top = currentTop; toolTip1.SetToolTip(control, option.Description); currentTop += padding + control.Height; backgroundPanel.Controls.Add(control); control.BringToFront(); label.BringToFront(); maxWidth = maxWidth > control.Left + control.Width + padding ? maxWidth : control.Left + control.Width + padding; } KeyValuePair<string, UserControl> optionForm = SharedData.CurrentProject.OptionForms.SingleOrDefault(o => o.Key == category); if (optionForm.Key != null) { optionForm.Value.Dock = DockStyle.Fill; ((IOptionForm)optionForm.Value).Fill(SharedData.CurrentProject.Providers); backgroundPanel.Controls.Add(optionForm.Value); } } superTabControl1.SelectedTabIndex = 1; superTabControl1.Refresh(); superTabControl1.SelectedTabIndex = 0; superTabControl1.Refresh(); ResetDefaults(); }
/// <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 LayoutTab(SuperTabItem tab) { Size size = new Size(); Rectangle bounds = Rectangle.Empty; if (_FixedTabSize.Width <= 0 || _FixedTabSize.Height <= 0 || tab.TextMarkupBody != null) { size = MeasureTab(tab); } // If the user has set a FixedTabSize, then apply it if (tab.FixedTabSize.Width > 0) size.Width = tab.FixedTabSize.Width; else if (_FixedTabSize.Width > 0) size.Width = _FixedTabSize.Width; if (tab.FixedTabSize.Height > 0) size.Height = tab.FixedTabSize.Height; else if (_FixedTabSize.Height > 0) size.Height = _FixedTabSize.Height; // Make sure we keep the tab size within the tab style minimum Size minSize = TabDisplay.MinTabSize; if (size.Width < minSize.Width) size.Width = minSize.Width; if (size.Height < minSize.Height) size.Height = minSize.Height; bounds.Size = (tab.IsVertical == true) ? new Size(size.Height, size.Width) : size; // Let the user have one last crack at measuring the tab bounds.Size = _TabStripItem.OnMeasureTabItem(tab, bounds.Size, Graphics); tab.Bounds = bounds; tab.RecalcSize(); }
/// <summary> /// Constructor /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public SuperTabItemBaseDisplay(SuperTabItem tabItem) { _TabItem = tabItem; SetDefaultColorTable(); }
/// <summary> /// 统一设置Tab颜色 /// </summary> /// <param name="item"></param> public static void SetSupperTabColor(SuperTabItem item) { item.TabFont=new Font("宋体", 16F, System.Drawing.FontStyle.Bold); item.SelectedTabFont = new Font("宋体", 16F, System.Drawing.FontStyle.Bold); item.TabColor = new DevComponents.DotNetBar.Rendering.SuperTabItemColorTable() { Default = new DevComponents.DotNetBar.Rendering.SuperTabColorStates() { Normal = new DevComponents.DotNetBar.Rendering.SuperTabItemStateColorTable() { Background = new DevComponents.DotNetBar.Rendering.SuperTabLinearGradientColorTable() { Colors = new System.Drawing.Color[] { Pub.TabNormalColor } }, Text = Color.White }, Selected = new DevComponents.DotNetBar.Rendering.SuperTabItemStateColorTable() { Background = new DevComponents.DotNetBar.Rendering.SuperTabLinearGradientColorTable() { Colors = new System.Drawing.Color[] { Pub.TabSelectColor } }, Text = Color.Black }, MouseOver = new DevComponents.DotNetBar.Rendering.SuperTabItemStateColorTable() { Background = new DevComponents.DotNetBar.Rendering.SuperTabLinearGradientColorTable() { Colors = new System.Drawing.Color[] { Color.White, Color.FromArgb(255, 192, 128) } } } } }; }
private void AddTab(SysArea area) { if (area.Id <= 0) { MessageBoxEx.Show("请选择商圈"); return; } if (AreaIsExist(area)) { MessageBoxEx.Show("此商圈已经存在!"); return; } SuperTabItem item = new SuperTabItem( ); item.Tag = area; item.Text = area.AreaName; areaContainer.Tabs.Add(item); }
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); }
/// <summary> /// Closes the given tab /// </summary> /// <param name="tab"></param> public void CloseTab(SuperTabItem tab) { _TabStrip.CloseTab(tab); }
public SuperTabItem CreateTab(SuperTabItem tab, SuperTabControlPanel panel, int insertAt) { SuspendLayout(); tab.AttachedControl = panel; panel.TabItem = tab; Controls.Add(panel); if (insertAt < 0 || insertAt >= Tabs.Count) Tabs.Add(tab); else Tabs.Insert(insertAt, tab); ApplyPanelStyle(panel); panel.Size = Size.Empty; panel.Dock = DockStyle.Fill; panel.BringToFront(); ResumeLayout(); return (tab); }
/// <summary> /// Creates a TabControl tab /// </summary> /// <param name="tabText"></param> /// <param name="insertAt"></param> /// <returns></returns> public SuperTabItem CreateTab(string tabText, int insertAt) { SuperTabItem tab = new SuperTabItem(); SuperTabControlPanel panel = new SuperTabControlPanel(); tab.Text = tabText; return (CreateTab(tab, panel, insertAt)); }
/// <summary> /// Measures the markup text /// </summary> /// <param name="tab"></param> /// <param name="g"></param> /// <param name="font"></param> /// <returns></returns> private Size MeasureMarkup(SuperTabItem tab, Graphics g, Font font) { TextMarkup.MarkupDrawContext d = new TextMarkup.MarkupDrawContext(g, font, Color.Black, false); Size size = new Size(5000, 5000); tab.TextMarkupBody.InvalidateElementsSize(); tab.TextMarkupBody.Measure(size, d); d.RightToLeft = _TabStripItem.IsRightToLeft; tab.TextMarkupBody.Arrange(new Rectangle(Point.Empty, tab.TextMarkupBody.Bounds.Size), d); size = tab.TextMarkupBody.Bounds.Size; return (size); }
/// <summary> /// Measures the given text /// </summary> /// <param name="tab"></param> /// <param name="g"></param> /// <param name="font"></param> /// <returns></returns> private Size MeasureText(SuperTabItem tab, Graphics g, Font font) { string text = string.IsNullOrEmpty(tab.Text) ? "M" : tab.Text; Size textSize = tab.IsVertical ? TextDrawing.MeasureStringLegacy(g, text, font, Size.Empty, eTextFormat.Default) : TextDrawing.MeasureString(g, text, font, 0, eTextFormat.Default); return (textSize); }
/// <summary> /// Constructor for OneNote2007 style SuperTabItem base display /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public OneNote2007SuperTabItem(SuperTabItem tabItem) : base(tabItem) { }
/// <summary> /// Constructor /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public VS2008DocumentSuperTabItem(SuperTabItem tabItem) : base(tabItem) { }
/// <summary> /// Returns copy of the item. /// </summary> public override BaseItem Copy() { SuperTabItem objCopy = new SuperTabItem(); CopyToItem(objCopy); return (objCopy); }
/// <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 PuplateTabData(SuperTabItem superTabItem) { dgvGadgets.DataSource = null; SelectedPackage = superTabItem.Tag as GadgetPackageRecord; if (SelectedPackage != null) { List<GadgetGridRow> rows = new List<GadgetGridRow>(); foreach (XElement gadget in SelectedPackage.EachGadget()) rows.Add(new GadgetGridRow(gadget.AttributeText("deployPath"))); dgvGadgets.DataSource = new BindingList<GadgetGridRow>(rows); } }
/// <summary>加载分组用户</summary> private void LoadGroupMember() { List<DB_Talk.Model.m_Group> lstGroup = new DB_Talk.BLL.m_Group().GetModelList(string.Format("i_Flag=0 and groupTypeID={0} and BoxID={1}", PublicEnums.EnumGroupType.Normal.GetHashCode(),Pub.manageModel.BoxID.Value)); int index = 1;//因为前面已加过两个了 foreach (DB_Talk.Model.m_Group item in lstGroup) { index++; NormalGroupModel gModel = new NormalGroupModel(); _lstGroup.Add(gModel); SuperTabItem a = new SuperTabItem(); a.Text = item.vc_Name; a.SelectedTabFont = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Bold); superTabLinearGradientColorTable1.Colors = new System.Drawing.Color[] { System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(41)))), ((int)(((byte)(48))))), System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(113)))), ((int)(((byte)(130)))))}; superTabItemStateColorTable1.Background = superTabLinearGradientColorTable1; superTabColorStates1.Selected = superTabItemStateColorTable1; superTabItemColorTable1.Bottom = superTabColorStates1; a.TabColor = superTabItemColorTable1; a.Tag = index; a.Click += new EventHandler(_mainForm.MemberTabItem_Click); Pub.SetSupperTabColor(a); _mainForm.superTabControlDispatch.Tabs.Add(a); SuperTabControlPanel sp = new SuperTabControlPanel(); _mainForm.superTabControlDispatch.Controls.Add(sp); a.AttachedControl = sp; PageControl fp = new PageControl(); sp.Controls.Add(fp); fp.Dock = DockStyle.Fill; gModel.PageControl = fp; List<DB_Talk.Model.v_GroupMembers> lstGroupMember = new DB_Talk.BLL.v_GroupMembers().GetModelList("groupid=" + item.ID); foreach (DB_Talk.Model.v_GroupMembers gItem in lstGroupMember) { if (gItem.i_Number.Value != Pub.manageModel.LeftDispatchNumber.Value && gItem.i_Number.Value != Pub.manageModel.RightDispatchNumber.Value ) { SingleUserControl sc = new SingleUserControl(); sc.MemberName = gItem.vc_Name; sc.Number = gItem.i_Number.Value; sc.ID = gItem.MemberID.Value; if (gItem.DepartmentID!=null) { sc.DepartmentID = gItem.DepartmentID.Value; } if (gItem.i_TellType != null) { sc.TellType = (CommControl.PublicEnums.EnumTelType)gItem.i_TellType.Value; } gModel.lstControl.Add(sc); sc.Click += new EventHandler(_mainForm.single_Click); } } fp.Init(gModel.lstControl); } }
/// <summary>增加会议分组</summary> public void AddMeetingGroup(MeetingGroupModel.EnumMeetingState meetingState, DispatchPlatform.MeetingGroupModel.EnumMeetingType meetingType, int groupID, int meetingID, string meetingGroupName, List<DB_Talk.Model.m_Member> lstMembers, long dispatchNumber, bool tabVisible) { foreach (SuperTabItem item in _mainForm.superTabControlMeeting.Tabs) { MeetingGroupModel model = (MeetingGroupModel)item.Tag; if (model.GroupName == meetingGroupName || lstMembers.Count==0) { return; } } SuperTabItem tabItem = new SuperTabItem(); tabItem.GlobalItem = false; tabItem.SelectedTabFont = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold); superTabLinearGradientColorTable1.Colors = new System.Drawing.Color[] { System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(41)))), ((int)(((byte)(48))))), System.Drawing.Color.FromArgb(((int)(((byte)(95)))), ((int)(((byte)(113)))), ((int)(((byte)(130)))))}; superTabItemStateColorTable1.Background = superTabLinearGradientColorTable1; superTabColorStates1.Selected = superTabItemStateColorTable1; superTabItemColorTable1.Bottom = superTabColorStates1; tabItem.TabColor = superTabItemColorTable1; tabItem.Text = meetingGroupName; Pub.SetSupperTabColor(tabItem); tabItem.Click += new EventHandler(_mainForm.MeetingTabItem_Click); MeetingGroupModel mModel = new MeetingGroupModel(); mModel.MeetingState = meetingState; mModel.MeetingID = meetingID; mModel.GroupID = groupID; mModel.GroupName = meetingGroupName; mModel.MeetingType = meetingType; mModel.DispatchNumber = dispatchNumber; tabItem.Tag = mModel; _lstGroup.Add(mModel); _mainForm.superTabControlMeeting.Tabs.Add(tabItem); _mainForm.superTabControlMeeting.SelectedTab = tabItem; SuperTabControlPanel sp = new SuperTabControlPanel(); tabItem.Visible = tabVisible; _mainForm.superTabControlMeeting.Controls.Add(sp); tabItem.AttachedControl = sp; //_lstGroup.Add(mModel); PageControl pControl = new PageControl(); mModel.pageControl = pControl; pControl.Dock = DockStyle.Fill; sp.Controls.Add(pControl); foreach (DB_Talk.Model.m_Member item in lstMembers) { if (item.i_Number != Pub.manageModel.LeftDispatchNumber.Value && item.i_Number != Pub.manageModel.RightDispatchNumber.Value) { SingleUserControl sc = new SingleUserControl(); sc.Number = item.i_Number.Value; sc.MemberName = item.vc_Name; sc.ID = item.ID; if (item.DepartmentID!=null) { sc.DepartmentID = item.DepartmentID.Value; } if (item.i_TellType != null) { sc.TellType = (CommControl.PublicEnums.EnumTelType)item.i_TellType.Value; if (item.i_TellType.Value==0) { sc.TellType = PublicEnums.EnumTelType.WiFi手机; } } else { sc.TellType = PublicEnums.EnumTelType.WiFi手机; } if (meetingType == MeetingGroupModel.EnumMeetingType.Temp) { sc.PeerNumber = meetingGroupName; sc.UserLineStatus = Pub._memberManage.GetMemberState(item.i_Number.Value); } mModel.lstControl.Add(sc); sc.Click += new EventHandler(_mainForm.single_Click); } } if (meetingType == MeetingGroupModel.EnumMeetingType.Temp) { mModel.DispatchNumber = dispatchNumber; tabItem.RaiseClick(); } pControl.Init(mModel.lstControl); }
public void loadKhuVuc_Ban() { stcKhuVuc.Tabs.Clear(); foreach(SuperTabControlPanel _panel in listSubTap) { this.stcKhuVuc.Controls.Remove(_panel); } listSubTap.Clear(); stcKhuVuc.RecalcLayout(); foreach (KhuVuc khuVuc in Global.listKhuVuc) { SuperTabControlPanel panel = new SuperTabControlPanel(); listSubTap.Add(panel); this.stcKhuVuc.Controls.Add(panel); ListViewEx listview = new ListViewEx(); listview.Name = "listview"; listview.BackColor = Color.Azure; listview.Dock = DockStyle.Fill; listview.LargeImageList = imageList1; listview.SelectedIndexChanged += listview_SelectedIndexChanged; panel.Controls.Add(listview); panel.Dock = System.Windows.Forms.DockStyle.Fill; panel.Location = new System.Drawing.Point(0, 25); panel.Name = "panell"; panel.Size = new System.Drawing.Size(249, 217); panel.TabIndex = 0; SuperTabItem subTabItem = new SuperTabItem(); panel.TabItem = subTabItem; subTabItem.AttachedControl = panel; subTabItem.GlobalItem = false; subTabItem.Name = "superTabItem"; subTabItem.Text = khuVuc.tenKhuVuc; foreach(Ban ban in Global.listBan) { if(ban.maKhuVuc == khuVuc.maKhuVuc) { ListViewItem item = new ListViewItem(); item.Text = ban.tenBan; item.Name = ban.maBan; switch (ban.tinhTrang) { case 0: item.ImageKey = "Table_empty.png"; break; case 1: item.ImageKey = "table_orderd.jpg"; break; case 2: item.ImageKey = "table_opened.png"; break; case 3: item.ImageKey = "table_unClean.jpg"; break; } item.ToolTipText = ban.tenBan; item.Tag = ban.tinhTrang; listview.Items.Add(item); } } subTabItem.AttachedControl = panel; this.stcKhuVuc.Tabs.Add(subTabItem); } }
/// <summary> /// Ensures that the given tab is visible on the TabStrip /// </summary> /// <param name="tab"></param> public void EnsureVisible(SuperTabItem tab) { _TabStripItem.EnsureVisible(tab); }
/// <summary> /// Office 2010 Backstage SuperTabItem display constructor /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public Office2010BackstageSuperTabItem(SuperTabItem tabItem) : base(tabItem) { }
/// <summary> /// Constructor for Office2007 style SuperTabItem base display /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public Office2007SuperTabItem(SuperTabItem tabItem) : base(tabItem) { }
/// <summary> /// Constructor /// </summary> /// <param name="tabItem">Associated SuperTabItem</param> public WinMediaPlayer12SuperTabItem(SuperTabItem tabItem) : base(tabItem) { }
/// <summary> /// 删除正式会议成员 /// </summary> /// <param name="model"></param> /// <param name="meetingID"></param> /// <param name="number"></param> private void DeleteFormlMeetingMember(SuperTabItem sti,MeetingGroupModel model, long number) { List<DB_Talk.Model.v_GroupMembers> lstGroupMember = new DB_Talk.BLL.v_GroupMembers().GetModelList("groupid=" + model.GroupID); DB_Talk.Model.v_GroupMembers member = lstGroupMember.Find(m => m.i_Number == number); if (member == null)//说明是邀请过来的 { model.lstControl.Remove(model.lstControl.Find(p => p.Number == number)); } //int tempCount = model.lstControl.Count; //for (int j = tempCount - 1; j >= 0; j--) //{ // bool isFind = false; // foreach (DB_Talk.Model.v_GroupMembers mem in lstGroupMember) // { // if (model.lstControl[j].Number == mem.i_Number.Value) // { // isFind = true; // break; // } // } // if (isFind == false) // { // model.lstControl.Remove(model.lstControl[j]); // } //} Pub.CanDestroyControl = false; model.pageControl.Init(model.lstControl); Pub.CanDestroyControl = true; List<SingleUserControl> lstControl = model.lstControl.FindAll(p => p.UserLineStatus == TalkControl.EnumUserLineStatus.Busy || p.UserLineStatus == TalkControl.EnumUserLineStatus.Forbid || p.UserLineStatus == TalkControl.EnumUserLineStatus.Isolate || p.UserLineStatus == TalkControl.EnumUserLineStatus.Ring || p.UserLineStatus == TalkControl.EnumUserLineStatus.Record ); if (lstControl != null && lstControl.Count > 0) { } else { model.MeetingState = MeetingGroupModel.EnumMeetingState.Off; sti.RaiseClick(); } //bool allIdel = true;//所有都空闲改变会议状态为结束 //// //foreach (SingleUserControl item in model.lstControl) //{ // if (item.UserLineStatus == TalkControl.EnumUserLineStatus.Busy) // { // allIdel = false; // break; // } //} //if (allIdel) //{ // model.MeetingState = MeetingGroupModel.EnumMeetingState.Off; //_mainForm.superTabControlMeeting.Tabs[i].RaiseClick(); //} }