Exemple #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());
 }
Exemple #2
0
 public NewPatient(ProviderMain providerMain)
 {
     InitializeComponent();
     PregnantBox.Hide();
     PregnantLabel.Hide();
     NotPregnantBox.Hide();
     ProviderList.Hide();
     ChooseProviderLabel.Hide();
     this.providerMain = providerMain;
     providerIDList.Add(providerMain.GetProviderID());
 }
Exemple #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;
     }
 }
Exemple #4
0
 private void FemaleCheckBox_CheckedChanged(object sender, EventArgs e)
 {
     if (FemaleCheckBox.Checked && !MaleCheckBox.Checked)
     {
         PregnantLabel.Show();
         PregnantBox.Show();
         NotPregnantBox.Show();
         WeightLabel.Top      = 382;
         WeightBox.Top        = 382;
         kgLabel.Top          = 385;
         HeightLabel.Top      = 425;
         HeightBox.Top        = 425;
         cmLabel.Top          = 428;
         NationalityLabel.Top = 465;
         NationalityBox.Top   = 465;
     }
 }