Exemplo n.º 1
0
 private void SerwerConnect_Click(object sender, EventArgs e)
 {
     if (ClientID.Text != "")
     {
         if (client.TCPConnectServer(ClientName.Text, Convert.ToInt32(ClientID.Text)))
         {
             SerwerConnect.Enabled = false;
             DownloadFile.Enabled  = true;
             AddFile.Enabled       = true;
             DeleteFile.Enabled    = true;
         }
     }
 }
Exemplo n.º 2
0
 private void SerwerConnect_Click(object sender, EventArgs e)
 {
     if (ClientName.Text != "")
     {
         if (client.TCPConnectServer(ClientName.Text))
         {
             SerwerConnect.Enabled = false;
             GetHistory.Enabled    = true;
             send.Enabled          = true;
         }
     }
 }