void BotaoEnviarClick(object sender, EventArgs e) { Conexao.ConexaoSockets IniciarConexao = new Conexao.ConexaoSockets(); IniciarConexao.LerArquivoTexto(CampoMensagem.Text); }
void TelaPrincipalLoad(object sender, EventArgs e) { Conexao.ConexaoSockets IniciarConexao = new Conexao.ConexaoSockets(); IniciarConexao.LerArquivoTexto("Conectado"); }