[RESOLVED] help with Var across Forms
I know this is probably going to be simple and im still googleing it but i thought i would ask just incase i dont find anything
I have to forms
form1 and frm_sum
In form1 i have
Code:
BillPass25.Frm_sum objFrm = new BillPass25.Frm_sum();
// shows in modal
// objFrm.ShowDialog();
objFrm.Show(); // shows form in normal mode
in frm_sum under form load
What should i put to access the a variable called "writepath"
lbl_location.text = ???
Re: help with Var across Forms
I think you should declare your variable as static.
Re: help with Var across Forms
form1 now = =
public static string Writepath = string.Empty;
but i still cant find it in the frm_sum