/// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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);

        }
        /// <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();

        }
        /// <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);

        }
Beispiel #14
0
        /// <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();

        }
        /// <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("Room 1");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Node3");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Node4");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Deluxe Room", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2,
            treeNode3});
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Node5");
            System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Node6");
            System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Node7");
            System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("VIP Room", new System.Windows.Forms.TreeNode[] {
            treeNode5,
            treeNode6,
            treeNode7});
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.SuspendLayout();
            // 
            // treeView1
            // 
            this.treeView1.Location = new System.Drawing.Point(36, 123);
            this.treeView1.Name = "treeView1";
            treeNode1.Name = "deluxeroom1";
            treeNode1.Text = "Room 1";
            treeNode2.Name = "Node3";
            treeNode2.Text = "Node3";
            treeNode3.Name = "Node4";
            treeNode3.Text = "Node4";
            treeNode4.Name = "Deluxe";
            treeNode4.Text = "Deluxe Room";
            treeNode5.Name = "Node5";
            treeNode5.Text = "Node5";
            treeNode6.Name = "Node6";
            treeNode6.Text = "Node6";
            treeNode7.Name = "Node7";
            treeNode7.Text = "Node7";
            treeNode8.Name = "VIP";
            treeNode8.Text = "VIP Room";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode4,
            treeNode8});
            this.treeView1.Size = new System.Drawing.Size(121, 97);
            this.treeView1.TabIndex = 1;
            // 
            // Rooms
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(284, 261);
            this.Controls.Add(this.treeView1);
            this.Name = "Rooms";
            this.Text = "Rooms";
            this.ResumeLayout(false);

        }
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Loading...");
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AutoComplete_OLD));
            this.tvList = new System.Windows.Forms.TreeView();
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.ttToolTip = new System.Windows.Forms.ToolTip(this.components);
            this.SuspendLayout();
            // 
            // tvList
            // 
            this.tvList.BackColor = System.Drawing.SystemColors.Window;
            this.tvList.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tvList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tvList.FullRowSelect = true;
            this.tvList.HideSelection = false;
            this.tvList.ImageIndex = 0;
            this.tvList.ImageList = this.imageList1;
            this.tvList.Indent = 15;
            this.tvList.ItemHeight = 16;
            this.tvList.Location = new System.Drawing.Point(4, 3);
            this.tvList.Name = "tvList";
            treeNode1.ImageIndex = 0;
            treeNode1.Name = "Node0";
            treeNode1.Text = "Loading...";
            this.tvList.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode1});
            this.tvList.SelectedImageIndex = 0;
            this.tvList.ShowLines = false;
            this.tvList.ShowRootLines = false;
            this.tvList.Size = new System.Drawing.Size(249, 102);
            this.tvList.TabIndex = 1;
            this.tvList.DoubleClick += new System.EventHandler(this.tvList_DoubleClick);
            this.tvList.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvList_AfterSelect);
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "object");
            this.imageList1.Images.SetKeyName(1, "string");
            this.imageList1.Images.SetKeyName(2, "integer");
            this.imageList1.Images.SetKeyName(3, "unknown");
            // 
            // AutoComplete
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(255, 107);
            this.Controls.Add(this.tvList);
            this.Name = "AutoComplete";
            this.Padding = new System.Windows.Forms.Padding(4, 3, 2, 2);
            this.ResumeLayout(false);

        }
        /// <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);

        }
        /// <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 treeNode2 = new System.Windows.Forms.TreeNode("All");
            this.ToolTab = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.ToolTree = new System.Windows.Forms.TreeView();
            this.ToolTab.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.SuspendLayout();
            // 
            // ToolTab
            // 
            this.ToolTab.Controls.Add(this.tabPage1);
            this.ToolTab.Location = new System.Drawing.Point(3, 3);
            this.ToolTab.Name = "ToolTab";
            this.ToolTab.SelectedIndex = 0;
            this.ToolTab.Size = new System.Drawing.Size(244, 589);
            this.ToolTab.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.ToolTree);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(236, 563);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Tools";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // ToolTree
            // 
            this.ToolTree.BackColor = System.Drawing.SystemColors.MenuBar;
            this.ToolTree.FullRowSelect = true;
            this.ToolTree.Location = new System.Drawing.Point(3, 6);
            this.ToolTree.Name = "ToolTree";
            treeNode2.Name = "All";
            treeNode2.Text = "All";
            this.ToolTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode2});
            this.ToolTree.Size = new System.Drawing.Size(227, 551);
            this.ToolTree.TabIndex = 0;
            // 
            // ToolSelector
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.ToolTab);
            this.Name = "ToolSelector";
            this.Size = new System.Drawing.Size(250, 595);
            this.ToolTab.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Function 1");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Function 2");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Module 1", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2});
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Module 2");
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("LibName", new System.Windows.Forms.TreeNode[] {
            treeNode3,
            treeNode4});
            this.tvLibrary = new Util.Forms.DoubleBufferedTreeView();
            this.SuspendLayout();
            // 
            // tvLibrary
            // 
            this.tvLibrary.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tvLibrary.FullRowSelect = true;
            this.tvLibrary.HideSelection = false;
            this.tvLibrary.Location = new System.Drawing.Point(0, 0);
            this.tvLibrary.Name = "tvLibrary";
            treeNode1.Name = "Node3";
            treeNode1.Text = "Function 1";
            treeNode2.Name = "Node4";
            treeNode2.Text = "Function 2";
            treeNode3.Name = "Node1";
            treeNode3.Text = "Module 1";
            treeNode4.Name = "Node2";
            treeNode4.Text = "Module 2";
            treeNode5.Name = "Node0";
            treeNode5.Text = "LibName";
            this.tvLibrary.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode5});
            this.tvLibrary.ShowLines = false;
            this.tvLibrary.Size = new System.Drawing.Size(286, 331);
            this.tvLibrary.TabIndex = 0;
            this.tvLibrary.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvLibrary_AfterSelect);
            // 
            // LibraryBrowserWindow
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 19F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(286, 331);
            this.Controls.Add(this.tvLibrary);
            this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Margin = new System.Windows.Forms.Padding(4);
            this.Name = "LibraryBrowserWindow";
            this.TabText = "Library Browser";
            this.Text = "Library Browser";
            this.Load += new System.EventHandler(this.LibraryBrowserWindow_Load);
            this.ResumeLayout(false);

        }
Beispiel #20
0
        /// <summary>
        /// Fill the TreeView with categories (of the current media type).
        /// (Only works with WEB treeviews)
        /// </summary>
        public static void FillCategories(System.Windows.Forms.TreeView tv, int typeId)
        {
            Category mainCat = bl.GetCategoryById(typeId);

            // add root node to treeview
            System.Windows.Forms.TreeNode tn =
                new System.Windows.Forms.TreeNode(mainCat.Name, mainCat.CategoryId, mainCat.CategoryId);
            tv.Nodes.Add(tn);

            // add childs
            AddChildCategories(tn, mainCat.CategoryId);
        }
        /// <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("Data: []");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("BUS Transmitted frame", new System.Windows.Forms.TreeNode[] {
            treeNode1});
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("CanOpen: SYNC");
            this.Caption = new System.Windows.Forms.Label();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.SuspendLayout();
            // 
            // Caption
            // 
            this.Caption.BackColor = System.Drawing.SystemColors.ActiveCaption;
            this.Caption.Dock = System.Windows.Forms.DockStyle.Top;
            this.Caption.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
            this.Caption.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
            this.Caption.Location = new System.Drawing.Point(3, 3);
            this.Caption.Name = "Caption";
            this.Caption.Size = new System.Drawing.Size(696, 20);
            this.Caption.TabIndex = 2;
            this.Caption.Text = "Message details";
            this.Caption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // treeView1
            // 
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.Location = new System.Drawing.Point(3, 23);
            this.treeView1.Name = "treeView1";
            treeNode1.Name = "Node3";
            treeNode1.Text = "Data: []";
            treeNode2.Name = "Node0";
            treeNode2.Text = "BUS Transmitted frame";
            treeNode3.Name = "Node1";
            treeNode3.Text = "CanOpen: SYNC";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode2,
            treeNode3});
            this.treeView1.Size = new System.Drawing.Size(696, 239);
            this.treeView1.TabIndex = 3;
            // 
            // FrameMessageDetails
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.treeView1);
            this.Controls.Add(this.Caption);
            this.Name = "FrameMessageDetails";
            this.Padding = new System.Windows.Forms.Padding(3, 3, 3, 0);
            this.Size = new System.Drawing.Size(702, 262);
            this.ResumeLayout(false);

        }
Beispiel #22
0
        /// <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("Node5");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Корневой узел 1", new System.Windows.Forms.TreeNode[] {
            treeNode1});
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Node4");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Node3", new System.Windows.Forms.TreeNode[] {
            treeNode3});
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Node2", new System.Windows.Forms.TreeNode[] {
            treeNode4});
            System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Корневой узел 2", new System.Windows.Forms.TreeNode[] {
            treeNode5});
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.SuspendLayout();
            // 
            // treeView1
            // 
            this.treeView1.Location = new System.Drawing.Point(1, 3);
            this.treeView1.Name = "treeView1";
            treeNode1.Name = "Node5";
            treeNode1.Text = "Node5";
            treeNode2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            treeNode2.ForeColor = System.Drawing.Color.White;
            treeNode2.Name = "Node0";
            treeNode2.Text = "Корневой узел 1";
            treeNode3.Name = "Node4";
            treeNode3.Text = "Node4";
            treeNode4.Name = "Node3";
            treeNode4.Text = "Node3";
            treeNode5.Name = "Node2";
            treeNode5.Text = "Node2";
            treeNode6.BackColor = System.Drawing.Color.Blue;
            treeNode6.ForeColor = System.Drawing.Color.Yellow;
            treeNode6.Name = "Node1";
            treeNode6.Text = "Корневой узел 2";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode2,
            treeNode6});
            this.treeView1.Size = new System.Drawing.Size(171, 144);
            this.treeView1.TabIndex = 0;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(184, 451);
            this.Controls.Add(this.treeView1);
            this.Name = "Form1";
            this.Text = "Дерево просмотра";
            this.ResumeLayout(false);

        }
Beispiel #23
0
        /// <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 treeNode7 = new System.Windows.Forms.TreeNode("OPD");
            System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("รายงานการใช้ฟิลม์ประจำวัน");
            System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("X-Ray", new System.Windows.Forms.TreeNode[] {
            treeNode8});
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.tv1 = new System.Windows.Forms.TreeView();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.tv1);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(319, 362);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            // 
            // tv1
            // 
            this.tv1.Location = new System.Drawing.Point(6, 11);
            this.tv1.Name = "tv1";
            treeNode7.Name = "nOPD";
            treeNode7.Text = "OPD";
            treeNode8.Name = "nXrayDailyUseFilm";
            treeNode8.Text = "รายงานการใช้ฟิลม์ประจำวัน";
            treeNode9.Name = "nXray";
            treeNode9.Text = "X-Ray";
            this.tv1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode7,
            treeNode9});
            this.tv1.Size = new System.Drawing.Size(307, 345);
            this.tv1.TabIndex = 4;
            this.tv1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tv1_NodeMouseDoubleClick);
            // 
            // FrmMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(346, 386);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "FrmMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Load += new System.EventHandler(this.FrmMain_Load);
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);

        }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Входящие");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Исходящие");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Внутренние документы", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2});
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Внешние документы");
            System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Просроченные документы");
            this.tv_DocumentsExplorer = new System.Windows.Forms.TreeView();
            this.SuspendLayout();
            // 
            // tv_DocumentsExplorer
            // 
            this.tv_DocumentsExplorer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tv_DocumentsExplorer.Location = new System.Drawing.Point(0, 24);
            this.tv_DocumentsExplorer.Name = "tv_DocumentsExplorer";
            treeNode1.Name = "nd_InputIntDocs";
            treeNode1.Text = "Входящие";
            treeNode2.Name = "nd_OutputIntDocs";
            treeNode2.Text = "Исходящие";
            treeNode3.Name = "nd_InternalDocs";
            treeNode3.Text = "Внутренние документы";
            treeNode4.Name = "nd_ExternalDocs";
            treeNode4.Text = "Внешние документы";
            treeNode5.Name = "nd_ProsrochDocs";
            treeNode5.Text = "Просроченные документы";
            this.tv_DocumentsExplorer.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode3,
            treeNode4,
            treeNode5});
            this.tv_DocumentsExplorer.Size = new System.Drawing.Size(262, 297);
            this.tv_DocumentsExplorer.TabIndex = 0;
            // 
            // frm_DocumentsExplorer
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.ClientSize = new System.Drawing.Size(262, 322);
            this.Controls.Add(this.tv_DocumentsExplorer);
            this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((((WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight)
                        | WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop)
                        | WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom)));
            this.HideOnClose = true;
            this.Name = "frm_DocumentsExplorer";
            this.Padding = new System.Windows.Forms.Padding(0, 24, 0, 1);
            this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockRight;
            this.TabText = "Проводник документов";
            this.Text = "Проводник документов";
            this.ResumeLayout(false);

        }
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Child 1");
			System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Project 1", new System.Windows.Forms.TreeNode[] {
            treeNode1});
			this.splitContainer1 = new System.Windows.Forms.SplitContainer();
			this.treeView1 = new System.Windows.Forms.TreeView();
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			this.SuspendLayout();
			// 
			// splitContainer1
			// 
			this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.splitContainer1.Location = new System.Drawing.Point(0, 0);
			this.splitContainer1.Name = "splitContainer1";
			// 
			// splitContainer1.Panel1
			// 
			this.splitContainer1.Panel1.Controls.Add(this.treeView1);
			this.splitContainer1.Size = new System.Drawing.Size(550, 309);
			this.splitContainer1.SplitterDistance = 123;
			this.splitContainer1.TabIndex = 0;
			// 
			// treeView1
			// 
			this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.treeView1.Indent = 16;
			this.treeView1.Location = new System.Drawing.Point(0, 0);
			this.treeView1.Name = "treeView1";
			treeNode1.Name = "Node1";
			treeNode1.Text = "Child 1";
			treeNode2.Name = "Node0";
			treeNode2.Text = "Project 1";
			this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode2});
			this.treeView1.Size = new System.Drawing.Size(123, 309);
			this.treeView1.TabIndex = 0;
			// 
			// TempForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(550, 309);
			this.Controls.Add(this.splitContainer1);
			this.Name = "TempForm";
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Beispiel #26
0
        private void DeselectNode(System.Windows.Forms.TreeNode node)
        {
            if (!(node is TreeNode nod))
            {
                return;
            }

            nod.IsSelected = false;
            nod.BackColor  = Color.Empty;
            nod.ForeColor  = Color.Empty;

            selectedNodes.Remove(nod);
            Invalidate(nod.Bounds);
        }
        private void tvPatientList_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            if (e.Button == System.Windows.Forms.MouseButtons.Right)
            {
                if (this.bIsShowContextMenu == false && this.ContextMenu != null)
                {
                    this.ContextMenu = null;
                    return;
                }

                System.Windows.Forms.TreeNode node = this.GetNodeAt(e.X, e.Y);
                this.SelectedNode = node;
            }
        }
Beispiel #28
0
 /// <summary>
 /// 转换到WinFrom框架的TreeNode类型
 /// </summary>
 /// <param name="tree"></param>
 /// <returns></returns>
 public static System.Windows.Forms.TreeNode ToTreeNode(TxTree tree)
 {
     if (tree == null)
     {
         throw new ArgumentNullException(nameof(tree));
     }
     System.Windows.Forms.TreeNode node = new System.Windows.Forms.TreeNode();
     node.Text = tree.Value?.ToString();
     foreach (TxTree child in tree.Childs)
     {
         node.Nodes.Add(ToTreeNode(child));
     }
     return(node);
 }
        private void InitializeTreeView()
        {
            System.Windows.Forms.TreeNode treeNode19 = new System.Windows.Forms.TreeNode("Tables");
            System.Windows.Forms.TreeNode treeNode20 = new System.Windows.Forms.TreeNode("Extended Data Types");
            System.Windows.Forms.TreeNode treeNode21 = new System.Windows.Forms.TreeNode("Base Enums");
            System.Windows.Forms.TreeNode treeNode22 = new System.Windows.Forms.TreeNode("Data Dictionary", new System.Windows.Forms.TreeNode[] {
            treeNode19,
            treeNode20,
            treeNode21});
            System.Windows.Forms.TreeNode treeNode23 = new System.Windows.Forms.TreeNode("Classes");
            System.Windows.Forms.TreeNode treeNode24 = new System.Windows.Forms.TreeNode("Queries");
            System.Windows.Forms.TreeNode treeNode25 = new System.Windows.Forms.TreeNode("Services");
            System.Windows.Forms.TreeNode treeNode26 = new System.Windows.Forms.TreeNode("Forms");
            System.Windows.Forms.TreeNode treeNode27 = new System.Windows.Forms.TreeNode("AOT", new System.Windows.Forms.TreeNode[] {
            treeNode22,
            treeNode23,
            treeNode24,
            treeNode25,
            treeNode26});
            this.AOTTreeView = new System.Windows.Forms.TreeView();

            // 
            // AOTTreeView
            // 
            this.AOTTreeView.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.AOTTreeView.Location = new System.Drawing.Point(0, 32);
            this.AOTTreeView.Name = "AOTTreeView";
            treeNode19.Name = "Tables";
            treeNode19.Text = "Tables";
            treeNode20.Name = "EDT";
            treeNode20.Text = "Extended Data Types";
            treeNode21.Name = "BaseEnums";
            treeNode21.Text = "Base Enums";
            treeNode22.Name = "DataDictionary";
            treeNode22.Text = "Data Dictionary";
            treeNode23.Name = "Classes";
            treeNode23.Text = "Classes";
            treeNode24.Name = "Queries";
            treeNode24.Text = "Queries";
            treeNode25.Name = "Services";
            treeNode25.Text = "Services";
            treeNode26.Name = "Forms";
            treeNode26.Text = "Forms";
            treeNode27.Name = "AOT";
            treeNode27.Text = "AOT";
            this.AOTTreeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {treeNode27});
            this.AOTTreeView.Size = new System.Drawing.Size(295, 426);
            this.AOTTreeView.TabIndex = 0;
            this.Controls.Add(this.AOTTreeView);
        }
Beispiel #30
0
        public void UpdateTreeBranch(System.Windows.Forms.TreeNode tn)
        {
            Project prj = appOb.Solution.Projects.Item("Data_Components");

            System.Windows.Forms.TreeNode node;
            foreach (CodeElement ce in prj.CodeModel.CodeElements)
            {
                if (ce.Kind == EnvDTE.vsCMElement.vsCMElementClass)
                {
                    CodeClass cc = (CodeClass)ce;
                    node = new System.Windows.Forms.TreeNode(ce.Name, 6, 6);
                }
            }
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            host.Child = new System.Windows.Forms.TreeView();

            System.Windows.Forms.TreeNode root = new System.Windows.Forms.TreeNode("Project");

            foreach (KeyValuePair<string, ProjectItem> item in Editor.Project.Files)
            {
                root.Nodes.Add(item.Key);
            }
            (host.Child as System.Windows.Forms.TreeView).Nodes.Add(root);

            (host.Child as System.Windows.Forms.TreeView).AfterSelect += SelectChanged;
        }
 public FormTreeNodeContainer(System.Windows.Forms.TreeNode treeNode
     , string nodeID
     , string parentNodeID
     , string nodeText
     , bool isRootNode
     , bool isOrphanedNode)
 {
     _treeNode = treeNode;
     _nodeID = nodeID;
     _parentNodeID = parentNodeID;
     _nodeText = nodeText;
     _isRootNode = isRootNode;
     _isOrphanedNode = isOrphanedNode;
 }
        /// <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("Thêm");
            System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Sửa");
            System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Xóa");
            System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Phòng", new System.Windows.Forms.TreeNode[] {
            treeNode1,
            treeNode2,
            treeNode3});
            this.webBrowser1 = new System.Windows.Forms.WebBrowser();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.SuspendLayout();
            // 
            // webBrowser1
            // 
            this.webBrowser1.Location = new System.Drawing.Point(166, 12);
            this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
            this.webBrowser1.Name = "webBrowser1";
            this.webBrowser1.Size = new System.Drawing.Size(404, 300);
            this.webBrowser1.TabIndex = 3;
            // 
            // treeView1
            // 
            this.treeView1.Location = new System.Drawing.Point(12, 12);
            this.treeView1.Name = "treeView1";
            treeNode1.Name = "ThemNhanVien";
            treeNode1.Text = "Thêm";
            treeNode2.Name = "SuaNhanVien";
            treeNode2.Text = "Sửa";
            treeNode3.Name = "XoaNhanVien";
            treeNode3.Text = "Xóa";
            treeNode4.Name = "Node0";
            treeNode4.Text = "Phòng";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
            treeNode4});
            this.treeView1.Size = new System.Drawing.Size(130, 300);
            this.treeView1.TabIndex = 2;
            // 
            // frmHelp
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(648, 322);
            this.Controls.Add(this.webBrowser1);
            this.Controls.Add(this.treeView1);
            this.Name = "frmHelp";
            this.Text = "frmHelp";
            this.ResumeLayout(false);

        }
        /// <summary>
        /// Add a node to the tree view implementation.
        /// </summary>
        /// <param name="nodeID"></param>
        /// <param name="parentNodeID"></param>
        /// <param name="nodeText"></param>
        /// <returns></returns>
        public bool AddNode(string nodeID, string parentNodeID, string nodeText, bool isRootNode, bool isOrphanedNode)
        {
            try
            {
                //create tree node
                System.Windows.Forms.TreeNode treeNode = new System.Windows.Forms.TreeNode(nodeText);
                treeNode.Tag = nodeID;
                treeNode.ToolTipText = "Node ID: " + nodeID;

                //add local copy
                _formTreeNodes.Add(nodeID, new FormTreeNodeContainer(treeNode, nodeID, parentNodeID, nodeText, isRootNode, isOrphanedNode));

                //update winform tree view
                if (isRootNode || isOrphanedNode)
                {
                    //parent not in tree
                    //place at root
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.BeginUpdate(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.Nodes.Add(treeNode); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.Sort(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.ExpandAll(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.EndUpdate(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { System.Windows.Forms.Application.DoEvents(); }));

                }
                else
                {
                    //place in tree
                    //get parent
                    FormTreeNodeContainer parentTreeNodeCtr = _formTreeNodes[parentNodeID];

                    //place at parent
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.BeginUpdate(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { parentTreeNodeCtr.TreeNode.Nodes.Add(treeNode); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.Sort(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.ExpandAll(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { _treeView.EndUpdate(); }));
                    _treeView.Invoke(new System.Windows.Forms.MethodInvoker(delegate { System.Windows.Forms.Application.DoEvents(); }));

                }

                return true;

            }
            catch (Exception ex)
            {
                logger.Error("TreeModelViewImpl failed to add node [" + nodeID + "]: " + ex.Message);
                throw ex;
            }
        }
Beispiel #35
0
 /// <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("_G");
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.LuaStateViewer  = new System.Windows.Forms.TreeView();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.LuaStateViewer);
     this.splitContainer1.Size             = new System.Drawing.Size(770, 497);
     this.splitContainer1.SplitterDistance = 256;
     this.splitContainer1.TabIndex         = 0;
     //
     // LuaStateViewer
     //
     this.LuaStateViewer.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.LuaStateViewer.Location = new System.Drawing.Point(0, 0);
     this.LuaStateViewer.Name     = "LuaStateViewer";
     treeNode1.Name = "_G";
     treeNode1.Text = "_G";
     this.LuaStateViewer.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     this.LuaStateViewer.Size     = new System.Drawing.Size(256, 497);
     this.LuaStateViewer.TabIndex = 0;
     //
     // LuaViewer
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(770, 497);
     this.Controls.Add(this.splitContainer1);
     this.Name  = "LuaViewer";
     this.Text  = "LuaViewer";
     this.Load += new System.EventHandler(this.LuaViewer_Load);
     this.splitContainer1.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        // <summary>
        // Called when node is clicked by the mouse.  Does nothing unless the image was clicked
        // Invokes OnAfterCheck to do the real work
        // </summary>
        protected override void OnNodeMouseClick(System.Windows.Forms.TreeNodeMouseClickEventArgs e)
        {
            base.OnNodeMouseClick(e);

            // is the click on the checkbox?  If not, discard it
            System.Windows.Forms.TreeViewHitTestInfo info = HitTest(e.X, e.Y);
            if (info == null || info.Location != System.Windows.Forms.TreeViewHitTestLocations.StateImage)
            {
                return;
            }

            // toggle the node's checked status.  This will then fire OnAfterCheck
            System.Windows.Forms.TreeNode tn = e.Node;
            tn.Checked = !tn.Checked;
        }
Beispiel #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CamList));
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("cam001");
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.imageListDrag = new System.Windows.Forms.ImageList(this.components);
     this.treeView1     = new System.Windows.Forms.TreeView();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "8.png");
     //
     // imageListDrag
     //
     this.imageListDrag.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageListDrag.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListDrag.TransparentColor = System.Drawing.Color.Transparent;
     //
     // treeView1
     //
     this.treeView1.AllowDrop  = true;
     this.treeView1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.ImageIndex = 0;
     this.treeView1.ImageList  = this.imageList1;
     this.treeView1.Location   = new System.Drawing.Point(0, 0);
     this.treeView1.Name       = "treeView1";
     treeNode1.Name            = "camname";
     treeNode1.Text            = "cam001";
     this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size     = new System.Drawing.Size(237, 373);
     this.treeView1.TabIndex = 1;
     //
     // CamList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.treeView1);
     this.Name = "CamList";
     this.Size = new System.Drawing.Size(237, 373);
     this.ResumeLayout(false);
 }
Beispiel #38
0
        private void loadFates()
        {
            this.telegramFateTreeView.Nodes.Clear();

            List <string> c = new List <string>();

            if (telegramChkFates != null && telegramChkFates != "")
            {
                string[] sp = telegramChkFates.Split(new char[] { '|' });
                for (int i = 0; i < sp.Length; i++)
                {
                    c.Add(sp[i]);
                }
            }

            lockTreeEvent = true;
            foreach (JProperty item in data["areas"])
            {
                string key = item.Name;
                System.Windows.Forms.TreeNode areaNode = this.telegramFateTreeView.Nodes.Add(data["areas"][key][selLng].ToString());
                areaNode.Tag = "AREA:" + key;
                if (c.Contains((string)areaNode.Tag))
                {
                    areaNode.Checked = true;
                }
                foreach (JProperty fate in data["fates"])
                {
                    if (data["fates"][fate.Name]["area_code"].ToString().Equals(key) == false)
                    {
                        continue;
                    }
                    string text = data["fates"][fate.Name]["name"][selLng].ToString();
                    if (text == null || text == "")
                    {
                        text = data["fates"][fate.Name]["name"]["en"].ToString();
                    }
                    System.Windows.Forms.TreeNode fateNode = areaNode.Nodes.Add(text);
                    fateNode.Tag = fate.Name;
                    if (c.Contains((string)fateNode.Tag))
                    {
                        fateNode.Checked = true;
                    }
                }
            }
            telegramSelectedFates.Clear();
            updateSelectedFates(telegramFateTreeView.Nodes);
            lockTreeEvent = false;
        }
Beispiel #39
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("type:");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("weight:");
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("minCount:");
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("maxCount:");
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("spawners", new System.Windows.Forms.TreeNode[] {
         treeNode1,
         treeNode2,
         treeNode3,
         treeNode4
     });
     this.spawners_view = new System.Windows.Forms.TreeView();
     this.SuspendLayout();
     //
     // spawners_view
     //
     this.spawners_view.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
     this.spawners_view.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.spawners_view.ForeColor = System.Drawing.Color.White;
     this.spawners_view.Location  = new System.Drawing.Point(0, 0);
     this.spawners_view.Name      = "spawners_view";
     treeNode1.Name = "value:tag";
     treeNode1.Text = "type:";
     treeNode2.Name = "value:int";
     treeNode2.Text = "weight:";
     treeNode3.Name = "value:int";
     treeNode3.Text = "minCount:";
     treeNode4.Name = "value:int";
     treeNode4.Text = "maxCount:";
     treeNode5.Name = "root_node";
     treeNode5.Text = "spawners";
     this.spawners_view.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode5
     });
     this.spawners_view.Size     = new System.Drawing.Size(308, 288);
     this.spawners_view.TabIndex = 0;
     //
     // spawners
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.spawners_view);
     this.Name = "spawners";
     this.Size = new System.Drawing.Size(308, 288);
     this.ResumeLayout(false);
 }
Beispiel #40
0
        /// <summary>
        /// Remove layer at given index.
        /// </summary>
        private void _removeLayer(System.Windows.Forms.TreeNode node, CadKit.Interfaces.ILayerList layerList)
        {
            CadKit.Interfaces.ILayer layer = this._getLayer(node);

            if (null != layer)
            {
                // Remove objects from maps.
                _nodes.Remove(node);
                _layers.Remove(layer.Guid);

                // Remove object from tree.
                _treeView.Nodes.Remove(node);

                // Remove object from document's list.
                layerList.removeLayer(layer, this);
            }
        }
Beispiel #41
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Name:");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Properties");
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("state", new System.Windows.Forms.TreeNode[] {
         treeNode1,
         treeNode2
     });
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("SimpleState", new System.Windows.Forms.TreeNode[] {
         treeNode3
     });
     this.SimpleStateView = new System.Windows.Forms.TreeView();
     this.SuspendLayout();
     //
     // SimpleStateView
     //
     this.SimpleStateView.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
     this.SimpleStateView.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.SimpleStateView.ForeColor = System.Drawing.Color.White;
     this.SimpleStateView.Location  = new System.Drawing.Point(0, 0);
     this.SimpleStateView.Name      = "SimpleStateView";
     treeNode1.Name = "value:tag";
     treeNode1.Text = "Name:";
     treeNode2.Name = "parent_node";
     treeNode2.Text = "Properties";
     treeNode3.Name = "parent_node";
     treeNode3.Text = "state";
     treeNode4.Name = "root_node";
     treeNode4.Text = "SimpleState";
     this.SimpleStateView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode4
     });
     this.SimpleStateView.Size     = new System.Drawing.Size(190, 114);
     this.SimpleStateView.TabIndex = 0;
     //
     // SimpleState
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
     this.Controls.Add(this.SimpleStateView);
     this.ForeColor = System.Drawing.Color.White;
     this.Name      = "SimpleState";
     this.Size      = new System.Drawing.Size(190, 114);
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Sat>Ip Server");
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // treeView1
            //
            this.treeView1.Location = new System.Drawing.Point(6, 19);
            this.treeView1.Name     = "treeView1";
            treeNode1.Name          = "Node0";
            treeNode1.Text          = "Sat>Ip Server";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
                treeNode1
            });
            this.treeView1.Size         = new System.Drawing.Size(807, 147);
            this.treeView1.TabIndex     = 0;
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            //
            // groupBox1
            //
            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
            this.groupBox1.Controls.Add(this.treeView1);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(819, 172);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop  = false;
            this.groupBox1.Text     = "Device Info";
            //
            // DevicesForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.White;
            this.ClientSize          = new System.Drawing.Size(836, 194);
            this.Controls.Add(this.groupBox1);
            this.Name = "DevicesForm";
            this.Text = "Form1";

            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DevicesForm_FormClosing);
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Beispiel #43
0
        public override void OnBeginGroup(String name)
        {
            if (name.Length == 0)
            {
                name = "<UNKNOWN>";
            }

            if (nodeStack.Count == 0)
            {
                System.Windows.Forms.TreeNode node = treeView.Nodes.Add(name);
                nodeStack.Push(node);
            }
            else
            {
                nodeStack.Push(nodeStack.Peek().Nodes.Add(name));
            }
        }
Beispiel #44
0
 private void UpdateChildState(System.Windows.Forms.TreeNode tn, int value)
 {
     if (tn.Nodes.Count == 0)
     {
         tn.StateImageIndex = value;
         CheckedCounter cnt = tn.Tag as CheckedCounter;
         cnt.Checked = value == (int)CheckedState.Checked ? 1 : 0;
         UpdateParentState(tn.Parent);
     }
     else
     {
         foreach (System.Windows.Forms.TreeNode tnChild in tn.Nodes)
         {
             UpdateChildState(tnChild, value);
         }
     }
 }
Beispiel #45
0
 public void RemoveImage(System.Windows.Forms.TreeNode treeNode_0)
 {
     try
     {
         string arg_07_0 = treeNode_0.Text;
         this.tv1.Nodes.Remove(this.tv1.SelectedNode);
         short num = 1;
         while ((int)num <= this.m_pTG.TexturePaths.Count)
         {
             num += 1;
         }
         this.bool_1 = true;
     }
     catch
     {
     }
 }
Beispiel #46
0
 /// <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 treeNode3 = new System.Windows.Forms.TreeNode("Giới thiệu chung");
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Giới thiệu chi tiết");
     this.trViewGioiThieu = new System.Windows.Forms.TreeView();
     this.webBrowser1     = new System.Windows.Forms.WebBrowser();
     this.SuspendLayout();
     //
     // trViewGioiThieu
     //
     this.trViewGioiThieu.Location = new System.Drawing.Point(12, 12);
     this.trViewGioiThieu.Name     = "trViewGioiThieu";
     treeNode3.Name = "gtChung";
     treeNode3.Text = "Giới thiệu chung";
     treeNode4.Name = "gtChiTiet";
     treeNode4.Text = "Giới thiệu chi tiết";
     this.trViewGioiThieu.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode3,
         treeNode4
     });
     this.trViewGioiThieu.Size         = new System.Drawing.Size(142, 482);
     this.trViewGioiThieu.TabIndex     = 0;
     this.trViewGioiThieu.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.trViewGioiThieu_AfterSelect);
     this.trViewGioiThieu.Click       += new System.EventHandler(this.trViewGioiThieu_Click);
     //
     // webBrowser1
     //
     this.webBrowser1.Location    = new System.Drawing.Point(160, 12);
     this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
     this.webBrowser1.Name        = "webBrowser1";
     this.webBrowser1.Size        = new System.Drawing.Size(748, 482);
     this.webBrowser1.TabIndex    = 1;
     //
     // frmChiDan
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(920, 506);
     this.Controls.Add(this.webBrowser1);
     this.Controls.Add(this.trViewGioiThieu);
     this.Name  = "frmChiDan";
     this.Text  = "ChiDan";
     this.Load += new System.EventHandler(this.ChiDan_Load);
     this.ResumeLayout(false);
 }
Beispiel #47
0
        /// <summary>
        /// 入库申请单据列表
        /// </summary>
        /// <param name="privDept">权限科室</param>
        public void ShowApplyList(Neusoft.FrameWork.Models.NeuObject privDept, DateTime dateBegin, DateTime dateEnd)
        {
            this.Nodes.Clear();

            Neusoft.HISFC.BizLogic.Material.Store storeManager = new Neusoft.HISFC.BizLogic.Material.Store();

            ArrayList alList = storeManager.QueryApplySimpleForPlan(privDept.ID, dateBegin, dateEnd);

            if (alList == null)
            {
                System.Windows.Forms.MessageBox.Show("获取申请单列表发生错误" + storeManager.Err);
                return;
            }

            if (alList.Count == 0)
            {
                this.Nodes.Add(new System.Windows.Forms.TreeNode("没有入库申请单", 0, 0));
            }
            else
            {
                System.Windows.Forms.TreeNode parentNode = new System.Windows.Forms.TreeNode("申请单列表", 0, 0);
                this.Nodes.Add(parentNode);

                System.Windows.Forms.TreeNode node;
                string temp = "";
                foreach (Neusoft.FrameWork.Models.NeuObject info in alList)
                {
                    node = new System.Windows.Forms.TreeNode();

                    node.Text = info.ID + "  【" + info.Name + " 申请单】";

                    node.ImageIndex = 0;
                    node.Tag        = info;

                    if (temp != info.ID)
                    {
                        parentNode.Nodes.Add(node);
                    }

                    temp = info.ID;
                }
                this.Nodes[0].ExpandAll();
                this.SelectedNode = this.Nodes[0];
            }
        }
        /// <summary>
        /// 根据传入的信息,增加一个新节点
        /// </summary>
        /// <param name="branch">要增加节点的父级节点</param>
        /// <param name="neuObj">节点的Text信息</param>
        /// <param name="obj">节点的Tag属性</param>
        public void AddTreeNode(int branch, neusoft.neuFC.Object.neuObject nodeTextInfo, object nodeTag)
        {
            System.Windows.Forms.TreeNode node = new System.Windows.Forms.TreeNode();
            //生产要添加的节点
            this.CreateNodeInfo(nodeTextInfo, nodeTag, ref node);

            //指定当前选中的节点
            try {
                this.SelectedNode = this.Nodes[branch];
            }
            catch {
                this.Nodes.Add(new System.Windows.Forms.TreeNode("患者"));
                this.SelectedNode = this.Nodes[0];
            }

            //在选中的节点上增加新节点
            this.SelectedNode.Nodes.Add(node);
        }
Beispiel #49
0
 private System.Windows.Forms.TreeNode LoadTreeNode(
     System.Exception ex,
     System.Windows.Forms.TreeNodeCollection t)
 {
     System.Windows.Forms.TreeNode tnode = new System.Windows.Forms.TreeNode();
     System.Windows.Forms.TreeNode nodeDeep;
     tnode.Text = ex.GetType().Name;
     tnode.Tag  = ex;
     t.Add(tnode);
     if (ex.InnerException == null)
     {
         return(tnode);
     }
     else
     {
         return(LoadTreeNode(ex.InnerException, tnode.Nodes));
     }
 }
Beispiel #50
0
        /// <summary>
        /// 采购计划单据列表
        /// </summary>
        /// <param name="privDept">权限科室</param>
        /// <param name="stockState">采购状态</param>
        public void ShowStockPlanList(Neusoft.FrameWork.Models.NeuObject privDept, string stockState)
        {
            //清空列表
            this.Nodes.Clear();

            Neusoft.HISFC.BizLogic.Material.Plan planManger = new Neusoft.HISFC.BizLogic.Material.Plan();

            //显示采购单列表  0 状态为入库计划单
            ArrayList alList = planManger.QueryStockPLanCompanayList(privDept.ID, stockState);

            if (alList == null)
            {
                System.Windows.Forms.MessageBox.Show("获取采购计划单列表发生错误" + planManger.Err);
                return;
            }

            if (alList.Count == 0)
            {
                this.Nodes.Add(new System.Windows.Forms.TreeNode("没有采购计划单", 0, 0));
            }
            else
            {
                this.Nodes.Add(new System.Windows.Forms.TreeNode("采购计划单列表", 0, 0));
                foreach (Neusoft.FrameWork.Models.NeuObject info in alList)
                {
                    System.Windows.Forms.TreeNode node = new System.Windows.Forms.TreeNode();

                    node.Text = "【" + info.ID + "】" + info.User01;//【入库计划单号】+供货公司名称
                    node.SelectedImageIndex = node.ImageIndex;

                    //初始入库计划制定时指定供货公司编码为'0000000000'
                    if (info.Name == null || info.Name.Trim() == "")
                    {
                        info.Name = "0000000000";
                    }

                    node.Tag = info;   //入库计划单号+供货公司ID

                    this.Nodes[0].Nodes.Add(node);
                }
                this.Nodes[0].ExpandAll();
                this.SelectedNode = this.Nodes[0];
            }
        }
Beispiel #51
0
        public string createTreeViewNodes(Regions regionsObject,
                                          System.Windows.Forms.TreeView tv,
                                          System.Windows.Forms.TreeNodeMouseClickEventHandler tNmouseClickEH)
        {
            try
            {
                //Cursor.Current = System.Windows.Forms.Cursors.WaitCursor;
                //this.CostumeTV_lable.Text = regionsObject.filePath;
                tv.BeginUpdate();

                // Clear the TreeView each time the method is called.
                tv.Nodes.Clear();

                tv.NodeMouseDoubleClick += tNmouseClickEH;

                // Add a root TreeNode for each Customer object in the ArrayList.
                foreach (Region r in regionsObject.regionSections)
                {
                    tv.Nodes.Add(new System.Windows.Forms.TreeNode(r.displayName));
                    foreach (auras.auraCostume ctm in r.includeCostumes)
                    {
                        System.Windows.Forms.TreeNode chTNode = new System.Windows.Forms.TreeNode(ctm.fileName);
                        chTNode.ToolTipText = ctm.includeStatement;
                        chTNode.Tag         = ctm.fullPath;
                        if (!ctm.exists)
                        {
                            chTNode.ForeColor = System.Drawing.Color.Red;
                        }
                        tv.Nodes[tv.Nodes.Count - 1].Nodes.Add(chTNode);
                    }
                }
                //Cursor.Current = Cursors.Default;

                // Begin repainting the TreeView.
                tv.EndUpdate();

                return("built treeview\r\n");
            }
            catch (Exception e)
            {
                return(e.Message + "\r\n");
            }
        }
Beispiel #52
0
 public void DoNodeClick(System.Windows.Forms.TreeNode treeNode_0)
 {
     try
     {
         if (treeNode_0.Tag is IPictureFillSymbol)
         {
             this.Image1.Visible = true;
             this.Image1.Image   = System.Drawing.Image.FromHbitmap(new IntPtr((treeNode_0.Tag as IPictureFillSymbol).Picture.Handle));
         }
         else if (treeNode_0.Tag == null)
         {
             this.Image1.Image   = null;
             this.Image1.Visible = false;
         }
         else
         {
             this.frRoofColor.Visible = false;
             string arg_86_0 = treeNode_0.Text;
         }
         this.m_pTexture = this.Image1.Image;
         if (this.cmdTextureBrowse.Visible || this.cmdRemove.Visible)
         {
             if (treeNode_0.Index == 0)
             {
                 this.cmdTextureBrowse.Enabled = true;
                 this.cmdRemove.Enabled        = false;
             }
             else if (treeNode_0.Nodes.Count > 1)
             {
                 this.cmdTextureBrowse.Enabled = true;
                 this.cmdRemove.Enabled        = true;
             }
             else if (treeNode_0.Nodes.Count < 1)
             {
                 this.cmdTextureBrowse.Enabled = true;
                 this.cmdRemove.Enabled        = false;
             }
         }
     }
     catch
     {
     }
 }
Beispiel #53
0
        /// <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 node = new System.Windows.Forms.TreeNode("节点0");
            this.tvwOrg = new System.Windows.Forms.TreeView();
            base.SuspendLayout();
            this.tvwOrg.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tvwOrg.Location = new System.Drawing.Point(0, 0);
            this.tvwOrg.Name     = "tvwOrg";
            node.Name            = "节点0";
            node.Text            = "节点0";
            this.tvwOrg.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { node });
            this.tvwOrg.Size     = new System.Drawing.Size(0x123, 0x12f);
            this.tvwOrg.TabIndex = 0;
            base.AutoScaleMode   = System.Windows.Forms.AutoScaleMode.Inherit;
            base.Controls.Add(this.tvwOrg);
            base.Name = "UCOrgs";
            base.Size = new System.Drawing.Size(0x123, 0x12f);
            base.ResumeLayout(false);
        }
 /// <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 treeNode3 = new System.Windows.Forms.TreeNode("Signature Tree");
     this.treeView1  = new System.Windows.Forms.TreeView();
     this.btnAceptar = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Location = new System.Drawing.Point(12, 12);
     this.treeView1.Name     = "treeView1";
     treeNode3.Name          = "rootNode";
     treeNode3.Text          = "Signature Tree";
     this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode3
     });
     this.treeView1.Size     = new System.Drawing.Size(485, 333);
     this.treeView1.TabIndex = 0;
     //
     // btnAceptar
     //
     this.btnAceptar.DialogResult            = System.Windows.Forms.DialogResult.OK;
     this.btnAceptar.Location                = new System.Drawing.Point(376, 354);
     this.btnAceptar.Name                    = "btnAceptar";
     this.btnAceptar.Size                    = new System.Drawing.Size(121, 23);
     this.btnAceptar.TabIndex                = 1;
     this.btnAceptar.Text                    = "Accept";
     this.btnAceptar.UseVisualStyleBackColor = true;
     this.btnAceptar.Click                  += new System.EventHandler(this.btnAceptar_Click);
     //
     // FrmSeleccionarFirma
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(509, 389);
     this.Controls.Add(this.btnAceptar);
     this.Controls.Add(this.treeView1);
     this.Name          = "FrmSeleccionarFirma";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Seleccionar firma";
     this.ResumeLayout(false);
 }
        /// <summary>
        /// 列表显示
        /// </summary>
        /// <returns></returns>
        public int RefreshTree()
        {
            Neusoft.HISFC.BizProcess.Integrate.Order   orderManager   = new Neusoft.HISFC.BizProcess.Integrate.Order();
            Neusoft.HISFC.BizProcess.Integrate.Manager deptManager    = new Neusoft.HISFC.BizProcess.Integrate.Manager();
            Neusoft.HISFC.BizProcess.Integrate.RADT    patientManager = new Neusoft.HISFC.BizProcess.Integrate.RADT();
            if (string.IsNullOrEmpty(operDept))
            {
                operDept = oper.Dept.ID;
            }
            ArrayList alDept = orderManager.QueryPatientDeptByConfirmDeptID(operDept);

            this.Nodes.Clear();

            System.Windows.Forms.TreeNode deptNode = new System.Windows.Forms.TreeNode();

            foreach (Neusoft.FrameWork.Models.NeuObject dept in alDept)
            {
                deptNode = new System.Windows.Forms.TreeNode();

                deptNode.Text               = this.deptHelper.GetName(dept.ID);
                deptNode.ImageIndex         = 0;
                deptNode.SelectedImageIndex = 1;
                deptNode.Tag = deptManager.GetDepartment(dept.ID);

                this.Nodes.Add(deptNode);

                ArrayList alPatient = orderManager.QueryPatientByConfirmDeptAndPatDept(operDept, dept.ID);
                foreach (Neusoft.FrameWork.Models.NeuObject patient in alPatient)
                {
                    System.Windows.Forms.TreeNode         patientNode = new System.Windows.Forms.TreeNode();
                    Neusoft.HISFC.Models.RADT.PatientInfo patientInfo = patientManager.QueryPatientInfoByInpatientNO(patient.ID);
                    patientNode.Text               = patientInfo.Name;
                    patientNode.ImageIndex         = 6;
                    patientNode.SelectedImageIndex = 7;
                    patientNode.Tag = patientInfo;

                    deptNode.Nodes.Add(patientNode);
                }
            }

            return(1);
        }
Beispiel #56
0
        private static Dictionary <int, System.Windows.Forms.TreeNode> TryGetInformation(Process[] PL)
        {
            Dictionary <int, System.Windows.Forms.TreeNode> ReturnValue = new Dictionary <int, System.Windows.Forms.TreeNode>();

            if (PL.Length == 0)
            {
                return(null);
            }
            int a = 0;

            foreach (Process i in PL)
            {
                using (ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_Process WHERE ProcessId = " + i.Id))
                {
                    using (ManagementObjectCollection objects = searcher.Get())
                    {
                        foreach (ManagementObject obj in objects)
                        {
                            PropertyDataCollection        Property = obj.Properties;
                            System.Windows.Forms.TreeNode N        = new System.Windows.Forms.TreeNode();
                            N.Name = " (" + i.Id + ")";
                            N.Text = i.ProcessName + " (" + i.Id + ")";
                            foreach (PropertyData item in Property)
                            {
                                System.Windows.Forms.TreeNode N2 = new System.Windows.Forms.TreeNode();
                                N2.Name = "DeepName";
                                N2.Text = item.Name;
                                N2.Nodes.Add("Value : " + item.Value);
                                N2.Nodes.Add("Value Type : " + item.Type);
                                N.Nodes.Add(N2);
                                System.Threading.Thread.Sleep(30);
                            }
                            ReturnValue.Add(a, N);
                            System.Threading.Thread.Sleep(30);
                        }
                    }
                }
                a++;
            }
            return(ReturnValue);
        }
Beispiel #57
0
 /// <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.SuspendLayout();
     //
     // treeView1
     //
     this.treeView1.Location = new System.Drawing.Point(0, 0);
     this.treeView1.Name     = "treeView1";
     treeNode1.Name          = "节点0";
     treeNode1.NodeFont      = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     treeNode1.Text          = "图书分类";
     this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     this.treeView1.ShowRootLines         = false;
     this.treeView1.Size                  = new System.Drawing.Size(187, 198);
     this.treeView1.TabIndex              = 11;
     this.treeView1.AfterSelect          += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     this.treeView1.NodeMouseClick       += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
     this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
     //
     // SelectBookCate
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(187, 198);
     this.Controls.Add(this.treeView1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Location        = new System.Drawing.Point(385, 0);
     this.MaximizeBox     = false;
     this.Name            = "SelectBookCate";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "SelectBookCate";
     this.Deactivate     += new System.EventHandler(this.SelectBookCate_Deactivate);
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.SelectBookCate_FormClosing);
     this.Load           += new System.EventHandler(this.SelectBookCate_Load);
     this.ResumeLayout(false);
 }
Beispiel #58
0
 private void tv1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     try
     {
         System.Windows.Forms.TreeNode selectedNode = this.tv1.SelectedNode;
         if (e.Button == System.Windows.Forms.MouseButtons.Right)
         {
             if (selectedNode.Nodes.Count < 1)
             {
                 bool enabled = selectedNode.Parent.Index != 1;
                 this.mnuAddImage.Enabled    = enabled;
                 this.mnuRemoveImage.Enabled = enabled;
                 this.mnuRemoveGroup.Enabled = enabled;
                 this.mnuRename.Enabled      = enabled;
                 selectedNode.Parent.Tag.ToString();
                 string text = selectedNode.Text;
                 if (text.ToUpper() != "ROOFCOLOR")
                 {
                     this.contextMenuStrip1.Show();
                 }
                 else
                 {
                     this.GetRoofColor();
                 }
             }
             else
             {
                 bool enabled = selectedNode.Index != 1;
                 this.mnuAddImage.Enabled    = enabled;
                 this.mnuRemoveImage.Enabled = enabled;
                 this.mnuRemoveGroup.Enabled = enabled;
                 this.mnuRename.Enabled      = enabled;
                 selectedNode.Tag.ToString();
             }
         }
     }
     catch
     {
     }
 }
 private void miPatientPro_Click(object sender, System.EventArgs e)
 {
     Neusoft.HISFC.Models.RADT.PatientInfo findPatient = null;
     System.Windows.Forms.TreeNode         node        = this.SelectedNode;
     #region {93F17D80-F559-45f6-B380-23A8CC8A936D}
     if (node == null)
     {
         return;
     }
     #endregion
     findPatient = node.Tag as Neusoft.HISFC.Models.RADT.PatientInfo;
     if (findPatient == null)
     {
         return;
     }
     else
     {
         ucPatientProperty ucPatientpro = new ucPatientProperty();
         ucPatientpro.Patient = findPatient;
         Neusoft.FrameWork.WinForms.Classes.Function.PopShowControl(ucPatientpro);
     }
 }
Beispiel #60
0
 private void cmdRemove_Click(object sender, EventArgs e)
 {
     System.Windows.Forms.TreeNode selectedNode = this.tv1.SelectedNode;
     if (selectedNode == null)
     {
         this.cmdRemove.Enabled = false;
     }
     else
     {
         if (selectedNode.Tag is clsTextureGroup)
         {
             this.list_0.Remove(selectedNode.Tag as clsTextureGroup);
             this.tv1.Nodes.Remove(selectedNode);
             this.bool_1 = true;
         }
         else
         {
             this.cmdRemove.Enabled = false;
         }
         this.DoNodeClick(this.tv1.Nodes[0]);
     }
 }