(dgv_configCH
is a winform DataGridView). As you can see in the picture below, the VS executor is within the if's brackets with a false condition. Actually, the VS executor doesn't enter after checking the condition, but just before leaving the function. In this program, my purpose is simply being able to use the DataGridViewCheckBoxCell
because dgv_configCH[e.ColumnIndex, e.RowIndex].Value.ToString()
always returns true
in the dgv_configCH_CellValueChanged
event.
vendredi 25 août 2017
C# ByPassing if(condition) statement without filling the condition?! magical things happens?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire