/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { GISShare.Controls.WinForm.FontItem fontItemEx1 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx1 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx1 = new GISShare.Controls.WinForm.ImageItem(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DemoOfCheckedListBoxXForm)); GISShare.Controls.WinForm.FontItem fontItemEx2 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx2 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx2 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx3 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx3 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx3 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx4 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx4 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx4 = new GISShare.Controls.WinForm.ImageItem(); this.checkedListBoxX1 = new GISShare.Controls.WinForm.CheckedListBoxX(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.checkedListBoxX2 = new GISShare.Controls.WinForm.CheckedListBoxX(); this.label3 = new System.Windows.Forms.Label(); this.checkedListBoxX3 = new GISShare.Controls.WinForm.CheckedListBoxX(); this.label4 = new System.Windows.Forms.Label(); this.checkedListBoxX4 = new GISShare.Controls.WinForm.CheckedListBoxX(); this.SuspendLayout(); // // checkedListBoxX1 // this.checkedListBoxX1.AutoMouseMoveSeleced = true; this.checkedListBoxX1.FormattingEnabled = true; fontItemEx1.BackColor = System.Drawing.Color.Transparent; fontItemEx1.Font = new System.Drawing.Font("宋体", 9F); fontItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx1.Name = "FontItemEx"; fontItemEx1.Tag = null; fontItemEx1.Text = "FontItemEx"; colorItemEx1.BackColor = System.Drawing.Color.Silver; colorItemEx1.Color = System.Drawing.Color.Red; colorItemEx1.Font = new System.Drawing.Font("宋体", 9F); colorItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx1.Name = "ColorItemEx"; colorItemEx1.Tag = null; imageItemEx1.BackColor = System.Drawing.Color.Transparent; imageItemEx1.Font = new System.Drawing.Font("宋体", 9F); imageItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx1.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx1.Image"))); imageItemEx1.Name = "ImageItemEx"; imageItemEx1.Tag = null; imageItemEx1.Text = "ImageItemEx"; this.checkedListBoxX1.Items.AddRange(new object[] { fontItemEx1, colorItemEx1, imageItemEx1 }); this.checkedListBoxX1.Location = new System.Drawing.Point(12, 24); this.checkedListBoxX1.Name = "checkedListBoxX1"; this.checkedListBoxX1.Size = new System.Drawing.Size(240, 68); this.checkedListBoxX1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 12); this.label1.TabIndex = 2; this.label1.Text = "常规:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(258, 9); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(77, 12); this.label2.TabIndex = 4; this.label2.Text = "显示抓握区:"; // // checkedListBoxX2 // this.checkedListBoxX2.FormattingEnabled = true; fontItemEx2.BackColor = System.Drawing.Color.Transparent; fontItemEx2.Font = new System.Drawing.Font("宋体", 9F); fontItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx2.Name = "FontItemEx"; fontItemEx2.Tag = null; fontItemEx2.Text = "FontItemEx"; colorItemEx2.BackColor = System.Drawing.Color.Silver; colorItemEx2.Color = System.Drawing.Color.Red; colorItemEx2.Font = new System.Drawing.Font("宋体", 9F); colorItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx2.Name = "ColorItemEx"; colorItemEx2.ShowBackColor = true; colorItemEx2.Tag = null; imageItemEx2.BackColor = System.Drawing.Color.Transparent; imageItemEx2.Font = new System.Drawing.Font("宋体", 9F); imageItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx2.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx2.Image"))); imageItemEx2.Name = "ImageItemEx"; imageItemEx2.Tag = null; imageItemEx2.Text = "ImageItemEx"; this.checkedListBoxX2.Items.AddRange(new object[] { fontItemEx2, colorItemEx2, imageItemEx2 }); this.checkedListBoxX2.Location = new System.Drawing.Point(258, 24); this.checkedListBoxX2.Name = "checkedListBoxX2"; this.checkedListBoxX2.ShowGripRegion = true; this.checkedListBoxX2.Size = new System.Drawing.Size(240, 68); this.checkedListBoxX2.TabIndex = 3; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(258, 95); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(161, 12); this.label3.TabIndex = 8; this.label3.Text = "单选框外观(显示抓握区):"; // // checkedListBoxX3 // this.checkedListBoxX3.AutoMouseMoveSeleced = true; this.checkedListBoxX3.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eRadioButton; this.checkedListBoxX3.FormattingEnabled = true; fontItemEx3.BackColor = System.Drawing.Color.Transparent; fontItemEx3.Font = new System.Drawing.Font("宋体", 9F); fontItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx3.Name = "FontItemEx"; fontItemEx3.Tag = null; fontItemEx3.Text = "FontItemEx"; colorItemEx3.BackColor = System.Drawing.Color.Silver; colorItemEx3.Color = System.Drawing.Color.Red; colorItemEx3.Font = new System.Drawing.Font("宋体", 9F); colorItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx3.Name = "ColorItemEx"; colorItemEx3.ShowBackColor = true; colorItemEx3.Tag = null; imageItemEx3.BackColor = System.Drawing.Color.Transparent; imageItemEx3.Font = new System.Drawing.Font("宋体", 9F); imageItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx3.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx3.Image"))); imageItemEx3.Name = "ImageItemEx"; imageItemEx3.Tag = null; imageItemEx3.Text = "ImageItemEx"; this.checkedListBoxX3.Items.AddRange(new object[] { fontItemEx3, colorItemEx3, imageItemEx3 }); this.checkedListBoxX3.Location = new System.Drawing.Point(258, 110); this.checkedListBoxX3.Name = "checkedListBoxX3"; this.checkedListBoxX3.ShowGripRegion = true; this.checkedListBoxX3.Size = new System.Drawing.Size(240, 68); this.checkedListBoxX3.TabIndex = 7; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 95); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(125, 12); this.label4.TabIndex = 6; this.label4.Text = "单选框外观(常规):"; // // checkedListBoxX4 // this.checkedListBoxX4.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eRadioButton; this.checkedListBoxX4.FormattingEnabled = true; fontItemEx4.BackColor = System.Drawing.Color.Transparent; fontItemEx4.Font = new System.Drawing.Font("宋体", 9F); fontItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx4.Name = "FontItemEx"; fontItemEx4.Tag = null; fontItemEx4.Text = "FontItemEx"; colorItemEx4.BackColor = System.Drawing.Color.Silver; colorItemEx4.Color = System.Drawing.Color.Red; colorItemEx4.Font = new System.Drawing.Font("宋体", 9F); colorItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx4.Name = "ColorItemEx"; colorItemEx4.Tag = null; imageItemEx4.BackColor = System.Drawing.Color.Transparent; imageItemEx4.Font = new System.Drawing.Font("宋体", 9F); imageItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx4.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx4.Image"))); imageItemEx4.Name = "ImageItemEx"; imageItemEx4.Tag = null; imageItemEx4.Text = "ImageItemEx"; this.checkedListBoxX4.Items.AddRange(new object[] { fontItemEx4, colorItemEx4, imageItemEx4 }); this.checkedListBoxX4.Location = new System.Drawing.Point(12, 110); this.checkedListBoxX4.Name = "checkedListBoxX4"; this.checkedListBoxX4.Size = new System.Drawing.Size(240, 68); this.checkedListBoxX4.TabIndex = 5; // // DemoOfCheckedListBoxXForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(508, 186); this.Controls.Add(this.label3); this.Controls.Add(this.checkedListBoxX3); this.Controls.Add(this.label4); this.Controls.Add(this.checkedListBoxX4); this.Controls.Add(this.label2); this.Controls.Add(this.checkedListBoxX2); this.Controls.Add(this.label1); this.Controls.Add(this.checkedListBoxX1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DemoOfCheckedListBoxXForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "CheckedListBoxX控件"; this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { GISShare.Controls.WinForm.FontItem fontItemEx1 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx1 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx1 = new GISShare.Controls.WinForm.ImageItem(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DemoOfListBoxXForm)); GISShare.Controls.WinForm.FontItem fontItemEx2 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx2 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx2 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx3 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx3 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx3 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx4 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx4 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx4 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx5 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx5 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx5 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx6 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx6 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx6 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx7 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx7 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx7 = new GISShare.Controls.WinForm.ImageItem(); GISShare.Controls.WinForm.FontItem fontItemEx8 = new GISShare.Controls.WinForm.FontItem(); GISShare.Controls.WinForm.ColorItem colorItemEx8 = new GISShare.Controls.WinForm.ColorItem(); GISShare.Controls.WinForm.ImageItem imageItemEx8 = new GISShare.Controls.WinForm.ImageItem(); this.listBoxX1 = new GISShare.Controls.WinForm.ListBoxX(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.listBoxX2 = new GISShare.Controls.WinForm.ListBoxX(); this.label3 = new System.Windows.Forms.Label(); this.listBoxX3 = new GISShare.Controls.WinForm.ListBoxX(); this.label4 = new System.Windows.Forms.Label(); this.listBoxX4 = new GISShare.Controls.WinForm.ListBoxX(); this.label5 = new System.Windows.Forms.Label(); this.listBoxX5 = new GISShare.Controls.WinForm.ListBoxX(); this.label6 = new System.Windows.Forms.Label(); this.listBoxX6 = new GISShare.Controls.WinForm.ListBoxX(); this.label7 = new System.Windows.Forms.Label(); this.listBoxX7 = new GISShare.Controls.WinForm.ListBoxX(); this.label8 = new System.Windows.Forms.Label(); this.listBoxX8 = new GISShare.Controls.WinForm.ListBoxX(); this.SuspendLayout(); // // listBoxX1 // this.listBoxX1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX1.ItemHeight = 16; fontItemEx1.BackColor = System.Drawing.Color.Transparent; fontItemEx1.Font = new System.Drawing.Font("宋体", 9F); fontItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx1.Name = "FontItemEx"; fontItemEx1.Tag = null; fontItemEx1.Text = "字体项(FontItemEx)"; colorItemEx1.BackColor = System.Drawing.Color.Silver; colorItemEx1.Color = System.Drawing.Color.Red; colorItemEx1.Font = new System.Drawing.Font("宋体", 9F); colorItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx1.Name = "ColorItemEx"; colorItemEx1.ShowBackColor = true; colorItemEx1.Tag = null; colorItemEx1.Text = "颜色项(ColorItemEx)"; imageItemEx1.BackColor = System.Drawing.Color.Transparent; imageItemEx1.Font = new System.Drawing.Font("宋体", 9F); imageItemEx1.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx1.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx1.Image"))); imageItemEx1.Name = "ImageItemEx"; imageItemEx1.Tag = null; imageItemEx1.Text = "图片项(ImageItemEx)"; this.listBoxX1.Items.AddRange(new object[] { fontItemEx1, colorItemEx1, imageItemEx1 }); this.listBoxX1.Location = new System.Drawing.Point(12, 21); this.listBoxX1.Name = "listBoxX1"; this.listBoxX1.Size = new System.Drawing.Size(240, 68); this.listBoxX1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(41, 12); this.label1.TabIndex = 1; this.label1.Text = "常规:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(258, 6); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(77, 12); this.label2.TabIndex = 3; this.label2.Text = "显示抓握区:"; // // listBoxX2 // this.listBoxX2.AutoMouseMoveSeleced = true; this.listBoxX2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX2.ItemHeight = 16; fontItemEx2.BackColor = System.Drawing.Color.Transparent; fontItemEx2.Font = new System.Drawing.Font("宋体", 9F); fontItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx2.Name = "FontItemEx"; fontItemEx2.Tag = null; fontItemEx2.Text = "字体项(FontItemEx)"; colorItemEx2.BackColor = System.Drawing.Color.Silver; colorItemEx2.Color = System.Drawing.Color.Red; colorItemEx2.Font = new System.Drawing.Font("宋体", 9F); colorItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx2.Name = "ColorItemEx"; colorItemEx2.Tag = null; colorItemEx2.Text = "颜色项(ColorItemEx)"; imageItemEx2.BackColor = System.Drawing.Color.Transparent; imageItemEx2.Font = new System.Drawing.Font("宋体", 9F); imageItemEx2.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx2.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx2.Image"))); imageItemEx2.Name = "ImageItemEx"; imageItemEx2.Tag = null; imageItemEx2.Text = "图片项(ImageItemEx)"; this.listBoxX2.Items.AddRange(new object[] { fontItemEx2, colorItemEx2, imageItemEx2 }); this.listBoxX2.Location = new System.Drawing.Point(258, 21); this.listBoxX2.Name = "listBoxX2"; this.listBoxX2.ShowGripRegion = true; this.listBoxX2.Size = new System.Drawing.Size(240, 68); this.listBoxX2.TabIndex = 2; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(258, 92); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(161, 12); this.label3.TabIndex = 5; this.label3.Text = "单选框外观(显示抓握区):"; // // listBoxX3 // this.listBoxX3.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX3.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eRadioButton; this.listBoxX3.ItemHeight = 16; fontItemEx3.BackColor = System.Drawing.Color.Transparent; fontItemEx3.Font = new System.Drawing.Font("宋体", 9F); fontItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx3.Name = "FontItemEx"; fontItemEx3.Tag = null; fontItemEx3.Text = "字体项(FontItemEx)"; colorItemEx3.BackColor = System.Drawing.Color.Silver; colorItemEx3.Color = System.Drawing.Color.Red; colorItemEx3.Font = new System.Drawing.Font("宋体", 9F); colorItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx3.Name = "ColorItemEx"; colorItemEx3.ShowBackColor = true; colorItemEx3.Tag = null; colorItemEx3.Text = "颜色项(ColorItemEx)"; imageItemEx3.BackColor = System.Drawing.Color.Transparent; imageItemEx3.Font = new System.Drawing.Font("宋体", 9F); imageItemEx3.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx3.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx3.Image"))); imageItemEx3.Name = "ImageItemEx"; imageItemEx3.Tag = null; imageItemEx3.Text = "图片项(ImageItemEx)"; this.listBoxX3.Items.AddRange(new object[] { fontItemEx3, colorItemEx3, imageItemEx3 }); this.listBoxX3.Location = new System.Drawing.Point(258, 107); this.listBoxX3.Name = "listBoxX3"; this.listBoxX3.ShowGripRegion = true; this.listBoxX3.Size = new System.Drawing.Size(240, 68); this.listBoxX3.TabIndex = 4; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 92); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(125, 12); this.label4.TabIndex = 7; this.label4.Text = "单选框外观(常规):"; // // listBoxX4 // this.listBoxX4.AutoMouseMoveSeleced = true; this.listBoxX4.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX4.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eRadioButton; this.listBoxX4.ItemHeight = 16; fontItemEx4.BackColor = System.Drawing.Color.Transparent; fontItemEx4.Font = new System.Drawing.Font("宋体", 9F); fontItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx4.Name = "FontItemEx"; fontItemEx4.Tag = null; fontItemEx4.Text = "字体项(FontItemEx)"; colorItemEx4.BackColor = System.Drawing.Color.Silver; colorItemEx4.Color = System.Drawing.Color.Red; colorItemEx4.Font = new System.Drawing.Font("宋体", 9F); colorItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx4.Name = "ColorItemEx"; colorItemEx4.Tag = null; colorItemEx4.Text = "颜色项(ColorItemEx)"; imageItemEx4.BackColor = System.Drawing.Color.Transparent; imageItemEx4.Font = new System.Drawing.Font("宋体", 9F); imageItemEx4.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx4.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx4.Image"))); imageItemEx4.Name = "ImageItemEx"; imageItemEx4.Tag = null; imageItemEx4.Text = "图片项(ImageItemEx)"; this.listBoxX4.Items.AddRange(new object[] { fontItemEx4, colorItemEx4, imageItemEx4 }); this.listBoxX4.Location = new System.Drawing.Point(12, 107); this.listBoxX4.Name = "listBoxX4"; this.listBoxX4.Size = new System.Drawing.Size(240, 68); this.listBoxX4.TabIndex = 6; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(12, 178); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(125, 12); this.label5.TabIndex = 11; this.label5.Text = "复选框外观(常规):"; // // listBoxX5 // this.listBoxX5.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX5.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eCheckBox; this.listBoxX5.ItemHeight = 16; fontItemEx5.BackColor = System.Drawing.Color.Transparent; fontItemEx5.Font = new System.Drawing.Font("宋体", 9F); fontItemEx5.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx5.Name = "FontItemEx"; fontItemEx5.Tag = null; fontItemEx5.Text = "字体项(FontItemEx)"; colorItemEx5.BackColor = System.Drawing.Color.Silver; colorItemEx5.Color = System.Drawing.Color.Red; colorItemEx5.Font = new System.Drawing.Font("宋体", 9F); colorItemEx5.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx5.Name = "ColorItemEx"; colorItemEx5.ShowBackColor = true; colorItemEx5.Tag = null; colorItemEx5.Text = "颜色项(ColorItemEx)"; imageItemEx5.BackColor = System.Drawing.Color.Transparent; imageItemEx5.Font = new System.Drawing.Font("宋体", 9F); imageItemEx5.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx5.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx5.Image"))); imageItemEx5.Name = "ImageItemEx"; imageItemEx5.Tag = null; imageItemEx5.Text = "图片项(ImageItemEx)"; this.listBoxX5.Items.AddRange(new object[] { fontItemEx5, colorItemEx5, imageItemEx5 }); this.listBoxX5.Location = new System.Drawing.Point(12, 193); this.listBoxX5.Name = "listBoxX5"; this.listBoxX5.Size = new System.Drawing.Size(240, 68); this.listBoxX5.TabIndex = 10; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(258, 178); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(161, 12); this.label6.TabIndex = 9; this.label6.Text = "复选框外观(显示抓握区):"; // // listBoxX6 // this.listBoxX6.AutoMouseMoveSeleced = true; this.listBoxX6.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX6.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eCheckBox; this.listBoxX6.ItemHeight = 16; fontItemEx6.BackColor = System.Drawing.Color.Transparent; fontItemEx6.Font = new System.Drawing.Font("宋体", 9F); fontItemEx6.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx6.Name = "FontItemEx"; fontItemEx6.Tag = null; fontItemEx6.Text = "字体项(FontItemEx)"; colorItemEx6.BackColor = System.Drawing.Color.Silver; colorItemEx6.Color = System.Drawing.Color.Red; colorItemEx6.Font = new System.Drawing.Font("宋体", 9F); colorItemEx6.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx6.Name = "ColorItemEx"; colorItemEx6.Tag = null; colorItemEx6.Text = "颜色项(ColorItemEx)"; imageItemEx6.BackColor = System.Drawing.Color.Transparent; imageItemEx6.Font = new System.Drawing.Font("宋体", 9F); imageItemEx6.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx6.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx6.Image"))); imageItemEx6.Name = "ImageItemEx"; imageItemEx6.Tag = null; imageItemEx6.Text = "图片项(ImageItemEx)"; this.listBoxX6.Items.AddRange(new object[] { fontItemEx6, colorItemEx6, imageItemEx6 }); this.listBoxX6.Location = new System.Drawing.Point(258, 193); this.listBoxX6.Name = "listBoxX6"; this.listBoxX6.ShowGripRegion = true; this.listBoxX6.Size = new System.Drawing.Size(240, 68); this.listBoxX6.TabIndex = 8; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(12, 264); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(113, 12); this.label7.TabIndex = 15; this.label7.Text = "图片外观(常规):"; // // listBoxX7 // this.listBoxX7.AutoMouseMoveSeleced = true; this.listBoxX7.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX7.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eImageLabel; this.listBoxX7.ItemHeight = 16; fontItemEx7.BackColor = System.Drawing.Color.Transparent; fontItemEx7.Font = new System.Drawing.Font("宋体", 9F); fontItemEx7.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx7.Name = "FontItemEx"; fontItemEx7.Tag = null; fontItemEx7.Text = "字体项(FontItemEx)"; colorItemEx7.BackColor = System.Drawing.Color.Silver; colorItemEx7.Color = System.Drawing.Color.Red; colorItemEx7.Font = new System.Drawing.Font("宋体", 9F); colorItemEx7.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx7.Name = "ColorItemEx"; colorItemEx7.Tag = null; colorItemEx7.Text = "颜色项(ColorItemEx)"; imageItemEx7.BackColor = System.Drawing.Color.Transparent; imageItemEx7.Font = new System.Drawing.Font("宋体", 9F); imageItemEx7.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx7.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx7.Image"))); imageItemEx7.Name = "ImageItemEx"; imageItemEx7.Tag = null; imageItemEx7.Text = "图片项(ImageItemEx)"; this.listBoxX7.Items.AddRange(new object[] { fontItemEx7, colorItemEx7, imageItemEx7 }); this.listBoxX7.Location = new System.Drawing.Point(12, 279); this.listBoxX7.Name = "listBoxX7"; this.listBoxX7.Size = new System.Drawing.Size(240, 68); this.listBoxX7.TabIndex = 14; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(258, 264); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(149, 12); this.label8.TabIndex = 13; this.label8.Text = "图片外观(显示抓握区):"; // // listBoxX8 // this.listBoxX8.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.listBoxX8.eItemDrawStyle = GISShare.Controls.WinForm.ItemDrawStyle.eImageLabel; this.listBoxX8.ItemHeight = 16; fontItemEx8.BackColor = System.Drawing.Color.Transparent; fontItemEx8.Font = new System.Drawing.Font("宋体", 9F); fontItemEx8.ForeColor = System.Drawing.SystemColors.ControlText; fontItemEx8.Name = "FontItemEx"; fontItemEx8.Tag = null; fontItemEx8.Text = "字体项(FontItemEx)"; colorItemEx8.BackColor = System.Drawing.Color.Silver; colorItemEx8.Color = System.Drawing.Color.Red; colorItemEx8.Font = new System.Drawing.Font("宋体", 9F); colorItemEx8.ForeColor = System.Drawing.SystemColors.ControlText; colorItemEx8.Name = "ColorItemEx"; colorItemEx8.ShowBackColor = true; colorItemEx8.Tag = null; colorItemEx8.Text = "颜色项(ColorItemEx)"; imageItemEx8.BackColor = System.Drawing.Color.Transparent; imageItemEx8.Font = new System.Drawing.Font("宋体", 9F); imageItemEx8.ForeColor = System.Drawing.SystemColors.ControlText; imageItemEx8.Image = ((System.Drawing.Image)(resources.GetObject("imageItemEx8.Image"))); imageItemEx8.Name = "ImageItemEx"; imageItemEx8.Tag = null; imageItemEx8.Text = "图片项(ImageItemEx)"; this.listBoxX8.Items.AddRange(new object[] { fontItemEx8, colorItemEx8, imageItemEx8 }); this.listBoxX8.Location = new System.Drawing.Point(258, 279); this.listBoxX8.Name = "listBoxX8"; this.listBoxX8.ShowGripRegion = true; this.listBoxX8.Size = new System.Drawing.Size(240, 68); this.listBoxX8.TabIndex = 12; // // DemoOfListBoxXForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(508, 353); this.Controls.Add(this.label7); this.Controls.Add(this.listBoxX7); this.Controls.Add(this.label8); this.Controls.Add(this.listBoxX8); this.Controls.Add(this.label5); this.Controls.Add(this.listBoxX5); this.Controls.Add(this.label6); this.Controls.Add(this.listBoxX6); this.Controls.Add(this.label4); this.Controls.Add(this.listBoxX4); this.Controls.Add(this.label3); this.Controls.Add(this.listBoxX3); this.Controls.Add(this.label2); this.Controls.Add(this.listBoxX2); this.Controls.Add(this.label1); this.Controls.Add(this.listBoxX1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DemoOfListBoxXForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "ListBoxX控件"; this.ResumeLayout(false); this.PerformLayout(); }