Exemple #1
0
        private void InitializeComponent()
        {
            this.icontainer_0 = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(TreeViewAddNeed));

            this.treeView1               = new AisinoTVW();
            this.imageList_0             = new ImageList(this.icontainer_0);
            this.contextMenuStrip1       = new ContextMenuStrip(this.icontainer_0);
            this.ShowBMToolStripMenuItem = new ToolStripMenuItem();
            this.ShowMCToolStripMenuItem = new ToolStripMenuItem();
            this.backgroundWorker_0      = new BackgroundWorker();
            this.pictureBox1             = new AisinoPIC();
            this.contextMenuStrip1.SuspendLayout();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            base.SuspendLayout();
            this.treeView1.Dock                  = DockStyle.Fill;
            this.treeView1.ImageIndex            = 0;
            this.treeView1.ImageList             = this.imageList_0;
            this.treeView1.Location              = new Point(0, 0);
            this.treeView1.Name                  = "treeView1";
            this.treeView1.SelectedImageIndex    = 0;
            this.treeView1.ShowNodeToolTips      = true;
            this.treeView1.Size                  = new Size(0x75, 0xf1);
            this.treeView1.TabIndex              = 0;
            this.treeView1.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
            this.treeView1.BeforeExpand         += new TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
            this.treeView1.AfterSelect          += new TreeViewEventHandler(this.treeView1_AfterSelect);
            this.treeView1.MouseEnter           += new EventHandler(this.treeView1_MouseEnter);
            this.treeView1.Leave                += new EventHandler(this.treeView1_Leave);
            this.treeView1.NodeMouseClick       += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
            this.treeView1.MouseLeave           += new EventHandler(this.treeView1_MouseLeave);
            this.imageList_0.ImageStream         = (ImageListStreamer)manager.GetObject("imageList1.ImageStream");
            this.imageList_0.TransparentColor    = Color.Transparent;
            this.imageList_0.Images.SetKeyName(0, "small1.BMP");
            this.imageList_0.Images.SetKeyName(1, "small1-1.BMP");
            this.imageList_0.Images.SetKeyName(2, "folder-closed.gif");
            this.imageList_0.Images.SetKeyName(3, "folder.gif");
            this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.ShowBMToolStripMenuItem, this.ShowMCToolStripMenuItem });
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new Size(0x77, 0x30);
            this.ShowBMToolStripMenuItem.CheckOnClick    = true;
            this.ShowBMToolStripMenuItem.Name            = "ShowBMToolStripMenuItem";
            this.ShowBMToolStripMenuItem.Size            = new Size(0x76, 0x16);
            this.ShowBMToolStripMenuItem.Text            = "显示编码";
            this.ShowBMToolStripMenuItem.CheckedChanged += new EventHandler(this.ShowBMToolStripMenuItem_CheckedChanged);
            this.ShowMCToolStripMenuItem.Checked         = true;
            this.ShowMCToolStripMenuItem.CheckOnClick    = true;
            this.ShowMCToolStripMenuItem.CheckState      = CheckState.Checked;
            this.ShowMCToolStripMenuItem.Enabled         = false;
            this.ShowMCToolStripMenuItem.Name            = "ShowMCToolStripMenuItem";
            this.ShowMCToolStripMenuItem.Size            = new Size(0x76, 0x16);
            this.ShowMCToolStripMenuItem.Text            = "显示名称";
            this.ShowMCToolStripMenuItem.CheckedChanged += new EventHandler(this.ShowMCToolStripMenuItem_CheckedChanged);
            this.backgroundWorker_0.DoWork             += new DoWorkEventHandler(this.backgroundWorker_0_DoWork);
            this.backgroundWorker_0.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker_0_RunWorkerCompleted);
            this.pictureBox1.BackColor = Color.White;
            this.pictureBox1.Image     = (Image)manager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location  = new Point(0x30, 0x6f);
            this.pictureBox1.Name      = "pictureBox1";
            this.pictureBox1.Size      = new Size(20, 0x13);
            this.pictureBox1.TabIndex  = 6;
            this.pictureBox1.TabStop   = false;
            this.pictureBox1.Visible   = false;
            base.AutoScaleDimensions   = new SizeF(6f, 12f);
            base.AutoScaleMode         = AutoScaleMode.Font;
            base.Controls.Add(this.pictureBox1);
            base.Controls.Add(this.treeView1);
            base.Name = "TreeViewAddNeed";
            base.Size = new Size(0x75, 0xf1);
            this.contextMenuStrip1.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox1).EndInit();
            base.ResumeLayout(false);
        }
Exemple #2
0
        private void InitializeComponent()
        {
            this.icontainer_0 = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(TreeViewBM));

            this.imageList1                  = new ImageList(this.icontainer_0);
            this.tableLayoutPanel1           = new TableLayoutPanel();
            this.treeView1                   = new AisinoTVW();
            this.toolStrip1                  = new ToolStrip();
            this.toolStripDropDownButton1    = new ToolStripDropDownButton();
            this.AddFLToolStripMenuItem      = new ToolStripMenuItem();
            this.ModifyFLToolStripMenuItem   = new ToolStripMenuItem();
            this.toolStripSeparator3         = new ToolStripSeparator();
            this.UToolStripMenuItem          = new ToolStripMenuItem();
            this.VToolStripMenuItem          = new ToolStripMenuItem();
            this.WToolStripMenuItem          = new ToolStripMenuItem();
            this.toolStripSeparator1         = new ToolStripSeparator();
            this.CodeToolStripMenuItem       = new ToolStripMenuItem();
            this.NameToolStripMenuItem       = new ToolStripMenuItem();
            this.toolStripLabel1             = new ToolStripLabel();
            this.contextMenuStrip1           = new ContextMenuStrip(this.icontainer_0);
            this.AddFenLeiToolStripMenuItem  = new ToolStripMenuItem();
            this.ModToolStripMenuItem        = new ToolStripMenuItem();
            this.AddSubNodeToolStripMenuItem = new ToolStripMenuItem();
            this.toolStripSeparator2         = new ToolStripSeparator();
            this.BMZZWToolStripMenuItem      = new ToolStripMenuItem();
            this.BMZJWToolStripMenuItem      = new ToolStripMenuItem();
            this.BMZSCToolStripMenuItem      = new ToolStripMenuItem();
            this.backgroundWorker1           = new BackgroundWorker();
            this.pictureBox1                 = new AisinoPIC();
            this.labelUI = new AisinoLBL();
            this.tableLayoutPanel1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            ((ISupportInitialize)this.pictureBox1).BeginInit();
            base.SuspendLayout();
            this.imageList1.ImageStream      = (ImageListStreamer)manager.GetObject("imageList1.ImageStream");
            this.imageList1.TransparentColor = Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "small1.BMP");
            this.imageList1.Images.SetKeyName(1, "small1-1.BMP");
            this.imageList1.Images.SetKeyName(2, "folder-close.png");
            this.imageList1.Images.SetKeyName(3, "folder.png");
            this.imageList1.Images.SetKeyName(4, "file.gif");
            this.imageList1.Images.SetKeyName(5, "circleLoading.gif");
            this.imageList1.Images.SetKeyName(6, "folder1.gif");
            this.imageList1.Images.SetKeyName(7, "closed.gif");
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel1.Controls.Add(this.treeView1, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.toolStrip1, 0, 0);
            this.tableLayoutPanel1.Dock     = DockStyle.Fill;
            this.tableLayoutPanel1.Location = new Point(0, 0);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 36f));
            this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
            this.tableLayoutPanel1.Size       = new Size(0x7f, 0xf4);
            this.tableLayoutPanel1.TabIndex   = 1;
            this.treeView1.Dock               = DockStyle.Fill;
            this.treeView1.Font               = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.treeView1.ImageIndex         = 0;
            this.treeView1.ImageList          = this.imageList1;
            this.treeView1.Location           = new Point(3, 0x27);
            this.treeView1.Name               = "treeView1";
            this.treeView1.SelectedImageIndex = 1;
            this.treeView1.ShowNodeToolTips   = true;
            this.treeView1.Size               = new Size(0x79, 0xca);
            this.treeView1.TabIndex           = 0;
            this.treeView1.BeforeExpand      += new TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
            this.treeView1.AfterSelect       += new TreeViewEventHandler(this.treeView1_AfterSelect);
            this.treeView1.NodeMouseClick    += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
            this.toolStrip1.BackColor         = SystemColors.ActiveCaption;
            this.toolStrip1.Dock              = DockStyle.Fill;
            this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.toolStripDropDownButton1, this.toolStripLabel1 });
            this.toolStrip1.LayoutStyle                = ToolStripLayoutStyle.Flow;
            this.toolStrip1.Location                   = new Point(0, 0);
            this.toolStrip1.Name                       = "toolStrip1";
            this.toolStrip1.RenderMode                 = ToolStripRenderMode.System;
            this.toolStrip1.Size                       = new Size(0x7f, 0x24);
            this.toolStrip1.TabIndex                   = 1;
            this.toolStrip1.Text                       = "toolStrip1";
            this.toolStripDropDownButton1.AutoSize     = false;
            this.toolStripDropDownButton1.DisplayStyle = ToolStripItemDisplayStyle.Image;
            this.toolStripDropDownButton1.DropDownItems.AddRange(new ToolStripItem[] { this.AddFLToolStripMenuItem, this.ModifyFLToolStripMenuItem, this.toolStripSeparator3, this.UToolStripMenuItem, this.VToolStripMenuItem, this.WToolStripMenuItem, this.toolStripSeparator1, this.CodeToolStripMenuItem, this.NameToolStripMenuItem });
            this.toolStripDropDownButton1.ForeColor             = SystemColors.ButtonHighlight;
            this.toolStripDropDownButton1.Image                 = Class131.smethod_49();
            this.toolStripDropDownButton1.ImageTransparentColor = Color.Magenta;
            this.toolStripDropDownButton1.Name        = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.Size        = new Size(0x1d, 0x24);
            this.toolStripDropDownButton1.Text        = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.ToolTipText = "编码族管理";
            this.toolStripDropDownButton1.Click      += new EventHandler(this.toolStripDropDownButton1_Click);
            this.AddFLToolStripMenuItem.Image         = Class131.增加分类;
            this.AddFLToolStripMenuItem.Name          = "AddFLToolStripMenuItem";
            this.AddFLToolStripMenuItem.Size          = new Size(0x9c, 0x16);
            this.AddFLToolStripMenuItem.Text          = "增加分类";
            this.AddFLToolStripMenuItem.Click        += new EventHandler(this.AddFenLeiToolStripMenuItem_Click);
            this.ModifyFLToolStripMenuItem.Image      = Class131.修改分类;
            this.ModifyFLToolStripMenuItem.Name       = "ModifyFLToolStripMenuItem";
            this.ModifyFLToolStripMenuItem.Size       = new Size(0x9c, 0x16);
            this.ModifyFLToolStripMenuItem.Text       = "修改分类";
            this.ModifyFLToolStripMenuItem.Click     += new EventHandler(this.ModToolStripMenuItem_Click);
            this.toolStripSeparator3.Name             = "toolStripSeparator3";
            this.toolStripSeparator3.Size             = new Size(0x99, 6);
            this.UToolStripMenuItem.Image             = Class131.编码族增位;
            this.UToolStripMenuItem.Name               = "UToolStripMenuItem";
            this.UToolStripMenuItem.Size               = new Size(0x9c, 0x16);
            this.UToolStripMenuItem.Text               = "编码族增位(&U)";
            this.UToolStripMenuItem.Click             += new EventHandler(this.BMZZWToolStripMenuItem_Click);
            this.VToolStripMenuItem.Image              = Class131.编码族减位;
            this.VToolStripMenuItem.Name               = "VToolStripMenuItem";
            this.VToolStripMenuItem.Size               = new Size(0x9c, 0x16);
            this.VToolStripMenuItem.Text               = "编码族减位(&V)";
            this.VToolStripMenuItem.Click             += new EventHandler(this.BMZJWToolStripMenuItem_Click);
            this.WToolStripMenuItem.Image              = Class131.编码族删除;
            this.WToolStripMenuItem.Name               = "WToolStripMenuItem";
            this.WToolStripMenuItem.Size               = new Size(0x9c, 0x16);
            this.WToolStripMenuItem.Text               = "编码族删除(&W)";
            this.WToolStripMenuItem.Click             += new EventHandler(this.BMZSCToolStripMenuItem_Click);
            this.toolStripSeparator1.Name              = "toolStripSeparator1";
            this.toolStripSeparator1.Size              = new Size(0x99, 6);
            this.CodeToolStripMenuItem.Checked         = true;
            this.CodeToolStripMenuItem.CheckOnClick    = true;
            this.CodeToolStripMenuItem.CheckState      = CheckState.Checked;
            this.CodeToolStripMenuItem.Image           = Class131.显示编码;
            this.CodeToolStripMenuItem.Name            = "CodeToolStripMenuItem";
            this.CodeToolStripMenuItem.Size            = new Size(0x9c, 0x16);
            this.CodeToolStripMenuItem.Text            = "显示编码";
            this.CodeToolStripMenuItem.CheckedChanged += new EventHandler(this.CodeToolStripMenuItem_CheckedChanged);
            this.NameToolStripMenuItem.CheckOnClick    = true;
            this.NameToolStripMenuItem.Enabled         = false;
            this.NameToolStripMenuItem.Image           = Class131.显示名称;
            this.NameToolStripMenuItem.Name            = "NameToolStripMenuItem";
            this.NameToolStripMenuItem.Size            = new Size(0x9c, 0x16);
            this.NameToolStripMenuItem.Text            = "显示名称";
            this.NameToolStripMenuItem.CheckedChanged += new EventHandler(this.NameToolStripMenuItem_CheckedChanged);
            this.toolStripLabel1.AutoSize              = false;
            this.toolStripLabel1.Font              = new Font("微软雅黑", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.toolStripLabel1.ForeColor         = Color.White;
            this.toolStripLabel1.Name              = "toolStripLabel1";
            this.toolStripLabel1.Size              = new Size(0x4a, 0x24);
            this.toolStripLabel1.Text              = "  编码族管理";
            this.toolStripLabel1.TextImageRelation = TextImageRelation.Overlay;
            this.contextMenuStrip1.Font            = new Font("微软雅黑", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.AddFenLeiToolStripMenuItem, this.ModToolStripMenuItem, this.AddSubNodeToolStripMenuItem, this.toolStripSeparator2, this.BMZZWToolStripMenuItem, this.BMZJWToolStripMenuItem, this.BMZSCToolStripMenuItem });
            this.contextMenuStrip1.Name                = "contextMenuStrip1";
            this.contextMenuStrip1.Size                = new Size(0x89, 0x8e);
            this.AddFenLeiToolStripMenuItem.Image      = Class131.增加分类;
            this.AddFenLeiToolStripMenuItem.Name       = "AddFenLeiToolStripMenuItem";
            this.AddFenLeiToolStripMenuItem.Size       = new Size(0x88, 0x16);
            this.AddFenLeiToolStripMenuItem.Text       = "增加分类";
            this.AddFenLeiToolStripMenuItem.Click     += new EventHandler(this.AddFenLeiToolStripMenuItem_Click);
            this.ModToolStripMenuItem.Image            = Class131.修改分类;
            this.ModToolStripMenuItem.Name             = "ModToolStripMenuItem";
            this.ModToolStripMenuItem.Size             = new Size(0x88, 0x16);
            this.ModToolStripMenuItem.Text             = "修改分类";
            this.ModToolStripMenuItem.Click           += new EventHandler(this.ModToolStripMenuItem_Click);
            this.AddSubNodeToolStripMenuItem.Image     = Class131.smethod_48();
            this.AddSubNodeToolStripMenuItem.Name      = "AddSubNodeToolStripMenuItem";
            this.AddSubNodeToolStripMenuItem.Size      = new Size(0x88, 0x16);
            this.AddSubNodeToolStripMenuItem.Text      = "增加子节点";
            this.AddSubNodeToolStripMenuItem.Click    += new EventHandler(this.AddSubNodeToolStripMenuItem_Click);
            this.toolStripSeparator2.Name              = "toolStripSeparator2";
            this.toolStripSeparator2.Size              = new Size(0x85, 6);
            this.BMZZWToolStripMenuItem.Image          = Class131.编码族增位;
            this.BMZZWToolStripMenuItem.Name           = "BMZZWToolStripMenuItem";
            this.BMZZWToolStripMenuItem.Size           = new Size(0x88, 0x16);
            this.BMZZWToolStripMenuItem.Text           = "编码族增位";
            this.BMZZWToolStripMenuItem.Click         += new EventHandler(this.BMZZWToolStripMenuItem_Click);
            this.BMZJWToolStripMenuItem.Image          = Class131.编码族减位;
            this.BMZJWToolStripMenuItem.Name           = "BMZJWToolStripMenuItem";
            this.BMZJWToolStripMenuItem.Size           = new Size(0x88, 0x16);
            this.BMZJWToolStripMenuItem.Text           = "编码族减位";
            this.BMZJWToolStripMenuItem.Click         += new EventHandler(this.BMZJWToolStripMenuItem_Click);
            this.BMZSCToolStripMenuItem.Image          = Class131.编码族删除;
            this.BMZSCToolStripMenuItem.Name           = "BMZSCToolStripMenuItem";
            this.BMZSCToolStripMenuItem.Size           = new Size(0x88, 0x16);
            this.BMZSCToolStripMenuItem.Text           = "编码族删除";
            this.BMZSCToolStripMenuItem.Click         += new EventHandler(this.BMZSCToolStripMenuItem_Click);
            this.backgroundWorker1.DoWork             += new DoWorkEventHandler(this.backgroundWorker1_DoWork);
            this.backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
            this.pictureBox1.BackColor = Color.White;
            this.pictureBox1.Image     = (Image)manager.GetObject("pictureBox1.Image");
            this.pictureBox1.Location  = new Point(3, 0xde);
            this.pictureBox1.Name      = "pictureBox1";
            this.pictureBox1.Size      = new Size(20, 0x13);
            this.pictureBox1.TabIndex  = 5;
            this.pictureBox1.TabStop   = false;
            this.pictureBox1.Visible   = false;
            this.labelUI.AutoSize      = true;
            this.labelUI.Location      = new Point(0, 0);
            this.labelUI.Name          = "labelUI";
            this.labelUI.Size          = new Size(0x47, 12);
            this.labelUI.TabIndex      = 4;
            this.labelUI.Text          = "正在展开...";
            this.labelUI.Visible       = false;
            base.AutoScaleDimensions   = new SizeF(6f, 12f);
            base.AutoScaleMode         = AutoScaleMode.Font;
            base.Controls.Add(this.pictureBox1);
            base.Controls.Add(this.tableLayoutPanel1);
            base.Controls.Add(this.labelUI);
            base.Name = "TreeViewBM";
            base.Size = new Size(0x7f, 0xf4);
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            ((ISupportInitialize)this.pictureBox1).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }