C# Programming
10-07-2009, 01:11 AM
Hi!
I have made 3 forms. Now in first main form1.cs I use textbox from where i get ip and port. Then I added 2 new forms..server and client. When i click on Client-Connect(button on form1.cs) it opens form client and client searches for servers. But i don't know how i would use variable ip and port from form1.cs with form client that it would connect to manually typed ip from textbox?
Thx
I have made 3 forms. Now in first main form1.cs I use textbox from where i get ip and port. Then I added 2 new forms..server and client. When i click on Client-Connect(button on form1.cs) it opens form client and client searches for servers. But i don't know how i would use variable ip and port from form1.cs with form client that it would connect to manually typed ip from textbox?
Thx