In windows forms I have a listview with checkbox(listview1.CheckBoxes = true). I want to disable it from the begin and once double click the selected row,then loading a button in a separate tab. once clicked that button need to automatically check the listview checkbox. How can I do it?
I used this for disable the check box.
private void listview1_ItemCheck(object sender, ItemCheckEventArgs e)
{
e.NewValue = e.CurrentValue;
}
Aucun commentaire:
Enregistrer un commentaire