void TelaPrincipalLoad(object sender, EventArgs e) { Conexao.ConexaoSockets IniciarConexao = new Conexao.ConexaoSockets(); IniciarConexao.LerArquivoTexto("Conectado"); }
void BotaoEnviarClick(object sender, EventArgs e) { Conexao.ConexaoSockets IniciarConexao = new Conexao.ConexaoSockets(); IniciarConexao.LerArquivoTexto(CampoMensagem.Text); }
void TestarConexaoClick(object sender, EventArgs e) { //Envia diretamente o ip e porta ao Socket Conexao.ConexaoSockets Teste = new Conexao.ConexaoSockets(); Teste.Criar_Conexao("", IpServidor.Text, PortaServidor.Text); }