/// <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.ToolStripSystemRenderer toolStripSystemRenderer1 = new System.Windows.Forms.ToolStripSystemRenderer(); this.label1 = new System.Windows.Forms.Label(); this.txt = new System.Windows.Forms.TextBox(); this.pg = new SMAH1.Forms.PropertyGridEx.PropertyGridMinEx(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(250, 63); this.label1.TabIndex = 0; this.label1.Text = "Add button in PropertyGrid\r\nUse custom component for edit values"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txt // this.txt.Location = new System.Drawing.Point(15, 369); this.txt.Multiline = true; this.txt.Name = "txt"; this.txt.ReadOnly = true; this.txt.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.txt.Size = new System.Drawing.Size(247, 137); this.txt.TabIndex = 1; this.txt.WordWrap = false; // // pg // // // // this.pg.DocCommentDescription.AutoEllipsis = true; this.pg.DocCommentDescription.Cursor = System.Windows.Forms.Cursors.Default; this.pg.DocCommentDescription.Location = new System.Drawing.Point(3, 18); this.pg.DocCommentDescription.Name = ""; this.pg.DocCommentDescription.Size = new System.Drawing.Size(244, 37); this.pg.DocCommentDescription.TabIndex = 1; this.pg.DocCommentImage = null; // // // this.pg.DocCommentTitle.Cursor = System.Windows.Forms.Cursors.Default; this.pg.DocCommentTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.pg.DocCommentTitle.Location = new System.Drawing.Point(3, 3); this.pg.DocCommentTitle.Name = ""; this.pg.DocCommentTitle.Size = new System.Drawing.Size(244, 15); this.pg.DocCommentTitle.TabIndex = 0; this.pg.DocCommentTitle.UseMnemonic = false; this.pg.Location = new System.Drawing.Point(12, 75); this.pg.Name = "pg"; this.pg.PropertySort = System.Windows.Forms.PropertySort.Categorized; this.pg.Size = new System.Drawing.Size(250, 288); this.pg.TabIndex = 2; // // // this.pg.ToolStrip.AccessibleName = "ToolBar"; this.pg.ToolStrip.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.pg.ToolStrip.AllowMerge = false; this.pg.ToolStrip.AutoSize = false; this.pg.ToolStrip.CanOverflow = false; this.pg.ToolStrip.Dock = System.Windows.Forms.DockStyle.None; this.pg.ToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.pg.ToolStrip.Location = new System.Drawing.Point(0, 1); this.pg.ToolStrip.Name = ""; this.pg.ToolStrip.Padding = new System.Windows.Forms.Padding(2, 0, 1, 0); this.pg.ToolStrip.Size = new System.Drawing.Size(250, 25); this.pg.ToolStrip.TabIndex = 1; this.pg.ToolStrip.TabStop = true; this.pg.ToolStrip.Text = "PropertyGridToolBar"; this.pg.ToolStripRendererEx = toolStripSystemRenderer1; // // PropertyGridForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(274, 518); this.Controls.Add(this.pg); this.Controls.Add(this.txt); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PropertyGridForm"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Property Grid"; this.Load += new System.EventHandler(this.PropertyGridComponentForm_Load); 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() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); System.Windows.Forms.ToolStripSystemRenderer toolStripSystemRenderer1 = new System.Windows.Forms.ToolStripSystemRenderer(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.tsmiSystem = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiExit = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiTool = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiNote = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiCount = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiHelp = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiDoc = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiSupport = new System.Windows.Forms.ToolStripMenuItem(); this.tsmiVesion = new System.Windows.Forms.ToolStripMenuItem(); this.notifyWCS = new System.Windows.Forms.NotifyIcon(this.components); this.NicontextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.TabControl1 = new MdiTabControl.TabControl(); this.menuStrip1.SuspendLayout(); this.NicontextMenu.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiSystem, this.tsmiTool, this.tsmiHelp }); this.menuStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1084, 25); this.menuStrip1.TabIndex = 35; // // tsmiSystem // this.tsmiSystem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tsmiSystem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiExit }); this.tsmiSystem.Name = "tsmiSystem"; this.tsmiSystem.Size = new System.Drawing.Size(59, 21); this.tsmiSystem.Text = "系统(&S)"; // // tsmiExit // this.tsmiExit.Name = "tsmiExit"; this.tsmiExit.Size = new System.Drawing.Size(139, 22); this.tsmiExit.Text = "退出系统(&E)"; this.tsmiExit.Click += new System.EventHandler(this.tsmiExit_Click); // // tsmiTool // this.tsmiTool.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiNote, this.tsmiCount }); this.tsmiTool.Name = "tsmiTool"; this.tsmiTool.Size = new System.Drawing.Size(59, 21); this.tsmiTool.Text = "工具(&T)"; // // tsmiNote // this.tsmiNote.Image = ((System.Drawing.Image)(resources.GetObject("tsmiNote.Image"))); this.tsmiNote.Name = "tsmiNote"; this.tsmiNote.Size = new System.Drawing.Size(130, 22); this.tsmiNote.Text = "计算器(&C)"; this.tsmiNote.Click += new System.EventHandler(this.tsmiNote_Click); // // tsmiCount // this.tsmiCount.Image = ((System.Drawing.Image)(resources.GetObject("tsmiCount.Image"))); this.tsmiCount.Name = "tsmiCount"; this.tsmiCount.Size = new System.Drawing.Size(130, 22); this.tsmiCount.Text = "记事本(&N)"; this.tsmiCount.Click += new System.EventHandler(this.tsmiCount_Click); // // tsmiHelp // this.tsmiHelp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.tsmiHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiDoc, this.tsmiSupport, this.tsmiVesion }); this.tsmiHelp.Name = "tsmiHelp"; this.tsmiHelp.Size = new System.Drawing.Size(61, 21); this.tsmiHelp.Text = "帮助(&H)"; // // tsmiDoc // this.tsmiDoc.Image = ((System.Drawing.Image)(resources.GetObject("tsmiDoc.Image"))); this.tsmiDoc.Name = "tsmiDoc"; this.tsmiDoc.Size = new System.Drawing.Size(141, 22); this.tsmiDoc.Text = "帮助文档(&H)"; // // tsmiSupport // this.tsmiSupport.Name = "tsmiSupport"; this.tsmiSupport.Size = new System.Drawing.Size(141, 22); this.tsmiSupport.Text = "技术支持(&C)"; // // tsmiVesion // this.tsmiVesion.Name = "tsmiVesion"; this.tsmiVesion.Size = new System.Drawing.Size(141, 22); this.tsmiVesion.Text = "版本信息(&V)"; this.tsmiVesion.Click += new System.EventHandler(this.tsmiVesion_Click); // // notifyWCS // this.notifyWCS.ContextMenuStrip = this.NicontextMenu; this.notifyWCS.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyWCS.Icon"))); this.notifyWCS.Text = "WCS"; this.notifyWCS.Visible = true; this.notifyWCS.DoubleClick += new System.EventHandler(this.notifyWCS_DoubleClick); // // NicontextMenu // this.NicontextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.showToolStripMenuItem, this.hideToolStripMenuItem, this.closeToolStripMenuItem }); this.NicontextMenu.Name = "NicontextMenu"; this.NicontextMenu.Size = new System.Drawing.Size(95, 70); // // showToolStripMenuItem // this.showToolStripMenuItem.Name = "showToolStripMenuItem"; this.showToolStripMenuItem.Size = new System.Drawing.Size(94, 22); this.showToolStripMenuItem.Text = "显示"; this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click); // // hideToolStripMenuItem // this.hideToolStripMenuItem.Name = "hideToolStripMenuItem"; this.hideToolStripMenuItem.Size = new System.Drawing.Size(94, 22); this.hideToolStripMenuItem.Text = "隐藏"; this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Size = new System.Drawing.Size(94, 22); this.closeToolStripMenuItem.Text = "退出"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "14.gif"); this.imageList1.Images.SetKeyName(1, "5.gif"); this.imageList1.Images.SetKeyName(2, "fleet.gif"); this.imageList1.Images.SetKeyName(3, "driver.gif"); this.imageList1.Images.SetKeyName(4, "privilege.gif"); this.imageList1.Images.SetKeyName(5, "person.gif"); this.imageList1.Images.SetKeyName(6, "password.gif"); this.imageList1.Images.SetKeyName(7, "role.gif"); this.imageList1.Images.SetKeyName(8, "x30.gif"); this.imageList1.Images.SetKeyName(9, "x12.gif"); this.imageList1.Images.SetKeyName(10, "x3.gif"); this.imageList1.Images.SetKeyName(11, "user.gif"); this.imageList1.Images.SetKeyName(12, "vehicle.gif"); this.imageList1.Images.SetKeyName(13, "x25.gif"); this.imageList1.Images.SetKeyName(14, "x32.gif"); this.imageList1.Images.SetKeyName(15, "oil.gif"); this.imageList1.Images.SetKeyName(16, "routine.gif"); this.imageList1.Images.SetKeyName(17, "unit.gif"); this.imageList1.Images.SetKeyName(18, "unitGroup.gif"); this.imageList1.Images.SetKeyName(19, "x4.gif"); this.imageList1.Images.SetKeyName(20, "x5.gif"); this.imageList1.Images.SetKeyName(21, "x7.gif"); this.imageList1.Images.SetKeyName(22, "x16.gif"); this.imageList1.Images.SetKeyName(23, "x19.gif"); this.imageList1.Images.SetKeyName(24, "x21.gif"); this.imageList1.Images.SetKeyName(25, "x22.gif"); this.imageList1.Images.SetKeyName(26, "x29.gif"); this.imageList1.Images.SetKeyName(27, "scNew.bmp"); // // TabControl1 // this.TabControl1.Alignment = MdiTabControl.TabControl.TabAlignment.Top; this.TabControl1.AutoScroll = true; this.TabControl1.BackColor = System.Drawing.SystemColors.Control; this.TabControl1.CausesValidation = false; this.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.TabControl1.Location = new System.Drawing.Point(0, 25); this.TabControl1.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3); this.TabControl1.MenuRenderer = toolStripSystemRenderer1; this.TabControl1.Name = "TabControl1"; this.TabControl1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.TabControl1.Size = new System.Drawing.Size(1084, 504); this.TabControl1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.TabControl1.TabBackHighColor = System.Drawing.SystemColors.GradientActiveCaption; this.TabControl1.TabBackLowColorDisabled = System.Drawing.SystemColors.GradientInactiveCaption; this.TabControl1.TabBorderEnhanced = true; this.TabControl1.TabBorderEnhanceWeight = MdiTabControl.TabControl.Weight.Soft; this.TabControl1.TabCloseButtonImage = null; this.TabControl1.TabCloseButtonImageDisabled = null; this.TabControl1.TabCloseButtonImageHot = null; this.TabControl1.TabCloseButtonSize = new System.Drawing.Size(14, 14); this.TabControl1.TabHeight = 20; this.TabControl1.TabIconSize = new System.Drawing.Size(0, 0); this.TabControl1.TabIndex = 37; this.TabControl1.TabOffset = -8; this.TabControl1.TabPadLeft = 20; this.TabControl1.TabPadRight = 7; this.TabControl1.TabsDirection = MdiTabControl.TabControl.FlowDirection.LeftToRight; this.TabControl1.TabTop = 1; this.TabControl1.GetTabRegion += new MdiTabControl.TabControl.GetTabRegionEventHandler(this.TabControl1_GetTabRegion); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1084, 529); this.Controls.Add(this.TabControl1); this.Controls.Add(this.menuStrip1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MainForm"; this.Text = "华美冷库WCS系统"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.MainForm_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.NicontextMenu.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.ToolStripSystemRenderer toolStripSystemRenderer1 = new System.Windows.Forms.ToolStripSystemRenderer(); this.btnCancel = new Sheng.SailingEase.Controls.SEButton(); this.btnOK = new Sheng.SailingEase.Controls.SEButton(); this.dataGridViewForms = new Sheng.SailingEase.Controls.SEDataGridView(); this.folderAddressBar = new Sheng.SailingEase.Controls.SEAdressBar.SEAddressBar(); this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewForms)).BeginInit(); this.SuspendLayout(); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(432, 349); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "${FormFormChoose_ButtonCancel}"; this.btnCancel.UseVisualStyleBackColor = true; // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.Location = new System.Drawing.Point(351, 349); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 15; this.btnOK.Text = "${FormFormChoose_ButtonOK}"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // dataGridViewForms // this.dataGridViewForms.AllowUserToAddRows = false; this.dataGridViewForms.AllowUserToDeleteRows = false; this.dataGridViewForms.AllowUserToResizeRows = false; this.dataGridViewForms.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.dataGridViewForms.BackgroundColor = System.Drawing.Color.White; this.dataGridViewForms.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.dataGridViewForms.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.dataGridViewForms.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewForms.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridViewForms.ColumnHeadersHeight = 21; this.dataGridViewForms.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridViewForms.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ColumnName, this.ColumnCode }); dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.Color.White; dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.LightBlue; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridViewForms.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridViewForms.Location = new System.Drawing.Point(12, 50); this.dataGridViewForms.MultiSelect = false; this.dataGridViewForms.Name = "dataGridViewForms"; this.dataGridViewForms.ReadOnly = true; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridViewForms.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridViewForms.RowHeadersVisible = false; this.dataGridViewForms.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders; this.dataGridViewForms.RowTemplate.Height = 21; this.dataGridViewForms.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridViewForms.Size = new System.Drawing.Size(495, 293); this.dataGridViewForms.StandardTab = true; this.dataGridViewForms.TabIndex = 18; this.dataGridViewForms.WaterText = ""; this.dataGridViewForms.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridViewForms_CellMouseDoubleClick); // // folderAddressBar // this.folderAddressBar.CurrentNode = null; this.folderAddressBar.Dock = System.Windows.Forms.DockStyle.Top; this.folderAddressBar.DropDownRenderer = null; this.folderAddressBar.Location = new System.Drawing.Point(0, 0); this.folderAddressBar.Name = "folderAddressBar"; this.folderAddressBar.Renderer = toolStripSystemRenderer1; this.folderAddressBar.Size = new System.Drawing.Size(519, 25); this.folderAddressBar.TabIndex = 20; this.folderAddressBar.SelectionChange += new Sheng.SailingEase.Controls.SEAdressBar.SEAddressBarStrip.SelectionChanged(this.folderAddressBar_SelectionChange); // // ColumnName // this.ColumnName.DataPropertyName = "Name"; this.ColumnName.HeaderText = "${FormFormChoose_ColumnName}"; this.ColumnName.Name = "ColumnName"; this.ColumnName.ReadOnly = true; this.ColumnName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.ColumnName.Width = 180; // // ColumnCode // this.ColumnCode.DataPropertyName = "Code"; this.ColumnCode.HeaderText = "${FormFormChoose_ColumnCode}"; this.ColumnCode.Name = "ColumnCode"; this.ColumnCode.ReadOnly = true; this.ColumnCode.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.ColumnCode.Width = 180; // // FormFormChoose // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(519, 384); this.Controls.Add(this.folderAddressBar); this.Controls.Add(this.dataGridViewForms); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormFormChoose"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "${FormFormChoose}"; this.Load += new System.EventHandler(this.FormFormChoose_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewForms)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ToolStripSystemRenderer toolStripSystemRenderer2 = new System.Windows.Forms.ToolStripSystemRenderer(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.tsmi_System = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Restart = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Exit = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Tools = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Calc = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Notepad = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Help = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Helpword = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Support = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Version = new System.Windows.Forms.ToolStripMenuItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.notifyWCS = new System.Windows.Forms.NotifyIcon(this.components); this.NicontextMeun = new System.Windows.Forms.ContextMenuStrip(this.components); this.tsmi_Show = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Hide = new System.Windows.Forms.ToolStripMenuItem(); this.tsmi_Quit = new System.Windows.Forms.ToolStripMenuItem(); this.TabControl1 = new MdiTabControl.TabControl(); this.menuStrip1.SuspendLayout(); this.NicontextMeun.SuspendLayout(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmi_System, this.tsmi_Tools, this.tsmi_Help }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(791, 25); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // tsmi_System // this.tsmi_System.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmi_Restart, this.tsmi_Exit }); this.tsmi_System.Name = "tsmi_System"; this.tsmi_System.Size = new System.Drawing.Size(59, 21); this.tsmi_System.Text = "系统(&S)"; // // tsmi_Restart // this.tsmi_Restart.Name = "tsmi_Restart"; this.tsmi_Restart.Size = new System.Drawing.Size(180, 22); this.tsmi_Restart.Text = "重启(&R)"; this.tsmi_Restart.Click += new System.EventHandler(this.Tsmi_Restart_Click); // // tsmi_Exit // this.tsmi_Exit.Name = "tsmi_Exit"; this.tsmi_Exit.Size = new System.Drawing.Size(180, 22); this.tsmi_Exit.Text = "退出系统(&E)"; this.tsmi_Exit.Click += new System.EventHandler(this.Tsmi_Exit_Click); // // tsmi_Tools // this.tsmi_Tools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmi_Calc, this.tsmi_Notepad }); this.tsmi_Tools.Name = "tsmi_Tools"; this.tsmi_Tools.Size = new System.Drawing.Size(59, 21); this.tsmi_Tools.Text = "工具(&T)"; // // tsmi_Calc // this.tsmi_Calc.Name = "tsmi_Calc"; this.tsmi_Calc.Size = new System.Drawing.Size(180, 22); this.tsmi_Calc.Text = "计算器(&C)"; this.tsmi_Calc.Click += new System.EventHandler(this.Tsmi_Calc_Click); // // tsmi_Notepad // this.tsmi_Notepad.Name = "tsmi_Notepad"; this.tsmi_Notepad.Size = new System.Drawing.Size(180, 22); this.tsmi_Notepad.Text = "记事本(&N)"; this.tsmi_Notepad.Click += new System.EventHandler(this.Tsmi_Notepad_Click); // // tsmi_Help // this.tsmi_Help.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmi_Helpword, this.tsmi_Support, this.tsmi_Version }); this.tsmi_Help.Name = "tsmi_Help"; this.tsmi_Help.Size = new System.Drawing.Size(61, 21); this.tsmi_Help.Text = "帮助(&H)"; // // tsmi_Helpword // this.tsmi_Helpword.Name = "tsmi_Helpword"; this.tsmi_Helpword.Size = new System.Drawing.Size(180, 22); this.tsmi_Helpword.Text = "帮助文档(&H)"; this.tsmi_Helpword.Click += new System.EventHandler(this.Tsmi_Helpword_Click); // // tsmi_Support // this.tsmi_Support.Name = "tsmi_Support"; this.tsmi_Support.Size = new System.Drawing.Size(180, 22); this.tsmi_Support.Text = "技术支持(&C)"; this.tsmi_Support.Click += new System.EventHandler(this.Tsmi_Support_Click); // // tsmi_Version // this.tsmi_Version.Name = "tsmi_Version"; this.tsmi_Version.Size = new System.Drawing.Size(180, 22); this.tsmi_Version.Text = "版本信息(&V)"; this.tsmi_Version.Click += new System.EventHandler(this.Tsmi_Version_Click); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // notifyWCS // this.notifyWCS.Text = "WCS"; this.notifyWCS.Visible = true; this.notifyWCS.DoubleClick += new System.EventHandler(this.NotifyWCS_DoubleClick); // // NicontextMeun // this.NicontextMeun.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmi_Show, this.tsmi_Hide, this.tsmi_Quit }); this.NicontextMeun.Name = "NicontextMeun"; this.NicontextMeun.Size = new System.Drawing.Size(101, 70); // // tsmi_Show // this.tsmi_Show.Name = "tsmi_Show"; this.tsmi_Show.Size = new System.Drawing.Size(100, 22); this.tsmi_Show.Text = "显示"; this.tsmi_Show.Click += new System.EventHandler(this.Tsmi_Show_Click); // // tsmi_Hide // this.tsmi_Hide.Name = "tsmi_Hide"; this.tsmi_Hide.Size = new System.Drawing.Size(100, 22); this.tsmi_Hide.Text = "隐藏"; this.tsmi_Hide.Click += new System.EventHandler(this.Tsmi_Hide_Click); // // tsmi_Quit // this.tsmi_Quit.Name = "tsmi_Quit"; this.tsmi_Quit.Size = new System.Drawing.Size(100, 22); this.tsmi_Quit.Text = "退出"; this.tsmi_Quit.Click += new System.EventHandler(this.Tsmi_Quit_Click); // // TabControl1 // this.TabControl1.AutoScroll = true; this.TabControl1.BackColor = System.Drawing.SystemColors.Control; this.TabControl1.CausesValidation = false; this.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.TabControl1.Location = new System.Drawing.Point(0, 0); this.TabControl1.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3); this.TabControl1.MenuRenderer = toolStripSystemRenderer2; this.TabControl1.Name = "TabControl1"; this.TabControl1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.TabControl1.Size = new System.Drawing.Size(791, 305); this.TabControl1.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.TabControl1.TabBackHighColor = System.Drawing.SystemColors.GradientActiveCaption; this.TabControl1.TabBackLowColorDisabled = System.Drawing.SystemColors.GradientInactiveCaption; this.TabControl1.TabBorderEnhanced = true; this.TabControl1.TabBorderEnhanceWeight = MdiTabControl.TabControl.Weight.Soft; this.TabControl1.TabCloseButtonImage = null; this.TabControl1.TabCloseButtonImageDisabled = null; this.TabControl1.TabCloseButtonImageHot = null; this.TabControl1.TabCloseButtonSize = new System.Drawing.Size(14, 14); this.TabControl1.TabHeight = 20; this.TabControl1.TabIconSize = new System.Drawing.Size(0, 0); this.TabControl1.TabIndex = 37; this.TabControl1.TabOffset = -8; this.TabControl1.TabPadLeft = 20; this.TabControl1.TabPadRight = 7; this.TabControl1.TabTop = 1; this.TabControl1.TopSeparator = false; this.TabControl1.GetTabRegion += new MdiTabControl.TabControl.GetTabRegionEventHandler(this.TabControl1_GetTabRegion); // // FrmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveBorder; this.ClientSize = new System.Drawing.Size(791, 305); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.TabControl1); this.MainMenuStrip = this.menuStrip1; this.Name = "FrmMain"; this.Text = "WCSControl"; this.Load += new System.EventHandler(this.FrmMain_Load); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.NicontextMeun.ResumeLayout(false); 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.ToolStripSystemRenderer toolStripSystemRenderer1 = new System.Windows.Forms.ToolStripSystemRenderer(); this.shengAddressBar1 = new Sheng.Winform.Controls.SEAdressBar.ShengAddressBar(); this.shengLine1 = new Sheng.Winform.Controls.ShengLine(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // shengAddressBar1 // this.shengAddressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.shengAddressBar1.CurrentNode = null; this.shengAddressBar1.DropDownRenderer = null; this.shengAddressBar1.Location = new System.Drawing.Point(26, 38); this.shengAddressBar1.Name = "shengAddressBar1"; this.shengAddressBar1.Renderer = toolStripSystemRenderer1; this.shengAddressBar1.Size = new System.Drawing.Size(711, 28); this.shengAddressBar1.TabIndex = 0; // // shengLine1 // this.shengLine1.Location = new System.Drawing.Point(26, 82); this.shengLine1.Name = "shengLine1"; this.shengLine1.Size = new System.Drawing.Size(75, 23); this.shengLine1.TabIndex = 1; this.shengLine1.Text = "shengLine1"; // // pictureBox1 // this.pictureBox1.Image = global::Sheng.Winform.Controls.Demo.Resource1._9; this.pictureBox1.Location = new System.Drawing.Point(26, 111); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(311, 192); this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(367, 111); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(353, 12); this.label1.TabIndex = 3; this.label1.Text = "ShengAdressBar 是一个模仿 Windows 资源管理器地址栏的控件。"; // // label2 // this.label2.Location = new System.Drawing.Point(367, 144); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(385, 51); this.label2.TabIndex = 4; this.label2.Text = "除了默认实现的 ShengFileSystemNode ,用来提供和资源管理器地址栏一样的功能之外,你也可以继承 IShengAddressNode 接口,实现自" + "己的基于任何数据的路径选择器。并不局限于磁盘路径的选择。"; // // FormShengAdressBar // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(764, 427); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.shengLine1); this.Controls.Add(this.shengAddressBar1); this.Name = "FormShengAdressBar"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FormShengAdressBar"; this.Load += new System.EventHandler(this.FormShengAdressBar_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }