I have the following error CS0123 No overload for 'lsvRecebeGrupoLayout_ItemCheck' matches delegate 'ItemCheckEventHandler' in the code below, any suggestion of what might be causing this error?
private void lsvRecebeGrupoLayout_ItemCheck(object sender, ItemCheckEventArgs e, CheckBox cb)
{
GrupoLayout gp = new GrupoLayout();
RepositorioGrupoLayout r = new RepositorioGrupoLayout();
Layout lay = new Layout();
cb.Checked = Convert.ToBoolean(gp.Id);
lay.Id = Convert.ToInt32(cb.Checked);
r.Alterar(lay.GrupoLayout);
}