private string ARI() { if (ARICheckBox.Checked == true) { groupBox2.Enabled = true; register.ARISymptoms = ARIDaysTextBox.Text + " Days ," + "Respiratory Rate:" + RespiratoryrateTextBox.Text + ","; if (StridorCheckBox.Checked == true) { register.ARISymptoms = register.ARISymptoms + "Stridor:Y,"; } else { register.ARISymptoms = register.ARISymptoms + "Stridor:N,"; } if (ChestIndrawingCheckBox.Checked == true) { register.ARISymptoms = register.ARISymptoms + "Chest indrawing:Y,"; } else { register.ARISymptoms = register.ARISymptoms + "Chest indrawing:N,"; } } else { register.ARI = false; RespiratoryrateTextBox.Clear(); groupBox2.Enabled = false; } return(register.ARISymptoms); }
private void ARICheckBox_CheckedChanged(object sender, EventArgs e) { if (ARICheckBox.Checked == true) { groupBox2.Enabled = true; } else { ARIDaysTextBox.Clear(); RespiratoryrateTextBox.Clear(); ChestIndrawingCheckBox.Checked = false; StridorCheckBox.Checked = false; groupBox2.Enabled = false; } }