I'm trying to find a way to override the current UI of the Windows checkbox by replacing to another component that I already have (built).
Basically the component is based on Bunifu Framework and I want to replace the default Windows checkbox with this new one.
Windows.Forms.Checkbox (Before)
Bunifu.Framework.UI.BunifuCheckbox (After)
The reason I need to override the OnPaint method, is because I'm currently populating a DataGrid with a column (bit - data type) that shows a checkbox (1 for checked and 0 for unchecked).
Can anyone help me how to override it with a pre-built component?
Thank you!
Aucun commentaire:
Enregistrer un commentaire