本文整理汇总了C#中System.Windows.Forms.TreeNode类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.TreeNode类的具体用法?C# System.Windows.Forms.TreeNode怎么用?C# System.Windows.Forms.TreeNode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.TreeNode类属于命名空间,在下文中一共展示了System.Windows.Forms.TreeNode类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Bibliothek");
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Location = new System.Drawing.Point(1, -1);
this.treeView1.Name = "treeView1";
treeNode1.Name = "Bibliothek";
treeNode1.Text = "Bibliothek";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView1.Size = new System.Drawing.Size(121, 97);
this.treeView1.TabIndex = 1;
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(929, 598);
this.Controls.Add(this.treeView1);
this.Name = "Form2";
this.Text = "Bibliothek";
this.ResumeLayout(false);
}
示例2: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Node1");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("C:", new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView
//
this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView.Location = new System.Drawing.Point(0, 0);
this.treeView.Name = "treeView";
treeNode1.Name = "Node1";
treeNode1.Text = "Node1";
treeNode2.Name = "C:";
treeNode2.Text = "C:";
this.treeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode2});
this.treeView.Size = new System.Drawing.Size(242, 237);
this.treeView.TabIndex = 0;
this.treeView.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeExpand);
//
// TreeSmartPart
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.treeView);
this.Name = "TreeSmartPart";
this.ResumeLayout(false);
}
示例3: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Марія 301МТМ");
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.ItemHeight = 18;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
treeNode1.Name = "Node0";
treeNode1.NodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
treeNode1.Text = "Марія 301МТМ";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView1.ShowNodeToolTips = true;
this.treeView1.Size = new System.Drawing.Size(414, 580);
this.treeView1.TabIndex = 0;
//
// Tree
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.treeView1);
this.Name = "Tree";
this.Size = new System.Drawing.Size(414, 580);
this.ResumeLayout(false);
}
示例4: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Project");
this.treeView1 = new System.Windows.Forms.TreeView();
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
treeNode1.Name = "ProjectNode";
treeNode1.Text = "Project";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView1.Size = new System.Drawing.Size(214, 304);
this.treeView1.TabIndex = 0;
this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
//
// ProjectExplorerTool
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(214, 304);
this.Controls.Add(this.treeView1);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Name = "ProjectExplorerTool";
this.Text = "ProjectExplorerTool";
this.ResumeLayout(false);
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Blocks");
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
treeNode1.Name = "root";
treeNode1.Text = "Blocks";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView1.Size = new System.Drawing.Size(214, 273);
this.treeView1.TabIndex = 0;
this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
//
// BlockListTool
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(214, 273);
this.Controls.Add(this.treeView1);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Name = "BlockListTool";
this.Text = "BlockListTool";
this.Load += new System.EventHandler(this.BlockListTool_Load);
this.ResumeLayout(false);
}
示例6: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Online");
this.UserList = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// UserList
//
this.UserList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.UserList.Location = new System.Drawing.Point(-1, 0);
this.UserList.Name = "UserList";
treeNode1.Name = "Online";
treeNode1.Text = "Online";
this.UserList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.UserList.ShowLines = false;
this.UserList.Size = new System.Drawing.Size(203, 291);
this.UserList.TabIndex = 0;
this.UserList.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.UserList_NodeMouseDoubleClick);
//
// IRCMessenger
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(202, 345);
this.Controls.Add(this.UserList);
this.Name = "IRCMessenger";
this.Text = "IRCMessenger";
this.Load += new System.EventHandler(this.IRCMessenger_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.IRCMessenger_FormClosed);
this.ResumeLayout(false);
}
示例7: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Controllers");
this.treeView = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView
//
this.treeView.Location = new System.Drawing.Point(0, 0);
this.treeView.Name = "treeView";
treeNode1.Name = "Node0";
treeNode1.Text = "Controllers";
this.treeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView.Size = new System.Drawing.Size(179, 180);
this.treeView.TabIndex = 1;
//
// Explorer
//
this.BackColor = System.Drawing.SystemColors.Window;
this.Controls.Add(this.treeView);
this.Name = "Explorer";
this.Size = new System.Drawing.Size(179, 198);
this.ResumeLayout(false);
}
示例8: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("邓思捷");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("组长", new System.Windows.Forms.TreeNode[] {
treeNode1});
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("李翔宇");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("胡壮观");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("林益舟");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("杨梅");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("组员", new System.Windows.Forms.TreeNode[] {
treeNode3,
treeNode4,
treeNode5,
treeNode6});
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("软工第四小组", new System.Windows.Forms.TreeNode[] {
treeNode2,
treeNode7});
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutForm));
this.treeView1 = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Location = new System.Drawing.Point(18, 7);
this.treeView1.Name = "treeView1";
treeNode1.Name = "节点2";
treeNode1.Text = "邓思捷";
treeNode2.Name = "节点1";
treeNode2.Text = "组长";
treeNode3.Name = "节点7";
treeNode3.Text = "李翔宇";
treeNode4.Name = "节点8";
treeNode4.Text = "胡壮观";
treeNode5.Name = "节点9";
treeNode5.Text = "林益舟";
treeNode6.Name = "节点10";
treeNode6.Text = "杨梅";
treeNode7.Name = "节点6";
treeNode7.Text = "组员";
treeNode8.Name = "节点0";
treeNode8.Text = "软工第四小组";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode8});
this.treeView1.Size = new System.Drawing.Size(239, 176);
this.treeView1.TabIndex = 4;
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(269, 189);
this.Controls.Add(this.treeView1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AboutForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "关于我们";
this.ResumeLayout(false);
}
示例9: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FolderBrowseDialog));
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode(resources.GetString("tvwTree.Nodes"));
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("please wait ...");
this.mmnMain = new System.Windows.Forms.MainMenu();
this.mniOK = new System.Windows.Forms.MenuItem();
this.mniCancel = new System.Windows.Forms.MenuItem();
this.tvwTree = new System.Windows.Forms.TreeView();
this.imlImages = new System.Windows.Forms.ImageList();
this.SuspendLayout();
//
// mmnMain
//
this.mmnMain.MenuItems.Add(this.mniOK);
this.mmnMain.MenuItems.Add(this.mniCancel);
//
// mniOK
//
resources.ApplyResources(this.mniOK, "mniOK");
this.mniOK.Click += new System.EventHandler(this.mniOK_Click);
//
// mniCancel
//
resources.ApplyResources(this.mniCancel, "mniCancel");
this.mniCancel.Click += new System.EventHandler(this.mniCancel_Click);
//
// tvwTree
//
resources.ApplyResources(this.tvwTree, "tvwTree");
this.tvwTree.ImageList = this.imlImages;
this.tvwTree.Name = "tvwTree";
treeNode2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(191)))), ((int)(((byte)(191)))));
resources.ApplyResources(treeNode2, "treeNode2");
treeNode1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode2});
resources.ApplyResources(treeNode1, "treeNode1");
this.tvwTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.tvwTree.ShowRootLines = false;
//this.tvwTree.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.tvwTree_AfterCollapse);
this.tvwTree.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tvwTree_BeforeExpand);
//this.tvwTree.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.tvwTree_AfterExpand);
this.imlImages.Images.Clear();
this.imlImages.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
this.imlImages.Images.Add(((System.Drawing.Image)(resources.GetObject("resource1"))));
//
// FolderBrowseDialog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
resources.ApplyResources(this, "$this");
this.Controls.Add(this.tvwTree);
this.Menu = this.mmnMain;
this.MinimizeBox = false;
this.Name = "FolderBrowseDialog";
this.Closing += new System.ComponentModel.CancelEventHandler(this.FolderBrowseDialog_Closing);
this.ResumeLayout(false);
}
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("我的电脑");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(useTreeView));
this.FolderTree = new System.Windows.Forms.TreeView();
this.fileIconList = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// FolderTree
//
this.FolderTree.ImageIndex = 0;
this.FolderTree.ImageList = this.fileIconList;
this.FolderTree.Location = new System.Drawing.Point(0, 0);
this.FolderTree.Name = "FolderTree";
treeNode1.Name = "节点0";
treeNode1.Text = "我的电脑";
this.FolderTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.FolderTree.SelectedImageIndex = 0;
this.FolderTree.Size = new System.Drawing.Size(280, 250);
this.FolderTree.TabIndex = 0;
//
// fileIconList
//
this.fileIconList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("fileIconList.ImageStream")));
this.fileIconList.TransparentColor = System.Drawing.Color.Transparent;
this.fileIconList.Images.SetKeyName(0, "0.ico");
this.fileIconList.Images.SetKeyName(1, "1.ico");
this.fileIconList.Images.SetKeyName(2, "2.ico");
this.fileIconList.Images.SetKeyName(3, "3.ico");
this.fileIconList.Images.SetKeyName(4, "4.ico");
this.fileIconList.Images.SetKeyName(5, "5.ico");
this.fileIconList.Images.SetKeyName(6, "6.ico");
this.fileIconList.Images.SetKeyName(7, "7.ico");
this.fileIconList.Images.SetKeyName(8, "8.ico");
this.fileIconList.Images.SetKeyName(9, "9.ico");
this.fileIconList.Images.SetKeyName(10, "10.ico");
this.fileIconList.Images.SetKeyName(11, "11.ico");
this.fileIconList.Images.SetKeyName(12, "12.ico");
this.fileIconList.Images.SetKeyName(13, "13.ico");
this.fileIconList.Images.SetKeyName(14, "14.ico");
this.fileIconList.Images.SetKeyName(15, "15.ico");
this.fileIconList.Images.SetKeyName(16, "16.ico");
this.fileIconList.Images.SetKeyName(17, "17.ico");
this.fileIconList.Images.SetKeyName(18, "18.ico");
this.fileIconList.Images.SetKeyName(19, "19.ico");
//
// useTreeView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.FolderTree);
this.Name = "useTreeView";
this.Text = "使用树控件";
this.ResumeLayout(false);
}
示例11: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Nhóm thực hiện");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Giới thiệu sản phẩm");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Giới thiệu", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2});
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Thao tác sử dụng cơ bản");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Hướng dẫn sử dụng", new System.Windows.Forms.TreeNode[] {
treeNode4});
this.treeView1 = new System.Windows.Forms.TreeView();
this.webBrowser1 = new System.Windows.Forms.WebBrowser();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Dock = System.Windows.Forms.DockStyle.Left;
this.treeView1.Location = new System.Drawing.Point(0, 0);
this.treeView1.Name = "treeView1";
treeNode1.Name = "nhomthuchien";
treeNode1.Text = "Nhóm thực hiện";
treeNode2.Name = "gioithieusanpham";
treeNode2.Text = "Giới thiệu sản phẩm";
treeNode3.Name = "gioithieu";
treeNode3.Text = "Giới thiệu";
treeNode4.Name = "hdchinh";
treeNode4.Text = "Thao tác sử dụng cơ bản";
treeNode5.Name = "hdsd";
treeNode5.Text = "Hướng dẫn sử dụng";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode3,
treeNode5});
this.treeView1.Size = new System.Drawing.Size(228, 561);
this.treeView1.TabIndex = 0;
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
//
// webBrowser1
//
this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Right;
this.webBrowser1.Location = new System.Drawing.Point(247, 0);
this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.webBrowser1.Name = "webBrowser1";
this.webBrowser1.Size = new System.Drawing.Size(737, 561);
this.webBrowser1.TabIndex = 1;
//
// huongdan
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(984, 561);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(this.treeView1);
this.Name = "huongdan";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "huongdan";
this.ResumeLayout(false);
}
示例12: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("在线");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("离线");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OperatorPannel));
this.operatorsTreeView = new System.Windows.Forms.TreeView();
this.imgIconSet = new System.Windows.Forms.ImageList(this.components);
this.SuspendLayout();
//
// operatorsTreeView
//
this.operatorsTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.operatorsTreeView.ImageIndex = 3;
this.operatorsTreeView.ImageList = this.imgIconSet;
this.operatorsTreeView.Location = new System.Drawing.Point(0, 0);
this.operatorsTreeView.Name = "operatorsTreeView";
treeNode1.Name = "节点0";
treeNode1.Text = "在线";
treeNode2.Name = "节点1";
treeNode2.Text = "离线";
this.operatorsTreeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2});
this.operatorsTreeView.PathSeparator = "";
this.operatorsTreeView.SelectedImageIndex = 2;
this.operatorsTreeView.ShowNodeToolTips = true;
this.operatorsTreeView.Size = new System.Drawing.Size(215, 359);
this.operatorsTreeView.TabIndex = 1;
this.operatorsTreeView.DoubleClick += new System.EventHandler(this.operatorsTreeView_DoubleClick);
//
// imgIconSet
//
this.imgIconSet.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgIconSet.ImageStream")));
this.imgIconSet.TransparentColor = System.Drawing.Color.Transparent;
this.imgIconSet.Images.SetKeyName(0, "ff.jpg");
this.imgIconSet.Images.SetKeyName(1, "ie.jpg");
this.imgIconSet.Images.SetKeyName(2, "chat.jpg");
this.imgIconSet.Images.SetKeyName(3, "development 54.png");
this.imgIconSet.Images.SetKeyName(4, "development 54 grey.png");
this.imgIconSet.Images.SetKeyName(5, "PI Diagona Web Application 04 09.png");
this.imgIconSet.Images.SetKeyName(6, "PI Diagona Web Application 04 08.png");
this.imgIconSet.Images.SetKeyName(7, "PI Diagona Web Application 04 02.png");
this.imgIconSet.Images.SetKeyName(8, "PI Diagona Web Application 04 05.png");
this.imgIconSet.Images.SetKeyName(9, "PI Diagona Web Application 04 04.png");
//
// OperatorPannel
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.Controls.Add(this.operatorsTreeView);
this.Name = "OperatorPannel";
this.Size = new System.Drawing.Size(215, 359);
this.ResumeLayout(false);
}
示例13: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Lập trình console");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Control");
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("ADO.NET");
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("Lập trình giao diện", new System.Windows.Forms.TreeNode[] {
treeNode7,
treeNode8});
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Lập trình c#", new System.Windows.Forms.TreeNode[] {
treeNode6,
treeNode9});
this.treeView1 = new System.Windows.Forms.TreeView();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Location = new System.Drawing.Point(12, 94);
this.treeView1.Name = "treeView1";
treeNode6.Name = "Node2";
treeNode6.Text = "Lập trình console";
treeNode7.Name = "Node5";
treeNode7.Text = "Control";
treeNode8.Name = "Node6";
treeNode8.Text = "ADO.NET";
treeNode9.Name = "Node4";
treeNode9.Text = "Lập trình giao diện";
treeNode10.Name = "Node0";
treeNode10.Text = "Lập trình c#";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode10});
this.treeView1.Size = new System.Drawing.Size(370, 193);
this.treeView1.TabIndex = 0;
this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(503, 187);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 13);
this.label1.TabIndex = 1;
this.label1.Text = "label1";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(750, 337);
this.Controls.Add(this.label1);
this.Controls.Add(this.treeView1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
}
示例14: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("所有日志");
this.treeView1 = new System.Windows.Forms.TreeView();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Location = new System.Drawing.Point(36, 35);
this.treeView1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.treeView1.Name = "treeView1";
treeNode1.Name = "rootNode";
treeNode1.Text = "所有日志";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.treeView1.Size = new System.Drawing.Size(241, 475);
this.treeView1.TabIndex = 0;
this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(308, 76);
this.textBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox1.Size = new System.Drawing.Size(648, 433);
this.textBox1.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(308, 37);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(64, 17);
this.label1.TabIndex = 2;
this.label1.Text = "日志内容";
//
// LogInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(997, 545);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.treeView1);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "LogInfo";
this.Text = "日志信息";
this.ResumeLayout(false);
this.PerformLayout();
}
示例15: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("年份");
this.treeView1 = new System.Windows.Forms.TreeView();
this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
this.SuspendLayout();
//
// treeView1
//
this.treeView1.Location = new System.Drawing.Point(1, 1);
this.treeView1.Name = "treeView1";
treeNode6.Name = "root";
treeNode6.Tag = "00";
treeNode6.Text = "年份";
this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode6});
this.treeView1.Size = new System.Drawing.Size(209, 182);
this.treeView1.TabIndex = 1;
//
// simpleButton2
//
this.simpleButton2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.simpleButton2.Location = new System.Drawing.Point(150, 189);
this.simpleButton2.Name = "simpleButton2";
this.simpleButton2.Size = new System.Drawing.Size(54, 23);
this.simpleButton2.TabIndex = 25;
this.simpleButton2.Text = "取消";
//
// simpleButton1
//
this.simpleButton1.Location = new System.Drawing.Point(85, 189);
this.simpleButton1.Name = "simpleButton1";
this.simpleButton1.Size = new System.Drawing.Size(54, 23);
this.simpleButton1.TabIndex = 24;
this.simpleButton1.Text = "确定";
this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
//
// frmSelectYear
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(208, 223);
this.Controls.Add(this.simpleButton2);
this.Controls.Add(this.simpleButton1);
this.Controls.Add(this.treeView1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmSelectYear";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "选择导入年份";
this.Load += new System.EventHandler(this.frmSelectYear_Load);
this.ResumeLayout(false);
}