A
adam
I constantly have a delima calling functions inbetween forms, for
example in a project, in frmMain.cs , I have a function called
RefMain();, I would like to call it in frmAdd.cs, but none of the
following methods work:
1:
frmMain frm;
frm.RefMain();
2:
frmMain frm = new frmMain();
frm.RefMain();
I can never seem to get the functions to call correctly between forms,
and I cannot make the function a static void, please help! :'(
example in a project, in frmMain.cs , I have a function called
RefMain();, I would like to call it in frmAdd.cs, but none of the
following methods work:
1:
frmMain frm;
frm.RefMain();
2:
frmMain frm = new frmMain();
frm.RefMain();
I can never seem to get the functions to call correctly between forms,
and I cannot make the function a static void, please help! :'(