Please refer to the following MSDN page on passing parameters:
http://msdn.microsoft.com/en-us/library/0f66670z(v=vs.71).aspx
Personally, I would do data access in a separate class and implement a public void Login(string user, string password, string server)
method. The second form would then make use of this class’s other methods to retrieve and display data.
3
solved C# form pass values to another [closed]