private void Informe(string Case) { var query = "nome=" + ed3.Text + "senha=" + ed4.Text; string[] headers = new string[] { "Content-Type: application/json" }; RequestEn.Request("teste123", headers, false, HTTPClient.Method.Post, query); Tipo = (TipoLC)Enum.Parse(typeof(TipoLC), Case); }
public void Pressionar(string tela) { Tipo = (TipoLC)Enum.Parse(typeof(TipoLC), tela); }