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; } } }
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; } } }