is StuDeaf a CheckBox?
In that case, I do not understand your code. If it is checked, you don't take action. Otherwise (that is, unchecked) you set to unchecked, that is you do not change anything. What are you trying to do?
"There are two ways to write error-free programs. Only the third one works."