D
Dom
In VB I was able (I think, it's been a long time after all) to pass a
Form as an argument to a procedure, and then within that procedure, to
access the controls. For example,
public void MyProc (frmMain f)
if (f.OptionButton.value = 1) ...
It seems I can't do this in CSharp. What do you do to take it's
place? I have several controls I need to check in the method.
Form as an argument to a procedure, and then within that procedure, to
access the controls. For example,
public void MyProc (frmMain f)
if (f.OptionButton.value = 1) ...
It seems I can't do this in CSharp. What do you do to take it's
place? I have several controls I need to check in the method.