A "parameter" is an attribute of specific programming entities, such as method, SQL query, etc. This is code, making not so much sense, just needs a valid username to assign to the text box text property. You can simply make
f2.Username
an
internal
property, reading the value of
private _username
in its getter.
In a more general view, this is the popular question about form collaboration. The most robust solution is implementation of an appropriate interface in form class. Please see my past solution for more detail:
How to copy all the items between listboxes in two forms[
^].
—SA