private void YesBox_CheckedChanged(object sender, EventArgs e) { if (YesBox.Checked && !NoBox.Checked) { DateCompletedLabel.Show(); DateCompletedPicker.Show(); status = "Complete"; } }
private void NoBox_CheckedChanged(object sender, EventArgs e) { if (!YesBox.Checked && NoBox.Checked) { DateCompletedPicker.Hide(); DateCompletedLabel.Hide(); status = "Ongoing"; } }
private void UpdatePrescription_Load(object sender, EventArgs e) { DateCompletedLabel.Hide(); DateCompletedPicker.Hide(); }