public void CheckBox_Checked(object sender, PaintEventArgs e) { CheckBox chck = sender as CheckBox; if (chck.Checked) e.Graphics.DrawImageUnscaled((Properties.Resources.CheckboxChecked), 0, 0); else if (chck.Checked == false) e.Graphics.DrawImageUnscaled((Properties.Resources.CheckboxUnchecked), 0, 0); }
CheckBox1.Paint += new PaintEventHandler(_customControls.CheckBox_Checked);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)