I have a form called MainForm with controls on it say a combobox and textbox.
I have a separate class called routines which hold my methods.
I am simply trying to control the visibility etc of the controls on MainForm by a method in Routines.
The MainForm class is public.
I have tried this on MainForm.
SetUpEntryScreen(this);
in the Routines class
I have a method
Public void static SetUpEntryScreen(MainForm Frm1)
Frm1.
It is here I would expect to be able to access the controls but it doesn't work what am I missing please.