private void RefreshTree() { AdvTree.Nodes.Clear(); AdvTree.View = DevComponents.AdvTree.eView.Tile; DevComponents.DotNetBar.ElementStyle groupStyle = new DevComponents.DotNetBar.ElementStyle(); groupStyle.TextColor = System.Drawing.Color.Navy; groupStyle.Font = new System.Drawing.Font(AdvTree.Font.FontFamily, 9f, System.Drawing.FontStyle.Bold); groupStyle.Name = "GroupStyle"; AdvTree.Styles.Add(groupStyle); DevComponents.DotNetBar.ElementStyle subItemStyle = new DevComponents.DotNetBar.ElementStyle(); subItemStyle.TextColor = System.Drawing.Color.Gray; subItemStyle.Name = "SubItemStyle"; AdvTree.Styles.Add(subItemStyle); System.Collections.ArrayList rootList = authorityService.GetRootModule(Framework.Entity.Module.ALL); foreach (Framework.Entity.Module root in rootList) { DevComponents.AdvTree.Node groupNode = new DevComponents.AdvTree.Node(root.Title, groupStyle); groupNode.Expanded = true; groupNode.Tag = root; AdvTree.Nodes.Add(groupNode); System.Collections.ArrayList childList = authorityService.GetModuleByPid(root.Id, Framework.Entity.Module.ALL); foreach (Framework.Entity.Module child in childList) { groupNode.Nodes.Add(CreateChildNode(child, global::Framework.Properties.Resources.Default, subItemStyle)); } } }
private void DepartMentMaker2_Load(object sender, EventArgs e) { CenterToScreen(); datam.SecurityCheck(); this.FormClosing += new FormClosingEventHandler(DepartmentMaker2_FormClosing); textBox1.KeyPress += new KeyPressEventHandler(textBox1_KeyPress); textBox1.TextChanged += new EventHandler(textBox1_TextChanged); advTree1.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(advTree1_AfterNodeSelect); _header_style = new DevComponents.DotNetBar.ElementStyle(); _header_style.TextColor = Color.Maroon; _header_style.Font = new Font("georgia", 14, FontStyle.Regular); // _dept_style = new DevComponents.DotNetBar.ElementStyle(); // _dept_style.TextColor = Color.Blue; _dept_style.TextColor = Color.FromArgb(64, 64, 64); _dept_style.Font = new Font("georgia", 13, FontStyle.Regular); // _sb_dept_style = new DevComponents.DotNetBar.ElementStyle(); _sb_dept_style.TextColor = Color.Blue; _sb_dept_style.Font = new Font("verdana", 11, FontStyle.Regular); // _sb_dept_style2 = new DevComponents.DotNetBar.ElementStyle(); _sb_dept_style2.TextColor = Color.Purple; _sb_dept_style2.Font = new Font("verdana", 10, FontStyle.Regular); datam.GetDepartments(null); LoadTree(); }
private void ChurchSubUnits_Load(object sender, EventArgs e) { CenterToScreen(); datam.SecurityCheck(); datam.SystemInitializer(); this.FormClosing += new FormClosingEventHandler(ChurchSubUnits_FormClosing); textBox1.KeyPress += new KeyPressEventHandler(textBox1_KeyPress); textBox1.TextChanged += new EventHandler(textBox1_TextChanged); advTree1.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(advTree1_AfterNodeSelect); _header_style = new DevComponents.DotNetBar.ElementStyle(); _header_style.TextColor = Color.Maroon; _header_style.Font = new Font("georgia", 14, FontStyle.Regular); // _dept_style = new DevComponents.DotNetBar.ElementStyle(); // _dept_style.TextColor = Color.Blue; _dept_style.TextColor = Color.FromArgb(64, 64, 64); _dept_style.Font = new Font("georgia", 13, FontStyle.Regular); // _sb_dept_style = new DevComponents.DotNetBar.ElementStyle(); _sb_dept_style.TextColor = Color.Blue; _sb_dept_style.Font = new Font("verdana", 11, FontStyle.Regular); m_categories = new SortedList <int, string>(); m_categories.Add(1, "Sabbath School"); m_categories.Add(2, "Company"); m_categories.Add(3, "Hospital"); m_categories.Add(4, "Clinic"); m_categories.Add(5, "Primary School"); m_categories.Add(6, "Secondary School"); m_categories.Add(7, "Insititution"); m_categories.Add(8, "University"); LoadTree(); }
/// <summary> /// 构造函数 /// </summary> public FrmStatItem() { InitializeComponent(); centerStyle = new DevComponents.DotNetBar.ElementStyle(); centerStyle.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; frmFormItem.AddItem(txtStatName, "StatName"); frmFormItem.AddItem(cbAccItem, "AccItemID"); frmFormItem.AddItem(cbCostItem, "CostItemID"); frmFormItem.AddItem(cbBaItem, "BaItemID"); frmFormItem.AddItem(cbPoItem, "PoItemID"); frmFormItem.AddItem(cbOutFpItem, "OutFpItemID"); frmFormItem.AddItem(cbInFpItem, "InFpItemID"); }
public void NewIncomeAccount(ic.accountC _inc) { if (_inc == null) { return; } var Parent_node = advTree1.FindNodeByName(string.Format("Account{0}", _inc.p_account_id)); if (Parent_node != null) { DevComponents.AdvTree.Node _nd = new DevComponents.AdvTree.Node(); _nd.ContextMenu = contextMenuFile; _nd.Text = _inc.account_name; _nd.Tag = _inc; _nd.Name = string.Format("Account{0}", _inc.account_id); if (_inc.account_status == em.account_statusS.Disabled) { _nd.Style = _disabled; } if (_inc.account_status == em.account_statusS.Enabled) { _nd.Style = _file_style; } Parent_node.Nodes.Add(_nd); _nd = null; Parent_node.Expand(); } if (_inc.PostType == em.postTypeS.cash_accounts_payable) { #region fill other_income_payable datam.GetAccountsPayable(null); var _gp = datam.GetAccountByAlias("OIPAYABLE"); if (_gp != null) { var parent_node = advTree1.FindNodeByName(string.Format("Account{0}", _gp.account_id)); DevComponents.DotNetBar.ElementStyle _tt = new DevComponents.DotNetBar.ElementStyle(); _tt.TextColor = Color.DeepPink; _tt.Font = new Font("verdana", 12, FontStyle.Regular); DevComponents.AdvTree.Node _nd = new DevComponents.AdvTree.Node(); _nd.Text = _inc.account_name; _nd.Style = _tt; _nd.Name = string.Format("PAYABLE{0}", _inc.account_id); parent_node.Nodes.Add(_nd); } #endregion } }
private void AddSonNodeByUserid(List <ProgList> _list, List <Prog_WRT> _pgwrtlist, NodeCollection _nodes, string parentid) { var _nodestyleBlue = new DevComponents.DotNetBar.ElementStyle(); _nodestyleBlue.TextColor = System.Drawing.Color.Blue; _nodestyleBlue.Font = new System.Drawing.Font("宋体", 14); _nodestyleBlue.BackColor = System.Drawing.Color.FromArgb(207, 221, 238); var _nodestyleRed = new DevComponents.DotNetBar.ElementStyle(); _nodestyleRed.TextColor = System.Drawing.Color.Red; _nodestyleRed.Font = new System.Drawing.Font("宋体", 14); _nodestyleRed.BackColor = System.Drawing.Color.FromArgb(207, 221, 238); var _mlist = _list.FindAll(t => t.Prog_ParantId == parentid); for (int i = 0; i < _mlist.Count; i++) { Node _node = new Node(); _node.Text = _mlist[i].Prog_Descp; _node.Name = _mlist[i].Prog_Id; //_node.Tag = _mlist[i]; var _wrtlist = _pgwrtlist.FindAll(t => t.Prog_Id == _mlist[i].Prog_Id); if (_wrtlist.Count <= 0)//不存在 { _node.Style = _nodestyleRed; _node.StyleSelected = _nodestyleRed; _node.Tag = null; } else { _node.Style = _nodestyleBlue; _node.StyleSelected = _nodestyleBlue; _node.Tag = _wrtlist[0]; } _nodes.Add(_node); _node.EnsureVisible(); this.AddSonNodeByUserid(_list, _pgwrtlist, _node.Nodes, _mlist[i].Prog_Id); } }
private void AddFunSonNode(List <FunctionRepository> _list, NodeCollection _nodes, string parentid) { var _nodestyleBlue = new DevComponents.DotNetBar.ElementStyle(); _nodestyleBlue.TextColor = System.Drawing.Color.Blue; _nodestyleBlue.Font = new System.Drawing.Font("宋体", 14); _nodestyleBlue.BackColor = System.Drawing.Color.FromArgb(207, 221, 238); var _nodestyleRed = new DevComponents.DotNetBar.ElementStyle(); _nodestyleRed.TextColor = System.Drawing.Color.Red; _nodestyleRed.Font = new System.Drawing.Font("宋体", 14); _nodestyleRed.BackColor = System.Drawing.Color.FromArgb(207, 221, 238); var _mlist = _list.FindAll(t => t.Fun_ParantId == parentid); for (int i = 0; i < _mlist.Count; i++) { Node _node = new Node(); _node.Text = _mlist[i].Func_Descpt; _node.Name = _mlist[i].Fun_Id; _node.Tag = _mlist[i]; _nodes.Add(_node); //_node.EnsureVisible(); if (string.IsNullOrEmpty(_mlist[i].Fun_Name.Trim()) && (string.IsNullOrEmpty(_mlist[i].Fun_CLSF.Trim()))) { _node.Image = global::MyPorgamManage.Properties.Resources.feature_16x16; _node.Style = _nodestyleRed; _node.StyleSelected = _nodestyleRed; } else { _node.Image = global::MyPorgamManage.Properties.Resources.csharp_16x16; _node.Style = _nodestyleBlue; _node.StyleSelected = _nodestyleBlue; } this.AddFunSonNode(_list, _node.Nodes, _mlist[i].Fun_Id); } }
//设置选中树节点颜色 private void setNodeColor(DevComponents.AdvTree.AdvTree aTree) { DevComponents.DotNetBar.ElementStyle elementStyle = new DevComponents.DotNetBar.ElementStyle(); elementStyle.BackColor = Color.FromArgb(255, 244, 213); elementStyle.BackColor2 = Color.FromArgb(255, 216, 105); elementStyle.BackColorGradientAngle = 90; elementStyle.Border = DevComponents.DotNetBar.eStyleBorderType.Solid; elementStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; elementStyle.BorderBottomWidth = 1; elementStyle.BorderColor = Color.DarkGray; elementStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; elementStyle.BorderLeftWidth = 1; elementStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; elementStyle.BorderRightWidth = 1; elementStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; elementStyle.BorderTopWidth = 1; elementStyle.BorderWidth = 1; elementStyle.CornerDiameter = 4; elementStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; aTree.NodeStyleSelected = elementStyle; aTree.DragDropEnabled = false; }
private void COAccounts_Load(object sender, EventArgs e) { datam.SecurityCheck(); datam.SystemInitializer(); _folder_style = new DevComponents.DotNetBar.ElementStyle(); _folder_style.TextColor = Color.Blue; // _file_style = new DevComponents.DotNetBar.ElementStyle(); _file_style.TextColor = Color.Black; // _disabled = new DevComponents.DotNetBar.ElementStyle(); _disabled.TextColor = Color.Gray; _file_style.Font = new Font("verdana", 11, FontStyle.Regular); _folder_style.Font = new Font("verdana", 11, FontStyle.Regular); // LCB_ACCOUNT = accn.GetChildAccounts("LCB", em.account_typeS.ActualAccount).Select(k => k.account_id).ToList(); // InitIgridColumns(); LoadMainGrid(); // LoadLeftTree(); fGrid.ReadOnly = true; }
private void TroubleshootingPanel_Load(object sender, EventArgs e) { try { var pages = TroubleshootingManager.Instance.Pages?.ToArray(); _tree.Nodes.Clear(); if (pages?.Any() ?? false) { var backStyle = new DevComponents.DotNetBar.ElementStyle() { Border = DevComponents.DotNetBar.eStyleBorderType.Solid, BorderColor = ThreatModelManager.StandardColor, BackColor = Color.White, TextColor = Color.Black }; foreach (var page in pages) { var node = new Node(page.Name) { Image = Properties.Resources.lifebelt, Tooltip = page.Description, StyleSelected = backStyle, Tag = page }; node.NodeClick += NodeClick; _tree.Nodes.Add(node); } } } catch { throw; } }
private DevComponents.AdvTree.Node CreateChildNode(Framework.Entity.Module module, System.Drawing.Image image, DevComponents.DotNetBar.ElementStyle subItemStyle) { DevComponents.AdvTree.Node childNode = new DevComponents.AdvTree.Node(module.Title); childNode.Image = image; childNode.Cells.Add(new DevComponents.AdvTree.Cell(module.Title, subItemStyle)); childNode.Tag = module; childNode.NodeDoubleClick += new System.EventHandler(MnModify_Click); return(childNode); }
private void LoadLeftTree() { if (datam.DATA_ACCOUNTS_D_SECTION == null && datam.DATA_ACCOUNTS_D_SECTION.Keys.Count == 0) { return; } advTree1.BeginUpdate(); DevComponents.DotNetBar.ElementStyle _section_style = new DevComponents.DotNetBar.ElementStyle(); _section_style.TextColor = Color.Maroon; _section_style.Font = new Font("verdana", 12, FontStyle.Regular); DevComponents.AdvTree.Node _section = null; var slist = from s in datam.DATA_ACCOUNTS_D_SECTION.Values orderby s.disp_index select s; foreach (var t in slist) { _section = new DevComponents.AdvTree.Node(); _section.Text = t.acc_d_type_name; _section.Tag = t; _section.Name = string.Format("Section{0}", t.acc_d_type_id); _section.ContextMenu = contextMenuDrive; _section.Style = _section_style; advTree1.Nodes.Add(_section); _section = null; } if (datam.DATA_ACCOUNTS == null || datam.DATA_ACCOUNTS.Count == 0) { advTree1.EndUpdate(); return; } var nlist = from n in datam.DATA_ACCOUNTS.Values orderby n.p_account_id, n.account_id group n by n.account_dept_type.ToByte() into new_group select new { section_id = new_group.Key, section_collection = new_group }; DevComponents.AdvTree.Node _parent = null; DevComponents.AdvTree.Node _nd = null; foreach (var n in nlist) { _section = advTree1.FindNodeByName(string.Format("Section{0}", n.section_id.ToByte())); var llist = from j in n.section_collection orderby j.a_level, j.account_id select j; foreach (var t in llist) { try { _nd = new DevComponents.AdvTree.Node(); _nd.Text = t.account_name; _nd.Tag = t; _nd.Name = string.Format("Account{0}", t.account_id); if (t.a_level == 1) { _section.Nodes.Add(_nd); } else { _parent = advTree1.FindNodeByName(string.Format("Account{0}", t.p_account_id)); if (_parent != null) { _parent.Nodes.Add(_nd); } } if (t.account_type == em.account_typeS.ActualAccount) { _nd.ContextMenu = contextMenuFile; if (t.account_status == em.account_statusS.Disabled) { _nd.Style = _disabled; } if (t.account_status == em.account_statusS.Enabled) { _nd.Style = _file_style; } } else { // _nd.Image = MUTTICO.Properties.Resources.Folder; _nd.ContextMenu = contextMenuFolder; _nd.Style = _folder_style; } } catch (Exception ex) { MessageBox.Show(ex.Message); } } } // #region fill other_income_payable //datam.GetAccountsPayable(null); //var tlist = from n in datam.DATA_ACCOUNTS_PAYABLE.Values // where n.objAccount.account_status == em.account_statusS.Enabled // group n by n.account_id into new_gp // select new // { // acc = datam.DATA_ACCOUNTS[new_gp.Key], // gp_id = new_gp.FirstOrDefault().gp_id // }; //DevComponents.DotNetBar.ElementStyle _tt = new DevComponents.DotNetBar.ElementStyle(); //_tt.TextColor = Color.Purple; //_tt.Font = new Font("verdana", 12, FontStyle.Regular); //foreach (var k in tlist) //{ // _nd = new DevComponents.AdvTree.Node(); // _nd.Text = k.acc.account_name; // _nd.Style = _tt; // _nd.Name = string.Format("PAYABLE{0}", k.acc.account_id); // advTree1.FindNodeByName(string.Format("Account{0}", k.gp_id)).Nodes.Add(_nd); // _nd = null; //} #endregion advTree1.EndUpdate(); }
public void ExecuteCustomAction([NotNull] IActionDefinition action) { //string text = null; //bool warning = false; switch (action.Name) { case "OpenWeb": if (_tree.SelectedNode?.Tag is Page page) { ProcessStartInfo sInfo = new ProcessStartInfo(page.Url); #pragma warning disable SCS0001 // Command injection possible in {1} argument passed to '{0}' Process.Start(sInfo); #pragma warning restore SCS0001 // Command injection possible in {1} argument passed to '{0}' } break; case "CopyUrl": if (_tree.SelectedNode?.Tag is Page page2) { Clipboard.SetText(page2.Url); ShowMessage?.Invoke("URL copied successfully."); } break; default: var level = action.Name.GetEnumValue <LearningLevel>(); var topics = LearningManager.Instance.GetTopics(level)?.ToArray(); _tree.Nodes.Clear(); if (topics?.Any() ?? false) { var backStyle = new DevComponents.DotNetBar.ElementStyle() { Border = DevComponents.DotNetBar.eStyleBorderType.Solid, BorderColor = ThreatModelManager.StandardColor, BackColor = Color.White, TextColor = Color.Black }; foreach (var topic in topics) { Node parent = new Node(topic.Name) { Image = Resources.book, ImageExpanded = Resources.book_open, StyleSelected = backStyle }; _tree.Nodes.Add(parent); var lessons = topic.Lessons?.ToArray(); if (lessons?.Any() ?? false) { foreach (var lesson in lessons) { var child = new Node(lesson.Name) { Image = level.GetLevelImage(ImageSize.Medium), Tooltip = lesson.Description, StyleSelected = backStyle, Tag = lesson }; child.NodeClick += Child_NodeClick; parent.Nodes.Add(child); } } } _tree.ExpandAll(); } break; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); this.txtSearch = new DevComponents.DotNetBar.Controls.TextBoxX(); this.panel2 = new System.Windows.Forms.Panel(); this.btnSchoolYearSemester = new DevComponents.DotNetBar.ButtonX(); this.panel3 = new System.Windows.Forms.Panel(); this.treeWho = new DevComponents.AdvTree.AdvTree(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.menuOpenNewLPView = new System.Windows.Forms.ToolStripMenuItem(); this.menuExpand = new System.Windows.Forms.ToolStripMenuItem(); this.menuCollapse = new System.Windows.Forms.ToolStripMenuItem(); this.node1 = new DevComponents.AdvTree.Node(); this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.treeWho)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Controls.Add(this.txtSearch); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 25); this.panel1.TabIndex = 2; // // txtSearch // this.txtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); // // // this.txtSearch.Border.Class = "TextBoxBorder"; this.txtSearch.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.txtSearch.Location = new System.Drawing.Point(11, 3); this.txtSearch.Name = "txtSearch"; this.txtSearch.Size = new System.Drawing.Size(177, 22); this.txtSearch.TabIndex = 2; this.txtSearch.WatermarkText = "依教師姓名搜尋"; this.txtSearch.TextChanged += new System.EventHandler(this.txtSearch_TextChanged); // // panel2 // this.panel2.Controls.Add(this.btnSchoolYearSemester); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 482); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(200, 18); this.panel2.TabIndex = 3; // // btnSchoolYearSemester // this.btnSchoolYearSemester.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnSchoolYearSemester.AutoExpandOnClick = true; this.btnSchoolYearSemester.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnSchoolYearSemester.Dock = System.Windows.Forms.DockStyle.Fill; this.btnSchoolYearSemester.Location = new System.Drawing.Point(0, 0); this.btnSchoolYearSemester.Name = "btnSchoolYearSemester"; this.btnSchoolYearSemester.Size = new System.Drawing.Size(200, 18); this.btnSchoolYearSemester.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.btnSchoolYearSemester.TabIndex = 0; this.btnSchoolYearSemester.Text = "buttonX1"; // // panel3 // this.panel3.Controls.Add(this.treeWho); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 25); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(200, 457); this.panel3.TabIndex = 4; // // treeWho // this.treeWho.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.treeWho.AllowDrop = true; this.treeWho.BackColor = System.Drawing.SystemColors.Window; // // // this.treeWho.BackgroundStyle.Class = "TreeBorderKey"; this.treeWho.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.treeWho.Dock = System.Windows.Forms.DockStyle.Fill; this.treeWho.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.treeWho.Location = new System.Drawing.Point(0, 0); this.treeWho.Name = "treeWho"; this.treeWho.Nodes.AddRange(new DevComponents.AdvTree.Node[] { this.node1}); this.treeWho.NodesConnector = this.nodeConnector1; this.treeWho.NodeStyle = this.elementStyle1; this.treeWho.PathSeparator = ";"; this.treeWho.Size = new System.Drawing.Size(200, 457); this.treeWho.Styles.Add(this.elementStyle1); this.treeWho.TabIndex = 0; this.treeWho.Text = "advTree1"; this.treeWho.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(this.treeWho_AfterNodeSelect); this.treeWho.NodeMouseDown += new DevComponents.AdvTree.TreeNodeMouseEventHandler(this.treeWho_NodeMouseDown); this.treeWho.NodeClick += new DevComponents.AdvTree.TreeNodeMouseEventHandler(this.treeWho_NodeClick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuOpenNewLPView, this.menuExpand, this.menuCollapse}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(131, 70); // // menuOpenNewLPView // this.menuOpenNewLPView.Name = "menuOpenNewLPView"; this.menuOpenNewLPView.Size = new System.Drawing.Size(130, 22); this.menuOpenNewLPView.Text = "開新功課表"; // // menuExpand // this.menuExpand.Name = "menuExpand"; this.menuExpand.Size = new System.Drawing.Size(130, 22); this.menuExpand.Text = "展開"; // // menuCollapse // this.menuCollapse.Name = "menuCollapse"; this.menuCollapse.Size = new System.Drawing.Size(130, 22); this.menuCollapse.Text = "收合"; // // node1 // this.node1.Expanded = true; this.node1.Name = "node1"; this.node1.Text = "node1"; // // nodeConnector1 // this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle1 // this.elementStyle1.Class = ""; this.elementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // usrTeacherList // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "usrTeacherList"; this.Size = new System.Drawing.Size(200, 500); this.Load += new System.EventHandler(this.usrTeacherList_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.treeWho)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { components = new System.ComponentModel.Container(); var resources = new System.ComponentModel.ComponentResourceManager(typeof(ObjectCatalog)); _ListViewEx1 = new DevComponents.DotNetBar.Controls.ListViewEx(); _AdvTree1 = new DevComponents.AdvTree.AdvTree(); _AdvTree1.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(AdvTree1_AfterNodeSelect); _ImageList_RefSymbols = new System.Windows.Forms.ImageList(components); _Node1 = new DevComponents.AdvTree.Node(); _NodeConnector1 = new DevComponents.AdvTree.NodeConnector(); _ElementStyle1 = new DevComponents.DotNetBar.ElementStyle(); _TableLayoutPanel_2 = new System.Windows.Forms.TableLayoutPanel(); _TableLayoutPanel_1 = new System.Windows.Forms.TableLayoutPanel(); _LabelX_MemberInfo = new DevComponents.DotNetBar.LabelX(); _CircularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress(); ((System.ComponentModel.ISupportInitialize)_AdvTree1).BeginInit(); _TableLayoutPanel_2.SuspendLayout(); _TableLayoutPanel_1.SuspendLayout(); SuspendLayout(); // // ListViewEx1 // _ListViewEx1.BackColor = System.Drawing.Color.White; // // // _ListViewEx1.Border.Class = "ListViewBorder"; _ListViewEx1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ListViewEx1.DisabledBackColor = System.Drawing.Color.Empty; _ListViewEx1.Dock = System.Windows.Forms.DockStyle.Fill; _ListViewEx1.ForeColor = System.Drawing.Color.Black; _ListViewEx1.HideSelection = false; _ListViewEx1.Location = new System.Drawing.Point(400, 3); _ListViewEx1.Name = "ListViewEx1"; _ListViewEx1.Size = new System.Drawing.Size(391, 358); _ListViewEx1.TabIndex = 0; _ListViewEx1.UseCompatibleStateImageBehavior = false; // // AdvTree1 // _AdvTree1.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; _AdvTree1.BackColor = System.Drawing.SystemColors.Window; // // // _AdvTree1.BackgroundStyle.Class = "TreeBorderKey"; _AdvTree1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _AdvTree1.Dock = System.Windows.Forms.DockStyle.Fill; _AdvTree1.DragDropEnabled = false; _AdvTree1.DragDropNodeCopyEnabled = false; _AdvTree1.ImageList = _ImageList_RefSymbols; _AdvTree1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; _AdvTree1.Location = new System.Drawing.Point(3, 3); _AdvTree1.Name = "AdvTree1"; _AdvTree1.Nodes.AddRange(new DevComponents.AdvTree.Node[] { _Node1 }); _AdvTree1.NodesConnector = _NodeConnector1; _AdvTree1.NodeStyle = _ElementStyle1; _AdvTree1.PathSeparator = ";"; _AdvTree1.Size = new System.Drawing.Size(391, 358); _AdvTree1.Styles.Add(_ElementStyle1); _AdvTree1.TabIndex = 1; _AdvTree1.Text = "AdvTree1"; // // ImageList_RefSymbols // _ImageList_RefSymbols.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; _ImageList_RefSymbols.ImageSize = new System.Drawing.Size(16, 16); _ImageList_RefSymbols.TransparentColor = System.Drawing.Color.Transparent; // // Node1 // _Node1.Expanded = true; _Node1.Name = "Node1"; _Node1.Text = "Node1"; // // NodeConnector1 // _NodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // ElementStyle1 // _ElementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ElementStyle1.Name = "ElementStyle1"; _ElementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // TableLayoutPanel_2 // _TableLayoutPanel_2.BackColor = System.Drawing.Color.Transparent; _TableLayoutPanel_2.ColumnCount = 2; _TableLayoutPanel_2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0F)); _TableLayoutPanel_2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0F)); _TableLayoutPanel_2.Controls.Add(_AdvTree1, 0, 0); _TableLayoutPanel_2.Controls.Add(_ListViewEx1, 1, 0); _TableLayoutPanel_2.Dock = System.Windows.Forms.DockStyle.Fill; _TableLayoutPanel_2.Location = new System.Drawing.Point(3, 3); _TableLayoutPanel_2.Name = "TableLayoutPanel_2"; _TableLayoutPanel_2.RowCount = 1; _TableLayoutPanel_2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0F)); _TableLayoutPanel_2.Size = new System.Drawing.Size(794, 364); _TableLayoutPanel_2.TabIndex = 2; // // TableLayoutPanel_1 // _TableLayoutPanel_1.BackColor = System.Drawing.Color.Transparent; _TableLayoutPanel_1.ColumnCount = 1; _TableLayoutPanel_1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0F)); _TableLayoutPanel_1.Controls.Add(_TableLayoutPanel_2, 0, 0); _TableLayoutPanel_1.Controls.Add(_LabelX_MemberInfo, 0, 1); _TableLayoutPanel_1.Dock = System.Windows.Forms.DockStyle.Fill; _TableLayoutPanel_1.Location = new System.Drawing.Point(0, 0); _TableLayoutPanel_1.Name = "TableLayoutPanel_1"; _TableLayoutPanel_1.RowCount = 2; _TableLayoutPanel_1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0F)); _TableLayoutPanel_1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80.0F)); _TableLayoutPanel_1.Size = new System.Drawing.Size(800, 450); _TableLayoutPanel_1.TabIndex = 3; _TableLayoutPanel_1.Visible = false; // // LabelX_MemberInfo // // // // _LabelX_MemberInfo.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _LabelX_MemberInfo.Dock = System.Windows.Forms.DockStyle.Fill; _LabelX_MemberInfo.Location = new System.Drawing.Point(3, 373); _LabelX_MemberInfo.Name = "LabelX_MemberInfo"; _LabelX_MemberInfo.Size = new System.Drawing.Size(794, 74); _LabelX_MemberInfo.TabIndex = 3; _LabelX_MemberInfo.TextLineAlignment = System.Drawing.StringAlignment.Near; // // CircularProgress1 // // // // _CircularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _CircularProgress1.Location = new System.Drawing.Point(363, 188); _CircularProgress1.Name = "CircularProgress1"; _CircularProgress1.ProgressBarType = DevComponents.DotNetBar.eCircularProgressType.Dot; _CircularProgress1.SetVisibleStateOnStart = true; _CircularProgress1.SetVisibleStateOnStop = true; _CircularProgress1.Size = new System.Drawing.Size(75, 75); _CircularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; _CircularProgress1.TabIndex = 5; // // ObjectCatalog // AutoScaleDimensions = new System.Drawing.SizeF(6.0F, 13.0F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; ClientSize = new System.Drawing.Size(800, 450); Controls.Add(_CircularProgress1); Controls.Add(_TableLayoutPanel_1); Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon"); Name = "ObjectCatalog"; StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "Object Catalog"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_AdvTree1).EndInit(); _TableLayoutPanel_2.ResumeLayout(false); _TableLayoutPanel_1.ResumeLayout(false); ResumeLayout(false); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器 /// 修改這個方法的內容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SubjectUIDefinition)); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.advTree1 = new DevComponents.AdvTree.AdvTree(); this.node2 = new DevComponents.AdvTree.Node(); this.nodeConnector3 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle4 = new DevComponents.DotNetBar.ElementStyle(); this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter(); this.pnlDefinition = new DevComponents.DotNetBar.PanelEx(); this.pnlPreview = new DevComponents.DotNetBar.PanelEx(); this.switchButton1 = new DevComponents.DotNetBar.Controls.SwitchButton(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).BeginInit(); this.panelEx2.SuspendLayout(); this.panelEx3.SuspendLayout(); this.SuspendLayout(); // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx1.Controls.Add(this.panelEx3); this.panelEx1.Controls.Add(this.expandableSplitter1); this.panelEx1.Controls.Add(this.panelEx2); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(642, 541); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; // // advTree1 // this.advTree1.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.advTree1.AllowDrop = true; this.advTree1.BackColor = System.Drawing.SystemColors.Window; // // // this.advTree1.BackgroundStyle.Class = "TreeBorderKey"; this.advTree1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.advTree1.Dock = System.Windows.Forms.DockStyle.Left; this.advTree1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.advTree1.Location = new System.Drawing.Point(0, 0); this.advTree1.Name = "advTree1"; this.advTree1.Nodes.AddRange(new DevComponents.AdvTree.Node[] { this.node2}); this.advTree1.NodesConnector = this.nodeConnector3; this.advTree1.NodeStyle = this.elementStyle4; this.advTree1.PathSeparator = ";"; this.advTree1.Size = new System.Drawing.Size(160, 324); this.advTree1.Styles.Add(this.elementStyle4); this.advTree1.TabIndex = 1; this.advTree1.Text = "advTree1"; this.advTree1.NodeClick += new DevComponents.AdvTree.TreeNodeMouseEventHandler(this.advTree1_NodeClick); // // node2 // this.node2.Expanded = true; this.node2.Name = "node2"; this.node2.Text = "node2"; // // nodeConnector3 // this.nodeConnector3.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle4 // this.elementStyle4.Class = ""; this.elementStyle4.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.elementStyle4.Name = "elementStyle4"; this.elementStyle4.TextColor = System.Drawing.SystemColors.ControlText; // // panelEx2 // this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx2.Controls.Add(this.pnlDefinition); this.panelEx2.Controls.Add(this.expandableSplitter2); this.panelEx2.Controls.Add(this.advTree1); this.panelEx2.Dock = System.Windows.Forms.DockStyle.Top; this.panelEx2.Location = new System.Drawing.Point(0, 0); this.panelEx2.Name = "panelEx2"; this.panelEx2.Size = new System.Drawing.Size(642, 324); this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx2.Style.GradientAngle = 90; this.panelEx2.TabIndex = 2; // // 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.Dock = System.Windows.Forms.DockStyle.Top; 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(0, 324); this.expandableSplitter1.Name = "expandableSplitter1"; this.expandableSplitter1.Size = new System.Drawing.Size(642, 10); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 3; this.expandableSplitter1.TabStop = false; // // panelEx3 // this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx3.Controls.Add(this.buttonX1); this.panelEx3.Controls.Add(this.switchButton1); this.panelEx3.Controls.Add(this.pnlPreview); this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx3.Location = new System.Drawing.Point(0, 334); this.panelEx3.Name = "panelEx3"; this.panelEx3.Size = new System.Drawing.Size(642, 207); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx3.Style.GradientAngle = 90; this.panelEx3.TabIndex = 4; // // 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.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(160, 0); this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Size = new System.Drawing.Size(6, 324); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.TabIndex = 2; this.expandableSplitter2.TabStop = false; // // pnlDefinition // this.pnlDefinition.CanvasColor = System.Drawing.SystemColors.Control; this.pnlDefinition.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlDefinition.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlDefinition.Location = new System.Drawing.Point(166, 0); this.pnlDefinition.Name = "pnlDefinition"; this.pnlDefinition.Size = new System.Drawing.Size(476, 324); this.pnlDefinition.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlDefinition.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.pnlDefinition.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.pnlDefinition.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.pnlDefinition.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlDefinition.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.pnlDefinition.Style.GradientAngle = 90; this.pnlDefinition.TabIndex = 3; // // pnlPreview // this.pnlPreview.AutoScroll = true; this.pnlPreview.CanvasColor = System.Drawing.SystemColors.Control; this.pnlPreview.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.pnlPreview.Dock = System.Windows.Forms.DockStyle.Left; this.pnlPreview.Location = new System.Drawing.Point(0, 0); this.pnlPreview.Name = "pnlPreview"; this.pnlPreview.Size = new System.Drawing.Size(540, 207); this.pnlPreview.Style.Alignment = System.Drawing.StringAlignment.Center; this.pnlPreview.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.pnlPreview.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.pnlPreview.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.pnlPreview.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.pnlPreview.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.pnlPreview.Style.GradientAngle = 90; this.pnlPreview.TabIndex = 0; // // switchButton1 // // // // this.switchButton1.BackgroundStyle.Class = ""; this.switchButton1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.switchButton1.Location = new System.Drawing.Point(564, 15); this.switchButton1.Name = "switchButton1"; this.switchButton1.OffText = "題組"; this.switchButton1.OnText = "全部"; this.switchButton1.Size = new System.Drawing.Size(66, 22); this.switchButton1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.switchButton1.TabIndex = 2; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image"))); this.buttonX1.Location = new System.Drawing.Point(564, 80); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(66, 66); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 3; this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); // // SubjectUIDefinition // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panelEx1); this.Name = "SubjectUIDefinition"; this.Size = new System.Drawing.Size(642, 541); this.Load += new System.EventHandler(this.SubjectUIDefinition_Load); this.panelEx1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).EndInit(); this.panelEx2.ResumeLayout(false); this.panelEx3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboTree1 = new DevComponents.DotNetBar.Controls.ComboTree(); this.doubleInput1 = new DevComponents.Editors.DoubleInput(); this.doubleInput2 = new DevComponents.Editors.DoubleInput(); this.integerInput1 = new DevComponents.Editors.IntegerInput(); this.advTree1 = new DevComponents.AdvTree.AdvTree(); this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.labelX6 = new DevComponents.DotNetBar.LabelX(); this.labelX7 = new DevComponents.DotNetBar.LabelX(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.doubleInput1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.doubleInput2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).BeginInit(); this.SuspendLayout(); // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.labelX7); this.panelEx1.Controls.Add(this.labelX6); this.panelEx1.Controls.Add(this.advTree1); this.panelEx1.Controls.Add(this.integerInput1); this.panelEx1.Controls.Add(this.doubleInput2); this.panelEx1.Controls.Add(this.doubleInput1); this.panelEx1.Controls.Add(this.comboTree1); this.panelEx1.Controls.Add(this.comboBoxEx1); this.panelEx1.Controls.Add(this.labelX5); this.panelEx1.Controls.Add(this.labelX4); this.panelEx1.Controls.Add(this.labelX3); this.panelEx1.Controls.Add(this.labelX2); this.panelEx1.Controls.Add(this.labelX1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(411, 319); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; // // labelX1 // this.labelX1.AutoSize = true; this.labelX1.Location = new System.Drawing.Point(11, 14); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(50, 18); this.labelX1.TabIndex = 0; this.labelX1.Text = "字 段 :"; // // labelX2 // this.labelX2.AutoSize = true; this.labelX2.Location = new System.Drawing.Point(11, 44); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(50, 18); this.labelX2.TabIndex = 1; this.labelX2.Text = "颜 色 :"; // // labelX3 // this.labelX3.AutoSize = true; this.labelX3.Location = new System.Drawing.Point(11, 75); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(50, 18); this.labelX3.TabIndex = 2; this.labelX3.Text = "最小值:"; // // labelX4 // this.labelX4.AutoSize = true; this.labelX4.Location = new System.Drawing.Point(154, 75); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(50, 18); this.labelX4.TabIndex = 3; this.labelX4.Text = "最大值:"; // // labelX5 // this.labelX5.AutoSize = true; this.labelX5.Location = new System.Drawing.Point(204, 14); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(37, 18); this.labelX5.TabIndex = 4; this.labelX5.Text = "等级:"; // // comboBoxEx1 // this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.ItemHeight = 15; this.comboBoxEx1.Location = new System.Drawing.Point(61, 12); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(137, 21); this.comboBoxEx1.TabIndex = 5; // // comboTree1 // this.comboTree1.BackColor = System.Drawing.SystemColors.Window; // // // this.comboTree1.BackgroundStyle.Class = "TextBoxBorder"; this.comboTree1.ButtonDropDown.Visible = true; this.comboTree1.Location = new System.Drawing.Point(61, 41); this.comboTree1.Name = "comboTree1"; this.comboTree1.Size = new System.Drawing.Size(228, 23); this.comboTree1.TabIndex = 6; // // doubleInput1 // // // // this.doubleInput1.BackgroundStyle.Class = "DateTimeInputBackground"; this.doubleInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; this.doubleInput1.Increment = 1; this.doubleInput1.Location = new System.Drawing.Point(61, 72); this.doubleInput1.Name = "doubleInput1"; this.doubleInput1.Size = new System.Drawing.Size(87, 21); this.doubleInput1.TabIndex = 7; // // doubleInput2 // // // // this.doubleInput2.BackgroundStyle.Class = "DateTimeInputBackground"; this.doubleInput2.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; this.doubleInput2.Increment = 1; this.doubleInput2.Location = new System.Drawing.Point(202, 72); this.doubleInput2.Name = "doubleInput2"; this.doubleInput2.Size = new System.Drawing.Size(87, 21); this.doubleInput2.TabIndex = 8; // // integerInput1 // // // // this.integerInput1.BackgroundStyle.Class = "DateTimeInputBackground"; this.integerInput1.ButtonFreeText.Shortcut = DevComponents.DotNetBar.eShortcut.F2; this.integerInput1.Location = new System.Drawing.Point(242, 11); this.integerInput1.MaxValue = 1000; this.integerInput1.MinValue = 1; this.integerInput1.Name = "integerInput1"; this.integerInput1.ShowUpDown = true; this.integerInput1.Size = new System.Drawing.Size(47, 21); this.integerInput1.TabIndex = 9; this.integerInput1.Value = 1; // // advTree1 // this.advTree1.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.advTree1.AllowDrop = true; this.advTree1.BackColor = System.Drawing.SystemColors.Window; // // // this.advTree1.BackgroundStyle.Class = "TreeBorderKey"; this.advTree1.Location = new System.Drawing.Point(11, 103); this.advTree1.Name = "advTree1"; this.advTree1.NodesConnector = this.nodeConnector1; this.advTree1.NodeStyle = this.elementStyle1; this.advTree1.PathSeparator = ";"; this.advTree1.Size = new System.Drawing.Size(384, 201); this.advTree1.Styles.Add(this.elementStyle1); this.advTree1.TabIndex = 10; this.advTree1.Text = "advTree1"; // // nodeConnector1 // this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle1 // this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // labelX6 // this.labelX6.AutoSize = true; this.labelX6.Location = new System.Drawing.Point(326, 14); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(31, 18); this.labelX6.TabIndex = 11; this.labelX6.Text = "符号"; // // labelX7 // this.labelX7.BackColor = System.Drawing.Color.Maroon; this.labelX7.Location = new System.Drawing.Point(295, 43); this.labelX7.Name = "labelX7"; this.labelX7.Size = new System.Drawing.Size(100, 50); this.labelX7.TabIndex = 12; // // frmColorBreakRenderer // this.Controls.Add(this.panelEx1); this.Name = "frmColorBreakRenderer"; this.Size = new System.Drawing.Size(411, 319); this.panelEx1.ResumeLayout(false); this.panelEx1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.doubleInput1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.doubleInput2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.integerInput1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.treeCatelog = new DevComponents.AdvTree.AdvTree(); this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.panelProperty = new DevComponents.DotNetBar.PanelEx(); this.panelTree = new DevComponents.DotNetBar.PanelEx(); this.labelRenderImage = new DevComponents.DotNetBar.LabelX(); this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.expandableSplitter1 = new DevComponents.DotNetBar.ExpandableSplitter(); this.buttonOK = new DevComponents.DotNetBar.ButtonX(); this.buttonCancel = new DevComponents.DotNetBar.ButtonX(); ((System.ComponentModel.ISupportInitialize)(this.treeCatelog)).BeginInit(); this.panelTree.SuspendLayout(); this.panelEx1.SuspendLayout(); this.SuspendLayout(); // // treeCatelog // this.treeCatelog.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.treeCatelog.AllowDrop = true; this.treeCatelog.BackColor = System.Drawing.SystemColors.Window; // // // this.treeCatelog.BackgroundStyle.Class = "TreeBorderKey"; this.treeCatelog.Dock = System.Windows.Forms.DockStyle.Top; this.treeCatelog.Location = new System.Drawing.Point(0, 0); this.treeCatelog.Name = "treeCatelog"; this.treeCatelog.NodesConnector = this.nodeConnector1; this.treeCatelog.NodeStyle = this.elementStyle1; this.treeCatelog.PathSeparator = ";"; this.treeCatelog.Size = new System.Drawing.Size(135, 260); this.treeCatelog.Styles.Add(this.elementStyle1); this.treeCatelog.TabIndex = 0; this.treeCatelog.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(this.treeCatelog_AfterNodeSelect); // // nodeConnector1 // this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle1 // this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // panelProperty // this.panelProperty.CanvasColor = System.Drawing.SystemColors.Control; this.panelProperty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelProperty.Dock = System.Windows.Forms.DockStyle.Fill; this.panelProperty.Location = new System.Drawing.Point(135, 0); this.panelProperty.Name = "panelProperty"; this.panelProperty.Size = new System.Drawing.Size(465, 370); this.panelProperty.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelProperty.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelProperty.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelProperty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelProperty.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelProperty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelProperty.Style.GradientAngle = 90; this.panelProperty.TabIndex = 2; // // panelTree // this.panelTree.CanvasColor = System.Drawing.SystemColors.Control; this.panelTree.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelTree.Controls.Add(this.labelRenderImage); this.panelTree.Controls.Add(this.expandableSplitter2); this.panelTree.Controls.Add(this.treeCatelog); this.panelTree.Dock = System.Windows.Forms.DockStyle.Left; this.panelTree.Location = new System.Drawing.Point(0, 0); this.panelTree.Name = "panelTree"; this.panelTree.Size = new System.Drawing.Size(135, 370); this.panelTree.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelTree.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelTree.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelTree.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelTree.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelTree.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelTree.Style.GradientAngle = 90; this.panelTree.TabIndex = 8; // // labelRenderImage // this.labelRenderImage.Dock = System.Windows.Forms.DockStyle.Fill; this.labelRenderImage.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.labelRenderImage.Location = new System.Drawing.Point(0, 261); this.labelRenderImage.Name = "labelRenderImage"; this.labelRenderImage.Size = new System.Drawing.Size(135, 109); this.labelRenderImage.TabIndex = 10; // // 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.Top; this.expandableSplitter2.Expandable = false; 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(0, 260); this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Size = new System.Drawing.Size(135, 1); this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.TabIndex = 1; this.expandableSplitter2.TabStop = false; // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.expandableSplitter1); this.panelEx1.Controls.Add(this.panelProperty); this.panelEx1.Controls.Add(this.panelTree); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Top; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(600, 370); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 10; // // 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.Expandable = false; this.expandableSplitter1.ExpandableControl = this.panelEx1; this.expandableSplitter1.ExpandActionClick = false; 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(135, 0); this.expandableSplitter1.Name = "expandableSplitter1"; this.expandableSplitter1.Size = new System.Drawing.Size(2, 370); this.expandableSplitter1.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter1.TabIndex = 9; this.expandableSplitter1.TabStop = false; // // buttonOK // this.buttonOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonOK.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonOK.Location = new System.Drawing.Point(481, 376); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(55, 23); this.buttonOK.TabIndex = 11; this.buttonOK.Text = "确 定"; this.buttonOK.Click += new System.EventHandler(this.Button_Click); // // buttonCancel // this.buttonCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonCancel.Location = new System.Drawing.Point(544, 376); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(55, 23); this.buttonCancel.TabIndex = 12; this.buttonCancel.Text = "取 消"; this.buttonCancel.Click += new System.EventHandler(this.Button_Click); // // frmSymbology // this.ClientSize = new System.Drawing.Size(600, 404); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.buttonOK); this.Controls.Add(this.panelEx1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmSymbology"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "符号方案配置"; ((System.ComponentModel.ISupportInitialize)(this.treeCatelog)).EndInit(); this.panelTree.ResumeLayout(false); this.panelEx1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.buttonX5 = new DevComponents.DotNetBar.ButtonX(); this.buttonX4 = new DevComponents.DotNetBar.ButtonX(); this.buttonX3 = new DevComponents.DotNetBar.ButtonX(); this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.advTree1 = new DevComponents.AdvTree.AdvTree(); this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.labelX6 = new DevComponents.DotNetBar.LabelX(); this.comboTree1 = new DevComponents.DotNetBar.Controls.ComboTree(); this.labelX5 = new DevComponents.DotNetBar.LabelX(); this.comboBoxEx3 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboBoxEx2 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.labelX4 = new DevComponents.DotNetBar.LabelX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).BeginInit(); this.groupPanel1.SuspendLayout(); this.SuspendLayout(); // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.buttonX5); this.panelEx1.Controls.Add(this.buttonX4); this.panelEx1.Controls.Add(this.buttonX3); this.panelEx1.Controls.Add(this.buttonX2); this.panelEx1.Controls.Add(this.buttonX1); this.panelEx1.Controls.Add(this.advTree1); this.panelEx1.Controls.Add(this.groupPanel1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(433, 387); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; // // buttonX5 // this.buttonX5.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX5.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX5.Location = new System.Drawing.Point(347, 353); this.buttonX5.Name = "buttonX5"; this.buttonX5.Size = new System.Drawing.Size(75, 23); this.buttonX5.TabIndex = 6; this.buttonX5.Text = "ɾ³ýËùÓÐÖµ"; // // buttonX4 // this.buttonX4.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX4.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX4.Location = new System.Drawing.Point(266, 353); this.buttonX4.Name = "buttonX4"; this.buttonX4.Size = new System.Drawing.Size(75, 23); this.buttonX4.TabIndex = 5; this.buttonX4.Text = "ɾ³ýÖµ"; // // buttonX3 // this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX3.Location = new System.Drawing.Point(185, 353); this.buttonX3.Name = "buttonX3"; this.buttonX3.Size = new System.Drawing.Size(75, 23); this.buttonX3.TabIndex = 4; this.buttonX3.Text = "Ìí¼ÓÖµ"; // // buttonX2 // this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX2.Location = new System.Drawing.Point(104, 353); this.buttonX2.Name = "buttonX2"; this.buttonX2.Size = new System.Drawing.Size(75, 23); this.buttonX2.TabIndex = 3; this.buttonX2.Text = "Ìí¼ÓËùÓÐÖµ"; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX1.Location = new System.Drawing.Point(13, 353); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(85, 23); this.buttonX1.TabIndex = 2; this.buttonX1.Text = "´Ó·ûºÅÌí¼ÓÖµ"; // // advTree1 // this.advTree1.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.advTree1.AllowDrop = true; this.advTree1.BackColor = System.Drawing.SystemColors.Window; // // // this.advTree1.BackgroundStyle.Class = "TreeBorderKey"; this.advTree1.Location = new System.Drawing.Point(13, 160); this.advTree1.Name = "advTree1"; this.advTree1.NodesConnector = this.nodeConnector1; this.advTree1.NodeStyle = this.elementStyle1; this.advTree1.PathSeparator = ";"; this.advTree1.Size = new System.Drawing.Size(409, 187); this.advTree1.Styles.Add(this.elementStyle1); this.advTree1.TabIndex = 1; this.advTree1.Text = "advTree1"; // // nodeConnector1 // this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle1 // this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // groupPanel1 // this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel1.Controls.Add(this.labelX6); this.groupPanel1.Controls.Add(this.comboTree1); this.groupPanel1.Controls.Add(this.labelX5); this.groupPanel1.Controls.Add(this.comboBoxEx3); this.groupPanel1.Controls.Add(this.comboBoxEx2); this.groupPanel1.Controls.Add(this.comboBoxEx1); this.groupPanel1.Controls.Add(this.labelX4); this.groupPanel1.Controls.Add(this.labelX3); this.groupPanel1.Controls.Add(this.labelX2); this.groupPanel1.Controls.Add(this.labelX1); this.groupPanel1.Location = new System.Drawing.Point(13, 16); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.Size = new System.Drawing.Size(409, 138); // // // this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel1.Style.BackColorGradientAngle = 90; this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderBottomWidth = 1; this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderLeftWidth = 1; this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderRightWidth = 1; this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderTopWidth = 1; this.groupPanel1.Style.CornerDiameter = 4; this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel1.TabIndex = 0; // // labelX6 // this.labelX6.Location = new System.Drawing.Point(291, 39); this.labelX6.Name = "labelX6"; this.labelX6.Size = new System.Drawing.Size(100, 50); this.labelX6.TabIndex = 2; // // comboTree1 // this.comboTree1.BackColor = System.Drawing.SystemColors.Window; // // // this.comboTree1.BackgroundStyle.Class = "TextBoxBorder"; this.comboTree1.ButtonDropDown.Visible = true; this.comboTree1.Location = new System.Drawing.Point(55, 103); this.comboTree1.Name = "comboTree1"; this.comboTree1.Size = new System.Drawing.Size(336, 23); this.comboTree1.TabIndex = 7; // // labelX5 // this.labelX5.AutoSize = true; this.labelX5.Location = new System.Drawing.Point(327, 9); this.labelX5.Name = "labelX5"; this.labelX5.Size = new System.Drawing.Size(31, 18); this.labelX5.TabIndex = 1; this.labelX5.Text = "·ûºÅ"; // // comboBoxEx3 // this.comboBoxEx3.DisplayMember = "Text"; this.comboBoxEx3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx3.FormattingEnabled = true; this.comboBoxEx3.ItemHeight = 15; this.comboBoxEx3.Location = new System.Drawing.Point(55, 71); this.comboBoxEx3.Name = "comboBoxEx3"; this.comboBoxEx3.Size = new System.Drawing.Size(222, 21); this.comboBoxEx3.TabIndex = 6; // // comboBoxEx2 // this.comboBoxEx2.DisplayMember = "Text"; this.comboBoxEx2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx2.FormattingEnabled = true; this.comboBoxEx2.ItemHeight = 15; this.comboBoxEx2.Location = new System.Drawing.Point(55, 39); this.comboBoxEx2.Name = "comboBoxEx2"; this.comboBoxEx2.Size = new System.Drawing.Size(222, 21); this.comboBoxEx2.TabIndex = 5; // // comboBoxEx1 // this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.ItemHeight = 15; this.comboBoxEx1.Location = new System.Drawing.Point(55, 7); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(222, 21); this.comboBoxEx1.TabIndex = 4; // // labelX4 // this.labelX4.AutoSize = true; this.labelX4.Location = new System.Drawing.Point(11, 105); this.labelX4.Name = "labelX4"; this.labelX4.Size = new System.Drawing.Size(37, 18); this.labelX4.TabIndex = 3; this.labelX4.Text = "ÑÕÉ«:"; // // labelX3 // this.labelX3.AutoSize = true; this.labelX3.Location = new System.Drawing.Point(11, 73); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(44, 18); this.labelX3.TabIndex = 2; this.labelX3.Text = "×Ö¶Î1:"; // // labelX2 // this.labelX2.AutoSize = true; this.labelX2.Location = new System.Drawing.Point(11, 41); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(44, 18); this.labelX2.TabIndex = 1; this.labelX2.Text = "×Ö¶Î1:"; // // labelX1 // this.labelX1.AutoSize = true; this.labelX1.Location = new System.Drawing.Point(11, 9); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(44, 18); this.labelX1.TabIndex = 0; this.labelX1.Text = "×Ö¶Î1:"; // // frmUniqueValueRenderer // this.Controls.Add(this.panelEx1); this.Name = "frmUniqueValueRenderer"; this.Size = new System.Drawing.Size(433, 387); this.panelEx1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.advTree1)).EndInit(); this.groupPanel1.ResumeLayout(false); this.groupPanel1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(ObjectBankDataEditor)); _ObdTree = new DevComponents.AdvTree.AdvTree(); _ObdTree.BeforeCellEdit += new DevComponents.AdvTree.CellEditEventHandler(ObdTree_BeforeCellEdit); _ObdTree.AfterCellEdit += new DevComponents.AdvTree.CellEditEventHandler(ObdTree_AfterCellEdit); _Node1 = new DevComponents.AdvTree.Node(); _NodeConnector1 = new DevComponents.AdvTree.NodeConnector(); _ElementStyle1 = new DevComponents.DotNetBar.ElementStyle(); _ContextMenuBar1 = new DevComponents.DotNetBar.ContextMenuBar(); _ButtonItem_CM_ObdList = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObdList = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObdList.Click += new EventHandler(ButtonItem_RemoveObdList_Click); _ButtonItem_CM_Obd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObd.Click += new EventHandler(ButtonItem_RemoveObd_Click); _ButtonItem_CM_Cmds = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_CM_Cmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveCmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveCmd.Click += new EventHandler(ButtonItem_RemoveCmd_Click); _ButtonItem_CM_Objs = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_CM_Obj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveObj.Click += new EventHandler(ButtonItem_RemoveObj_Click); _ButtonItem_AddObj = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddObj.Click += new EventHandler(ButtonItem_AddObj_Click); _ButtonItem_AddCmd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddCmd.Click += new EventHandler(ButtonItem_AddCmd_Click); _ButtonItem_AddObd = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddObd.Click += new EventHandler(ButtonItem_AddObd_Click); ((System.ComponentModel.ISupportInitialize)_ObdTree).BeginInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).BeginInit(); SuspendLayout(); // // ObdTree // _ObdTree.AccessibleRole = AccessibleRole.Outline; _ObdTree.BackColor = SystemColors.Window; // // // _ObdTree.BackgroundStyle.Class = "TreeBorderKey"; _ObdTree.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ObdTree.CellEdit = true; _ObdTree.Dock = DockStyle.Fill; _ObdTree.DragDropEnabled = false; _ObdTree.DragDropNodeCopyEnabled = false; _ObdTree.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; _ObdTree.Location = new Point(0, 0); _ObdTree.Name = "ObdTree"; _ObdTree.Nodes.AddRange(new DevComponents.AdvTree.Node[] { _Node1 }); _ObdTree.NodesConnector = _NodeConnector1; _ObdTree.NodeStyle = _ElementStyle1; _ObdTree.PathSeparator = ";"; _ObdTree.Size = new Size(484, 661); _ObdTree.Styles.Add(_ElementStyle1); _ObdTree.TabIndex = 0; _ObdTree.Text = "AdvTree1"; _ObdTree.TileSize = new Size(200, 30); // // Node1 // _Node1.Expanded = true; _Node1.Name = "Node1"; _Node1.Text = "Node1"; // // NodeConnector1 // _NodeConnector1.LineColor = SystemColors.ControlText; // // ElementStyle1 // _ElementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ElementStyle1.Name = "ElementStyle1"; _ElementStyle1.TextColor = SystemColors.ControlText; // // ContextMenuBar1 // _ContextMenuBar1.AntiAlias = true; _ContextMenuBar1.Font = new Font("Segoe UI", 9.0F); _ContextMenuBar1.IsMaximized = false; _ContextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_CM_ObdList, _ButtonItem_CM_Obd, _ButtonItem_CM_Cmds, _ButtonItem_CM_Cmd, _ButtonItem_CM_Objs, _ButtonItem_CM_Obj }); _ContextMenuBar1.Location = new Point(140, 0); _ContextMenuBar1.Name = "ContextMenuBar1"; _ContextMenuBar1.Size = new Size(341, 25); _ContextMenuBar1.Stretch = true; _ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ContextMenuBar1.TabIndex = 1; _ContextMenuBar1.TabStop = false; _ContextMenuBar1.Text = "ContextMenuBar1"; // // ButtonItem_CM_ObdList // _ButtonItem_CM_ObdList.AutoExpandOnClick = true; _ButtonItem_CM_ObdList.Name = "ButtonItem_CM_ObdList"; _ButtonItem_CM_ObdList.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddObd, _ButtonItem_RemoveObdList }); _ButtonItem_CM_ObdList.Text = "ObdList"; // // ButtonItem_RemoveObdList // _ButtonItem_RemoveObdList.BeginGroup = true; _ButtonItem_RemoveObdList.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObdList.Name = "ButtonItem_RemoveObdList"; _ButtonItem_RemoveObdList.Text = "Remove"; // // ButtonItem_CM_Obd // _ButtonItem_CM_Obd.AutoExpandOnClick = true; _ButtonItem_CM_Obd.Name = "ButtonItem_CM_Obd"; _ButtonItem_CM_Obd.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveObd }); _ButtonItem_CM_Obd.Text = "Obd"; // // ButtonItem_RemoveObd // _ButtonItem_RemoveObd.BeginGroup = true; _ButtonItem_RemoveObd.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObd.Name = "ButtonItem_RemoveObd"; _ButtonItem_RemoveObd.Text = "Remove"; // // ButtonItem_CM_Cmds // _ButtonItem_CM_Cmds.AutoExpandOnClick = true; _ButtonItem_CM_Cmds.Name = "ButtonItem_CM_Cmds"; _ButtonItem_CM_Cmds.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddCmd }); _ButtonItem_CM_Cmds.Text = "Cmds"; // // ButtonItem_CM_Cmd // _ButtonItem_CM_Cmd.AutoExpandOnClick = true; _ButtonItem_CM_Cmd.Name = "ButtonItem_CM_Cmd"; _ButtonItem_CM_Cmd.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveCmd }); _ButtonItem_CM_Cmd.Text = "Cmd"; // // ButtonItem_RemoveCmd // _ButtonItem_RemoveCmd.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveCmd.Name = "ButtonItem_RemoveCmd"; _ButtonItem_RemoveCmd.Text = "Remove"; // // ButtonItem_CM_Objs // _ButtonItem_CM_Objs.AutoExpandOnClick = true; _ButtonItem_CM_Objs.Name = "ButtonItem_CM_Objs"; _ButtonItem_CM_Objs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddObj }); _ButtonItem_CM_Objs.Text = "Objs"; // // ButtonItem_CM_Obj // _ButtonItem_CM_Obj.AutoExpandOnClick = true; _ButtonItem_CM_Obj.Name = "ButtonItem_CM_Obj"; _ButtonItem_CM_Obj.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_RemoveObj }); _ButtonItem_CM_Obj.Text = "Obj"; // // ButtonItem_RemoveObj // _ButtonItem_RemoveObj.Image = My.Resources.MyIcons.icons8_delete_sign_16px; _ButtonItem_RemoveObj.Name = "ButtonItem_RemoveObj"; _ButtonItem_RemoveObj.Text = "Remove"; // // ButtonItem_AddObj // _ButtonItem_AddObj.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddObj.Name = "ButtonItem_AddObj"; _ButtonItem_AddObj.Text = "Add Object Name"; // // ButtonItem_AddCmd // _ButtonItem_AddCmd.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddCmd.Name = "ButtonItem_AddCmd"; _ButtonItem_AddCmd.Text = "Add Command"; // // ButtonItem_AddObd // _ButtonItem_AddObd.Image = My.Resources.MyIcons.icons8_plus_math_16px; _ButtonItem_AddObd.Name = "ButtonItem_AddObd"; _ButtonItem_AddObd.Text = "Add Object Bank Data"; // // ObjectBankDataEditor // AutoScaleDimensions = new SizeF(6.0F, 13.0F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(484, 661); Controls.Add(_ContextMenuBar1); Controls.Add(_ObdTree); Icon = (Icon)resources.GetObject("$this.Icon"); Name = "ObjectBankDataEditor"; StartPosition = FormStartPosition.CenterScreen; Text = "Object Bank Data Editor"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_ObdTree).EndInit(); ((System.ComponentModel.ISupportInitialize)_ContextMenuBar1).EndInit(); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain)); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar(); this.itemContainer6 = new DevComponents.DotNetBar.ItemContainer(); this.btnQuery = new DevComponents.DotNetBar.ButtonItem(); this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar(); this.itemContainer5 = new DevComponents.DotNetBar.ItemContainer(); this.btnStart = new DevComponents.DotNetBar.ButtonItem(); this.btnFinish = new DevComponents.DotNetBar.ButtonItem(); this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar(); this.btnTest = new DevComponents.DotNetBar.ButtonItem(); this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar(); this.itemContainer7 = new DevComponents.DotNetBar.ItemContainer(); this.btnShakeHand = new DevComponents.DotNetBar.ButtonItem(); this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem(); this.office2007StartButton1 = new DevComponents.DotNetBar.Office2007StartButton(); this.itemContainer1 = new DevComponents.DotNetBar.ItemContainer(); this.itemContainer2 = new DevComponents.DotNetBar.ItemContainer(); this.itemContainer3 = new DevComponents.DotNetBar.ItemContainer(); this.btnAbout = new DevComponents.DotNetBar.ButtonItem(); this.lblResult = new DevComponents.DotNetBar.LabelX(); this.lblTime = new DevComponents.DotNetBar.LabelX(); this.mainTimer = new System.Windows.Forms.Timer(this.components); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.loadCircle = new CNPOPSOFT.Controls.LoadingCircle(); this.logList = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); this.rackAdvTree = new DevComponents.AdvTree.AdvTree(); this.node1 = new DevComponents.AdvTree.Node(); this.nodeConnector1 = new DevComponents.AdvTree.NodeConnector(); this.elementStyle1 = new DevComponents.DotNetBar.ElementStyle(); this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.ribbonControl1.SuspendLayout(); this.ribbonPanel1.SuspendLayout(); this.panelEx1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.logList)).BeginInit(); this.panelEx2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.rackAdvTree)).BeginInit(); this.panelEx3.SuspendLayout(); this.SuspendLayout(); // // styleManager1 // this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2007Blue; // // buttonItem1 // this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Text = "buttonItem1"; // // ribbonControl1 // // // // this.ribbonControl1.BackgroundStyle.Class = ""; this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl1.CaptionVisible = true; this.ribbonControl1.Controls.Add(this.ribbonPanel1); this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonTabItem1}); this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F); this.ribbonControl1.Location = new System.Drawing.Point(5, 1); this.ribbonControl1.Name = "ribbonControl1"; this.ribbonControl1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2); this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.office2007StartButton1}); this.ribbonControl1.Size = new System.Drawing.Size(896, 154); this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonControl1.TabGroupHeight = 14; this.ribbonControl1.TabIndex = 0; this.ribbonControl1.Text = "ribbonControl1"; // // ribbonPanel1 // this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel1.Controls.Add(this.ribbonBar3); this.ribbonPanel1.Controls.Add(this.ribbonBar2); this.ribbonPanel1.Controls.Add(this.ribbonBar5); this.ribbonPanel1.Controls.Add(this.ribbonBar4); this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.ribbonPanel1.Location = new System.Drawing.Point(0, 56); this.ribbonPanel1.Name = "ribbonPanel1"; this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribbonPanel1.Size = new System.Drawing.Size(896, 96); // // // this.ribbonPanel1.Style.Class = ""; this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonPanel1.StyleMouseDown.Class = ""; this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonPanel1.StyleMouseOver.Class = ""; this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel1.TabIndex = 1; // // ribbonBar3 // this.ribbonBar3.AutoOverflowEnabled = true; // // // this.ribbonBar3.BackgroundMouseOverStyle.Class = ""; this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar3.BackgroundStyle.Class = ""; this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar3.ContainerControlProcessDialogKey = true; this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar3.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer6}); this.ribbonBar3.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.ribbonBar3.Location = new System.Drawing.Point(291, 0); this.ribbonBar3.Name = "ribbonBar3"; this.ribbonBar3.Size = new System.Drawing.Size(78, 93); this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar3.TabIndex = 22; this.ribbonBar3.Text = "查询"; // // // this.ribbonBar3.TitleStyle.Class = ""; this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar3.TitleStyleMouseOver.Class = ""; this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar3.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // itemContainer6 // // // // this.itemContainer6.BackgroundStyle.Class = ""; this.itemContainer6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer6.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.itemContainer6.Name = "itemContainer6"; this.itemContainer6.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnQuery}); this.itemContainer6.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // btnQuery // this.btnQuery.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnQuery.Image = ((System.Drawing.Image)(resources.GetObject("btnQuery.Image"))); this.btnQuery.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnQuery.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnQuery.Name = "btnQuery"; this.btnQuery.Text = "数据查询"; this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click); // // ribbonBar2 // this.ribbonBar2.AutoOverflowEnabled = true; // // // this.ribbonBar2.BackgroundMouseOverStyle.Class = ""; this.ribbonBar2.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar2.BackgroundStyle.Class = ""; this.ribbonBar2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar2.ContainerControlProcessDialogKey = true; this.ribbonBar2.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar2.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.ribbonBar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer5, this.btnFinish}); this.ribbonBar2.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.ribbonBar2.Location = new System.Drawing.Point(158, 0); this.ribbonBar2.Name = "ribbonBar2"; this.ribbonBar2.Size = new System.Drawing.Size(133, 93); this.ribbonBar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar2.TabIndex = 20; this.ribbonBar2.Text = "测试"; // // // this.ribbonBar2.TitleStyle.Class = ""; this.ribbonBar2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar2.TitleStyleMouseOver.Class = ""; this.ribbonBar2.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar2.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // itemContainer5 // // // // this.itemContainer5.BackgroundStyle.Class = ""; this.itemContainer5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer5.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.itemContainer5.Name = "itemContainer5"; this.itemContainer5.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnStart}); this.itemContainer5.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // btnStart // this.btnStart.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnStart.Image = ((System.Drawing.Image)(resources.GetObject("btnStart.Image"))); this.btnStart.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnStart.Name = "btnStart"; this.btnStart.Text = "开始测试"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // btnFinish // this.btnFinish.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnFinish.Image = ((System.Drawing.Image)(resources.GetObject("btnFinish.Image"))); this.btnFinish.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnFinish.Name = "btnFinish"; this.btnFinish.Text = "停止测试"; this.btnFinish.Click += new System.EventHandler(this.btnFinish_Click); // // ribbonBar5 // this.ribbonBar5.AutoOverflowEnabled = true; // // // this.ribbonBar5.BackgroundMouseOverStyle.Class = ""; this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar5.BackgroundStyle.Class = ""; this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar5.ContainerControlProcessDialogKey = true; this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar5.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnTest}); this.ribbonBar5.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.ribbonBar5.Location = new System.Drawing.Point(76, 0); this.ribbonBar5.Name = "ribbonBar5"; this.ribbonBar5.Size = new System.Drawing.Size(82, 93); this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar5.TabIndex = 19; this.ribbonBar5.Text = "设置"; // // // this.ribbonBar5.TitleStyle.Class = ""; this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar5.TitleStyleMouseOver.Class = ""; this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar5.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // btnTest // this.btnTest.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnTest.Image = ((System.Drawing.Image)(resources.GetObject("btnTest.Image"))); this.btnTest.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnTest.Name = "btnTest"; this.btnTest.Text = "测试预设"; this.btnTest.Click += new System.EventHandler(this.btnTest_Click); // // ribbonBar4 // this.ribbonBar4.AutoOverflowEnabled = true; // // // this.ribbonBar4.BackgroundMouseOverStyle.Class = ""; this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar4.BackgroundStyle.Class = ""; this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar4.ContainerControlProcessDialogKey = true; this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer7}); this.ribbonBar4.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.ribbonBar4.Location = new System.Drawing.Point(3, 0); this.ribbonBar4.Name = "ribbonBar4"; this.ribbonBar4.Size = new System.Drawing.Size(73, 93); this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar4.TabIndex = 18; this.ribbonBar4.Text = "握手"; // // // this.ribbonBar4.TitleStyle.Class = ""; this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // this.ribbonBar4.TitleStyleMouseOver.Class = ""; this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // itemContainer7 // // // // this.itemContainer7.BackgroundStyle.Class = ""; this.itemContainer7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer7.HorizontalItemAlignment = DevComponents.DotNetBar.eHorizontalItemsAlignment.Center; this.itemContainer7.Name = "itemContainer7"; this.itemContainer7.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnShakeHand}); this.itemContainer7.VerticalItemAlignment = DevComponents.DotNetBar.eVerticalItemsAlignment.Middle; // // btnShakeHand // this.btnShakeHand.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnShakeHand.Image = ((System.Drawing.Image)(resources.GetObject("btnShakeHand.Image"))); this.btnShakeHand.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnShakeHand.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnShakeHand.Name = "btnShakeHand"; this.btnShakeHand.Text = "开始握手"; this.btnShakeHand.Click += new System.EventHandler(this.btnShakeHand_Click); // // ribbonTabItem1 // this.ribbonTabItem1.Checked = true; this.ribbonTabItem1.Name = "ribbonTabItem1"; this.ribbonTabItem1.Panel = this.ribbonPanel1; this.ribbonTabItem1.Text = "TSP"; // // office2007StartButton1 // this.office2007StartButton1.AutoExpandOnClick = true; this.office2007StartButton1.CanCustomize = false; this.office2007StartButton1.HotTrackingStyle = DevComponents.DotNetBar.eHotTrackingStyle.Image; this.office2007StartButton1.Image = ((System.Drawing.Image)(resources.GetObject("office2007StartButton1.Image"))); this.office2007StartButton1.ImagePaddingHorizontal = 2; this.office2007StartButton1.ImagePaddingVertical = 2; this.office2007StartButton1.Name = "office2007StartButton1"; this.office2007StartButton1.ShowSubItems = false; this.office2007StartButton1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer1}); this.office2007StartButton1.Text = "&File"; // // itemContainer1 // // // // this.itemContainer1.BackgroundStyle.Class = "RibbonFileMenuContainer"; this.itemContainer1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainer1.Name = "itemContainer1"; this.itemContainer1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer2}); // // itemContainer2 // // // // this.itemContainer2.BackgroundStyle.Class = "RibbonFileMenuTwoColumnContainer"; this.itemContainer2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer2.ItemSpacing = 0; this.itemContainer2.Name = "itemContainer2"; this.itemContainer2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.itemContainer3}); // // itemContainer3 // // // // this.itemContainer3.BackgroundStyle.Class = "RibbonFileMenuColumnOneContainer"; this.itemContainer3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.itemContainer3.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; this.itemContainer3.MinimumSize = new System.Drawing.Size(120, 0); this.itemContainer3.Name = "itemContainer3"; this.itemContainer3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnAbout}); // // btnAbout // this.btnAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnAbout.Image"))); this.btnAbout.Name = "btnAbout"; this.btnAbout.SubItemsExpandWidth = 24; this.btnAbout.Text = "关于"; this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); // // lblResult // this.lblResult.BackColor = System.Drawing.Color.Transparent; // // // this.lblResult.BackgroundStyle.Class = ""; this.lblResult.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblResult.BackgroundStyle.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center; this.lblResult.Dock = System.Windows.Forms.DockStyle.Right; this.lblResult.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblResult.ForeColor = System.Drawing.SystemColors.ControlText; this.lblResult.Location = new System.Drawing.Point(720, 0); this.lblResult.Name = "lblResult"; this.lblResult.SingleLineColor = System.Drawing.SystemColors.Control; this.lblResult.Size = new System.Drawing.Size(176, 57); this.lblResult.TabIndex = 21; this.lblResult.Text = "Preparing..."; this.lblResult.TextAlignment = System.Drawing.StringAlignment.Center; // // lblTime // this.lblTime.BackColor = System.Drawing.Color.Transparent; // // // this.lblTime.BackgroundStyle.Class = ""; this.lblTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.lblTime.Dock = System.Windows.Forms.DockStyle.Left; this.lblTime.Font = new System.Drawing.Font("Calibri", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTime.Location = new System.Drawing.Point(0, 0); this.lblTime.Name = "lblTime"; this.lblTime.Size = new System.Drawing.Size(174, 57); this.lblTime.TabIndex = 19; this.lblTime.Text = "00:00:00"; // // mainTimer // this.mainTimer.Interval = 500; this.mainTimer.Tick += new System.EventHandler(this.mainTimer_Tick); // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx1.Controls.Add(this.loadCircle); this.panelEx1.Controls.Add(this.logList); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(230, 155); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(671, 497); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 3; this.panelEx1.Text = "panelEx1"; // // loadCircle // this.loadCircle.Active = false; this.loadCircle.Color = System.Drawing.Color.Maroon; this.loadCircle.InnerCircleRadius = 5; this.loadCircle.Location = new System.Drawing.Point(256, 180); this.loadCircle.Name = "loadCircle"; this.loadCircle.NumberSpoke = 12; this.loadCircle.OuterCircleRadius = 11; this.loadCircle.RotationSpeed = 100; this.loadCircle.Size = new System.Drawing.Size(132, 115); this.loadCircle.SpokeThickness = 2; this.loadCircle.StylePreset = CNPOPSOFT.Controls.LoadingCircle.StylePresets.MacOSX; this.loadCircle.TabIndex = 1; this.loadCircle.Text = "loadingCircle1"; this.loadCircle.Visible = false; // // logList // this.logList.AllowUserToAddRows = false; this.logList.AllowUserToDeleteRows = false; this.logList.AllowUserToResizeRows = false; this.logList.BackgroundColor = System.Drawing.Color.White; this.logList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.logList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, this.Column2, this.Column3}); dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.logList.DefaultCellStyle = dataGridViewCellStyle1; this.logList.Dock = System.Windows.Forms.DockStyle.Fill; this.logList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.logList.Location = new System.Drawing.Point(0, 0); this.logList.MultiSelect = false; this.logList.Name = "logList"; this.logList.ReadOnly = true; this.logList.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.Info; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.logList.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.logList.RowHeadersVisible = false; this.logList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.logList.RowTemplate.Height = 23; this.logList.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.logList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.logList.Size = new System.Drawing.Size(671, 497); this.logList.TabIndex = 0; // // Column1 // this.Column1.HeaderText = "时间"; this.Column1.Name = "Column1"; this.Column1.ReadOnly = true; this.Column1.Width = 150; // // Column2 // this.Column2.HeaderText = "板卡"; this.Column2.Name = "Column2"; this.Column2.ReadOnly = true; // // Column3 // this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.Column3.HeaderText = "状态"; this.Column3.Name = "Column3"; this.Column3.ReadOnly = true; // // panelEx2 // this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx2.Controls.Add(this.rackAdvTree); this.panelEx2.Dock = System.Windows.Forms.DockStyle.Left; this.panelEx2.Location = new System.Drawing.Point(5, 155); this.panelEx2.Name = "panelEx2"; this.panelEx2.Size = new System.Drawing.Size(225, 497); this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx2.Style.GradientAngle = 90; this.panelEx2.TabIndex = 1; this.panelEx2.Text = "panelEx2"; // // rackAdvTree // this.rackAdvTree.AccessibleRole = System.Windows.Forms.AccessibleRole.Outline; this.rackAdvTree.AllowDrop = true; this.rackAdvTree.BackColor = System.Drawing.SystemColors.Window; // // // this.rackAdvTree.BackgroundStyle.Class = "TreeBorderKey"; this.rackAdvTree.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.rackAdvTree.Dock = System.Windows.Forms.DockStyle.Fill; this.rackAdvTree.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; this.rackAdvTree.Location = new System.Drawing.Point(0, 0); this.rackAdvTree.Name = "rackAdvTree"; this.rackAdvTree.Nodes.AddRange(new DevComponents.AdvTree.Node[] { this.node1}); this.rackAdvTree.NodesConnector = this.nodeConnector1; this.rackAdvTree.NodeStyle = this.elementStyle1; this.rackAdvTree.PathSeparator = ";"; this.rackAdvTree.Size = new System.Drawing.Size(225, 497); this.rackAdvTree.Styles.Add(this.elementStyle1); this.rackAdvTree.TabIndex = 0; this.rackAdvTree.AfterCheck += new DevComponents.AdvTree.AdvTreeCellEventHandler(this.rackAdvTree_AfterCheck); this.rackAdvTree.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(this.rackAdvTree_AfterNodeSelect); // // node1 // this.node1.Expanded = true; this.node1.Name = "node1"; this.node1.Text = "node1"; // // nodeConnector1 // this.nodeConnector1.LineColor = System.Drawing.SystemColors.ControlText; // // elementStyle1 // this.elementStyle1.Class = ""; this.elementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.elementStyle1.Name = "elementStyle1"; this.elementStyle1.TextColor = System.Drawing.SystemColors.ControlText; // // panelEx3 // this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.panelEx3.Controls.Add(this.lblResult); this.panelEx3.Controls.Add(this.lblTime); this.panelEx3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelEx3.Location = new System.Drawing.Point(5, 652); this.panelEx3.Name = "panelEx3"; this.panelEx3.Size = new System.Drawing.Size(896, 57); this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx3.Style.GradientAngle = 90; this.panelEx3.TabIndex = 0; // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(906, 711); this.Controls.Add(this.panelEx1); this.Controls.Add(this.panelEx2); this.Controls.Add(this.panelEx3); this.Controls.Add(this.ribbonControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(906, 711); this.Name = "FormMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "TSP硬件测试平台"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.formMain_FormClosing); this.Load += new System.EventHandler(this.FormMain_Load); this.ribbonControl1.ResumeLayout(false); this.ribbonControl1.PerformLayout(); this.ribbonPanel1.ResumeLayout(false); this.panelEx1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.logList)).EndInit(); this.panelEx2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.rackAdvTree)).EndInit(); this.panelEx3.ResumeLayout(false); this.ResumeLayout(false); }
private void TabShowData(TreeNode treeNode) { //throw new NotImplementedException(); Data.MTag mt = (Data.MTag) treeNode.Tag; if(mt.Type == Data.Data.DbCludes.table) { MongoDB.Driver.MongoCollection mc = (MongoDB.Driver.MongoCollection)mt.tag; //////////////////////////////////////// Log("db."+mc.Name+".find()"); /// show existed tab DevComponents.DotNetBar.SuperTabItem stc; if (IsHasTab(mc.FullName,out stc)) { tbMain.SelectedTab = stc; return; } /////////////////////////////////////////////////////////// //DevComponents.DotNetBar.SuperTabItem //make data tree DevComponents.AdvTree.AdvTree avt = new DevComponents.AdvTree.AdvTree(); avt.BeginUpdate(); avt.Columns.Add(new DevComponents.AdvTree.ColumnHeader("Name")); avt.Columns[0].Width.Relative = 50; avt.Columns.Add(new DevComponents.AdvTree.ColumnHeader("Value")); avt.Columns[1].Width.Relative = 20; avt.Columns.Add(new DevComponents.AdvTree.ColumnHeader("Type")); avt.Columns[2].Width.Relative = 20; int i = 0; foreach(MongoDB.Bson.BsonDocument bd in mc.FindAllAs<MongoDB.Bson.BsonDocument>()) { MakeTree(bd,avt,i++); } DevComponents.DotNetBar.ElementStyle es = new DevComponents.DotNetBar.ElementStyle(); es.TextColor = System.Drawing.SystemColors.ControlText; es.CornerType = DevComponents.DotNetBar.eCornerType.Square; avt.NodeStyle = es; avt.Styles.Add(es); avt.EndUpdate(); ///////////////////////////////////////////////////////////////////// // make pagetab to TabControl 1\ tabItem 2\ tabPage stc = new DevComponents.DotNetBar.SuperTabItem(); stc.Text = mc.Name; //定义唯一表 define stc.Tag = mc.FullName; System.Diagnostics.Debug.WriteLine(mc.FullName); //////////////////////////////////////////////////////////// DevComponents.DotNetBar.SuperTabControlPanel stcp = new DevComponents.DotNetBar.SuperTabControlPanel(); stc.AttachedControl = stcp; stcp.Dock = DockStyle.Fill; stcp.TabItem = stc; stcp.Controls.Add(avt); avt.Dock = DockStyle.Fill; stcp.Controls.Add(avt); tbMain.Tabs.Add(stc); tbMain.Controls.Add(stcp); /////////////show tab tbMain.SelectedTab = stc; } }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(TextProfileEditor)); _AdvTree1 = new DevComponents.AdvTree.AdvTree(); _AdvTree1.AfterNodeSelect += new DevComponents.AdvTree.AdvTreeNodeEventHandler(AdvTree1_AfterNodeSelect); _NodeConnector1 = new DevComponents.AdvTree.NodeConnector(); _ElementStyle1 = new DevComponents.DotNetBar.ElementStyle(); _Panel1 = new Panel(); _Panel2 = new Panel(); _Panel3 = new Panel(); _ItemListBox1 = new Publics.Controls.ItemListBox(); _ItemListBox1.SelectedItemChanged += new Publics.Controls.ItemListBox.SelectedItemChangedEventHandler(ItemListBox1_SelectedChanged); _Bar2 = new DevComponents.DotNetBar.Bar(); _ButtonItem_AddArrayItem = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddArrayItem.Click += new EventHandler(ButtonItem_AddArrayItem_Click); _ButtonItem_RemoveArrayItem = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveArrayItem.Click += new EventHandler(ButtonItem_RemoveArrayItem_Click); _ButtonItem_ClearArrayItems = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_ClearArrayItems.Click += new EventHandler(ButtonItem_ClearArrayItems_Click); _AdvPropertyGrid1 = new DevComponents.DotNetBar.AdvPropertyGrid(); _AdvPropertyGrid1.PropertyValueChanged += new System.ComponentModel.PropertyChangedEventHandler(AdvPropertyGrid1_PropertyChanged); _Bar1 = new DevComponents.DotNetBar.Bar(); _ButtonItem_AddTableGroup = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddTableGroup.Click += new EventHandler(ButtonItem_AddTableGroup_Click); _ButtonItem_AddArrayGroup = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_AddArrayGroup.Click += new EventHandler(ButtonItem_AddArrayGroup_Click); _ButtonItem_RemoveGroup = new DevComponents.DotNetBar.ButtonItem(); _ButtonItem_RemoveGroup.Click += new EventHandler(ButtonItem_RemoveGroup_Click); ((System.ComponentModel.ISupportInitialize)_AdvTree1).BeginInit(); _Panel1.SuspendLayout(); _Panel2.SuspendLayout(); _Panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)_Bar2).BeginInit(); ((System.ComponentModel.ISupportInitialize)_AdvPropertyGrid1).BeginInit(); ((System.ComponentModel.ISupportInitialize)_Bar1).BeginInit(); SuspendLayout(); // // AdvTree1 // _AdvTree1.AccessibleRole = AccessibleRole.Outline; _AdvTree1.BackColor = SystemColors.Window; // // // _AdvTree1.BackgroundStyle.Class = "TreeBorderKey"; _AdvTree1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _AdvTree1.Dock = DockStyle.Left; _AdvTree1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; _AdvTree1.Location = new Point(0, 0); _AdvTree1.Name = "AdvTree1"; _AdvTree1.NodesConnector = _NodeConnector1; _AdvTree1.NodeStyle = _ElementStyle1; _AdvTree1.PathSeparator = ";"; _AdvTree1.Size = new Size(241, 472); _AdvTree1.Styles.Add(_ElementStyle1); _AdvTree1.TabIndex = 0; _AdvTree1.Text = "AdvTree1"; // // NodeConnector1 // _NodeConnector1.LineColor = SystemColors.ControlText; // // ElementStyle1 // _ElementStyle1.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ElementStyle1.Name = "ElementStyle1"; _ElementStyle1.TextColor = SystemColors.ControlText; // // Panel1 // _Panel1.BackColor = Color.Transparent; _Panel1.Controls.Add(_Panel2); _Panel1.Controls.Add(_AdvTree1); _Panel1.Dock = DockStyle.Fill; _Panel1.Location = new Point(0, 25); _Panel1.Name = "Panel1"; _Panel1.Size = new Size(567, 472); _Panel1.TabIndex = 1; // // Panel2 // _Panel2.Controls.Add(_Panel3); _Panel2.Controls.Add(_AdvPropertyGrid1); _Panel2.Dock = DockStyle.Fill; _Panel2.Location = new Point(241, 0); _Panel2.Name = "Panel2"; _Panel2.Size = new Size(326, 472); _Panel2.TabIndex = 1; // // Panel3 // _Panel3.Controls.Add(_ItemListBox1); _Panel3.Controls.Add(_Bar2); _Panel3.Dock = DockStyle.Fill; _Panel3.Location = new Point(0, 194); _Panel3.Name = "Panel3"; _Panel3.Size = new Size(326, 278); _Panel3.TabIndex = 4; // // ItemListBox1 // _ItemListBox1.AutoScroll = true; // // // _ItemListBox1.BackgroundStyle.Class = "ItemPanel"; _ItemListBox1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; _ItemListBox1.ContainerControlProcessDialogKey = true; _ItemListBox1.Dock = DockStyle.Fill; _ItemListBox1.DragDropSupport = true; _ItemListBox1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical; _ItemListBox1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; _ItemListBox1.Location = new Point(0, 25); _ItemListBox1.Name = "ItemListBox1"; _ItemListBox1.ReserveLeftSpace = false; _ItemListBox1.Size = new Size(326, 253); _ItemListBox1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _ItemListBox1.TabIndex = 0; _ItemListBox1.Text = "ItemListBox1"; // // Bar2 // _Bar2.AccessibleDescription = "Bar2 (Bar2)"; _Bar2.AccessibleName = "Bar2"; _Bar2.AccessibleRole = AccessibleRole.ToolBar; _Bar2.AntiAlias = true; _Bar2.Dock = DockStyle.Top; _Bar2.DockSide = DevComponents.DotNetBar.eDockSide.Document; _Bar2.Font = new Font("Segoe UI", 9.0F); _Bar2.IsMaximized = false; _Bar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddArrayItem, _ButtonItem_RemoveArrayItem, _ButtonItem_ClearArrayItems }); _Bar2.Location = new Point(0, 0); _Bar2.Name = "Bar2"; _Bar2.RoundCorners = false; _Bar2.Size = new Size(326, 25); _Bar2.Stretch = true; _Bar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _Bar2.TabIndex = 3; _Bar2.TabStop = false; _Bar2.Text = "Bar2"; // // ButtonItem_AddArrayItem // _ButtonItem_AddArrayItem.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_AddArrayItem.Image = My.Resources.MyIcons.icons8_add_subnode_16px; _ButtonItem_AddArrayItem.Name = "ButtonItem_AddArrayItem"; _ButtonItem_AddArrayItem.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(82)), Conversions.ToInteger(Conversions.ToByte(124)), Conversions.ToInteger(Conversions.ToByte(64))); _ButtonItem_AddArrayItem.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_AddArrayItem.SymbolSize = 12.0F; _ButtonItem_AddArrayItem.Text = "Text Item"; // // ButtonItem_RemoveArrayItem // _ButtonItem_RemoveArrayItem.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_RemoveArrayItem.Image = My.Resources.MyIcons.icons8_delete_subnode_16px; _ButtonItem_RemoveArrayItem.Name = "ButtonItem_RemoveArrayItem"; _ButtonItem_RemoveArrayItem.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(150)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); _ButtonItem_RemoveArrayItem.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_RemoveArrayItem.SymbolSize = 12.0F; _ButtonItem_RemoveArrayItem.Text = "Remove Item"; // // ButtonItem_ClearArrayItems // _ButtonItem_ClearArrayItems.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_ClearArrayItems.Image = My.Resources.MyIcons.icons8_delete_2_16px; _ButtonItem_ClearArrayItems.Name = "ButtonItem_ClearArrayItems"; _ButtonItem_ClearArrayItems.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(150)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); _ButtonItem_ClearArrayItems.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_ClearArrayItems.SymbolSize = 12.0F; _ButtonItem_ClearArrayItems.Text = "Clear List"; // // AdvPropertyGrid1 // _AdvPropertyGrid1.Dock = DockStyle.Top; _AdvPropertyGrid1.GridLinesColor = Color.WhiteSmoke; _AdvPropertyGrid1.Location = new Point(0, 0); _AdvPropertyGrid1.Name = "AdvPropertyGrid1"; _AdvPropertyGrid1.Size = new Size(326, 194); _AdvPropertyGrid1.TabIndex = 1; _AdvPropertyGrid1.Text = "AdvPropertyGrid1"; // // Bar1 // _Bar1.AccessibleDescription = "Bar1 (Bar1)"; _Bar1.AccessibleName = "Bar1"; _Bar1.AccessibleRole = AccessibleRole.ToolBar; _Bar1.AntiAlias = true; _Bar1.Dock = DockStyle.Top; _Bar1.Font = new Font("Segoe UI", 9.0F); _Bar1.IsMaximized = false; _Bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { _ButtonItem_AddTableGroup, _ButtonItem_AddArrayGroup, _ButtonItem_RemoveGroup }); _Bar1.Location = new Point(0, 0); _Bar1.Name = "Bar1"; _Bar1.RoundCorners = false; _Bar1.Size = new Size(567, 25); _Bar1.Stretch = true; _Bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; _Bar1.TabIndex = 2; _Bar1.TabStop = false; _Bar1.Text = "Bar1"; // // ButtonItem_AddTableGroup // _ButtonItem_AddTableGroup.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_AddTableGroup.Image = My.Resources.MyIcons.icons8_add_node_16px; _ButtonItem_AddTableGroup.Name = "ButtonItem_AddTableGroup"; _ButtonItem_AddTableGroup.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(82)), Conversions.ToInteger(Conversions.ToByte(124)), Conversions.ToInteger(Conversions.ToByte(64))); _ButtonItem_AddTableGroup.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_AddTableGroup.SymbolSize = 12.0F; _ButtonItem_AddTableGroup.Text = "Table Group"; // // ButtonItem_AddArrayGroup // _ButtonItem_AddArrayGroup.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_AddArrayGroup.Image = My.Resources.MyIcons.icons8_add_node_16px; _ButtonItem_AddArrayGroup.Name = "ButtonItem_AddArrayGroup"; _ButtonItem_AddArrayGroup.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(82)), Conversions.ToInteger(Conversions.ToByte(124)), Conversions.ToInteger(Conversions.ToByte(64))); _ButtonItem_AddArrayGroup.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_AddArrayGroup.SymbolSize = 12.0F; _ButtonItem_AddArrayGroup.Text = "Array Group"; // // ButtonItem_RemoveGroup // _ButtonItem_RemoveGroup.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; _ButtonItem_RemoveGroup.Image = My.Resources.MyIcons.icons8_delete_node_16px; _ButtonItem_RemoveGroup.Name = "ButtonItem_RemoveGroup"; _ButtonItem_RemoveGroup.SymbolColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(150)), Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(0))); _ButtonItem_RemoveGroup.SymbolSet = DevComponents.DotNetBar.eSymbolSet.Material; _ButtonItem_RemoveGroup.SymbolSize = 12.0F; _ButtonItem_RemoveGroup.Text = "Remove Group"; // // TextProfileEditor // AutoScaleDimensions = new SizeF(6.0F, 13.0F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(567, 497); Controls.Add(_Panel1); Controls.Add(_Bar1); Icon = (Icon)resources.GetObject("$this.Icon"); Name = "TextProfileEditor"; StartPosition = FormStartPosition.CenterScreen; Text = "Text Profile Editor"; TopLeftCornerSize = 0; TopRightCornerSize = 0; ((System.ComponentModel.ISupportInitialize)_AdvTree1).EndInit(); _Panel1.ResumeLayout(false); _Panel2.ResumeLayout(false); _Panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)_Bar2).EndInit(); ((System.ComponentModel.ISupportInitialize)_AdvPropertyGrid1).EndInit(); ((System.ComponentModel.ISupportInitialize)_Bar1).EndInit(); ResumeLayout(false); }