Esempio n. 1
0
 public FormPracticeMode(TriagePic p, int nPracticePatientID)
 {
     InitializeComponent();
     parent = p;
     // This confirmation ONLY gets called if Practice Mode checkbox is checked
     radioButtonPractice1.Checked = true; // Discard is default
     radioButtonPractice2.Checked = radioButtonPractice3.Checked = false;
     PracticeID_TextBox.Text = nPracticePatientID.ToString();
 }
Esempio n. 2
0
 public FormConfirmGender(TriagePic p)
 {
     InitializeComponent();
     parent = p;
     // This confirmation ONLY gets called if both checkboxes are unchecked or both are checked.
     radioButtonGender1.Checked = radioButtonGender2.Checked = radioButtonGender3.Checked = radioButtonGender4.Checked = false;
     if (!parent.GenderMaleCheckBox.Checked && !parent.GenderFemaleCheckBox.Checked)
         radioButtonGender3.Checked = true;
     else if (parent.GenderMaleCheckBox.Checked && parent.GenderFemaleCheckBox.Checked)
         radioButtonGender4.Checked = true;
     else
         ErrBox.Show("Internal error");
 }
Esempio n. 3
0
 public FormConfirmPeds(TriagePic p)
 {
     InitializeComponent();
     parent = p;
     // This confirmation ONLY gets called if both checkboxes are unchecked or both are checked.
     radioButtonPeds1.Checked = radioButtonPeds2.Checked = radioButtonPeds3.Checked = radioButtonPeds4.Checked = false;
     if (!parent.PedsCheckBox.Checked && !parent.AdultCheckBox.Checked)
         radioButtonPeds3.Checked = true;
     else if (parent.PedsCheckBox.Checked && parent.AdultCheckBox.Checked)
         radioButtonPeds4.Checked = true;
     else
         ErrBox.Show("Internal error");
 }