相关疑难解决方法(0)

如何更改复选框上的检查图像

它有文字,图像,然后是复选框,

我想使用更好的图像进行检查,但无法找到更改已检查和未检查图像的方法

this.checkBox1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
this.checkBox1.Checked = true;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.Image = global::ClientExam.Properties.Resources.action32;
this.checkBox1.Location = new System.Drawing.Point(145, 140);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(273, 127);
this.checkBox1.TabIndex = 0;
this.checkBox1.Text = "checkBox1";
this.checkBox1.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
this.checkBox1.UseVisualStyleBackColor = true;
Run Code Online (Sandbox Code Playgroud)

谁知道一个不要求我自己控制的人呢?

.net c# checkbox winforms

10
推荐指数
2
解决办法
2万
查看次数

标签 统计

.net ×1

c# ×1

checkbox ×1

winforms ×1