private void button1_Click(object sender, EventArgs e) { string request = "signup[" + txtrequest.Text.Trim(); string response = CommunicationClient.sendRequestForString(request); txtrequest.Text = string.Empty; MessageBox.Show(response); }
private void button1_Click(object sender, EventArgs e) { string request = "query[" + txtrequest.Text.Trim(); string response = CommunicationClient.sendRequestForString(request); //MessageBox.Show(response); response_list = CommunicationClient.stringResponseToList(response); this.dataGridView1.DataSource = CommunicationClient.ConvertListToDataTable(response_list); }
private void button1_Click(object sender, EventArgs e) { string request = txtrequest.Text.Trim(); string response = CommunicationClient.sendRequestForString(request); if (response == "authenticated") { MessageBox.Show("Exito"); MDIParent1 doform = new MDIParent1(); doform.Show(); this.Hide(); } else { MessageBox.Show("error"); } //MessageBox.Show(response); }