Beispiel #1
0
 public NewPatient(SchedulerMain schedulerMain)
 {
     InitializeComponent();
     PregnantBox.Hide();
     PregnantLabel.Hide();
     NotPregnantBox.Hide();
     this.schedulerMain         = schedulerMain;
     ProviderList.ValueMember   = "ProviderID";
     ProviderList.DisplayMember = "ProviderName";
     ProviderList.DataSource    = schedulersBelongingToProviderTableAdapter1.GetDataBySchedulerID(schedulerMain.GetSchedulerID());
 }
Beispiel #2
0
 public NewPatient(ProviderMain providerMain)
 {
     InitializeComponent();
     PregnantBox.Hide();
     PregnantLabel.Hide();
     NotPregnantBox.Hide();
     ProviderList.Hide();
     ChooseProviderLabel.Hide();
     this.providerMain = providerMain;
     providerIDList.Add(providerMain.GetProviderID());
 }
Beispiel #3
0
 private void MaleCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     if (!FemaleCheckBox.Checked && MaleCheckBox.Checked || (FemaleCheckBox.Checked && MaleCheckBox.Checked))
     {
         PregnantLabel.Hide();
         PregnantBox.Hide();
         NotPregnantBox.Hide();
         WeightLabel.Top      = 338;
         WeightBox.Top        = 338;
         kgLabel.Top          = 342;
         HeightLabel.Top      = 382;
         HeightBox.Top        = 382;
         cmLabel.Top          = 385;
         NationalityLabel.Top = 422;
         NationalityBox.Top   = 422;
     }
 }