Esempio n. 1
0
 public void FillMainFormLink(SocketClient afrmMain)
 {
     if (afrmMain != null)
     {
         frmSocketClient = afrmMain;
         // получаем локальное IP;
         localIP = System.Net.Dns.GetHostByName(frmSocketClient.clientHostName).AddressList[0].ToString();
     }
 }
Esempio n. 2
0
 public void SetLinkToMainForm(SocketClient aMainForm)
 {
     mainFormLink = aMainForm;
 }