i have an mdi application with two child forms
Childform A and childform B
in a nutshell
Childform B has a timer with a routine that polls a ip socket for
information every 30sec.
It does this by calling a method lin the Childform A class.
This same method in childform A can also be called by button clicks
and user iteraction with childform A. In addition user on childform A
can not only manually (via button clicks) get data from this same
socket, but also using another method send data to this same socket
My question is
With the timer running every 30sec on childform B, do i need to
somehow lock the methods on childform A, incase the user does a button
press at the same time as the 30sec poll occurs.
if so, whats the best aproach
any advice appreciated. thanks