Index: swf-checkboxes.cs =================================================================== --- swf-checkboxes.cs (revision 51530) +++ swf-checkboxes.cs (working copy) @@ -4,10 +4,16 @@ namespace MyFormProject { + class SCheckBox : CheckBox { + public SCheckBox() { + base.Appearance = Appearance.Button; + } + } class MainForm : System.Windows.Forms.Form { private System.Windows.Forms.CheckBox checkBox; - private System.Windows.Forms.CheckBox checkBox2; + //private System.Windows.Forms.CheckBox checkBox2; + private SCheckBox checkBox2; private System.Windows.Forms.CheckBox checkBox3; private System.Windows.Forms.CheckBox checkBox4; private System.Windows.Forms.CheckBox checkBox5; @@ -73,7 +79,8 @@ this.checkBox9 = new System.Windows.Forms.CheckBox(); this.checkBox8 = new System.Windows.Forms.CheckBox(); this.checkBox3 = new System.Windows.Forms.CheckBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); + //this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.checkBox2 = new SCheckBox(); this.checkBox5 = new System.Windows.Forms.CheckBox(); this.checkBox4 = new System.Windows.Forms.CheckBox(); this.checkBox7 = new System.Windows.Forms.CheckBox();