Making buttons disappear depending on the size of a list
问题 I am trying to make a button disappear off the screen when the size of a list that is being filled by the user reaches a size of lets say 3 items. The button is for "adding a new person" but once the list is full i don't want that to be an option to add another person to the list. I have tried the following code but the program doesn't run Private Sub Form1_MouseMove(sender As Object, e As MouseEventArgs) Handles Me.MouseMove If inputNames.Count >= 3 Then 'inputnames is the name of the list