コード例 #1
0
 private void YesBox_CheckedChanged(object sender, EventArgs e)
 {
     if (YesBox.Checked && !NoBox.Checked)
     {
         DateCompletedLabel.Show();
         DateCompletedPicker.Show();
         status = "Complete";
     }
 }
コード例 #2
0
 private void NoBox_CheckedChanged(object sender, EventArgs e)
 {
     if (!YesBox.Checked && NoBox.Checked)
     {
         DateCompletedPicker.Hide();
         DateCompletedLabel.Hide();
         status = "Ongoing";
     }
 }
コード例 #3
0
 private void UpdatePrescription_Load(object sender, EventArgs e)
 {
     DateCompletedLabel.Hide();
     DateCompletedPicker.Hide();
 }