コード例 #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            db = new DBLogic();
            db.setConectionString(connectionString);

            fillPatientsGrid();
        }
コード例 #2
0
 public NewPatientForm(DBLogic db)
 {
     InitializeComponent();
     this.db = db;
     confirmAlertLabel.Text   = "";
     peselAlertLabel.Text     = "";
     firstNameAlertLabel.Text = "";
     lastNameAlertLabel.Text  = "";
 }
コード例 #3
0
 public CorelationChartForm(string pesel, string minDate, string maxDate, DBLogic db)
 {
     InitializeComponent();
     this.pesel    = pesel;
     this.minDate  = minDate.Substring(0, 10);
     this.maxDate  = maxDate.Substring(0, 10);
     this.db       = db;
     morningSeries = new Series(pesel + "M", ViewType.Point);
     eveningSeries = new Series(pesel + "E", ViewType.Point);
     ds            = new DataSet();
 }
コード例 #4
0
 public NewMeasureForm(DBLogic db, string pesel)
 {
     InitializeComponent();
     this.db                                  = db;
     this.pesel                               = pesel;
     confirmAlertLabel.Text                   =
         dateAlertLabel.Text                  =
             timeAlertLabel.Text              =
                 systolicAlertLabel.Text      =
                     diastolicAlertLabel.Text =
                         pulseAlertLabel.Text = "";
 }
コード例 #5
0
 public BarChartForm(string pesel, string minDate, string maxDate, DBLogic db)
 {
     InitializeComponent();
     this.pesel   = pesel;
     this.minDate = minDate.Substring(0, 10);
     this.maxDate = maxDate.Substring(0, 10);
     this.db      = db;
     ds           = new DataSet();
     systolic     = new Series("systolic", ViewType.Bar);
     diastolic    = new Series("diastolic", ViewType.Bar);
     pulse        = new Series("pulse", ViewType.Bar);
     dayTime      = "b";
 }
コード例 #6
0
 public RangeAreaChartForm(string pesel, string minDate, string maxDate, DBLogic db)
 {
     InitializeComponent();
     this.pesel      = pesel;
     this.minDate    = minDate.Substring(0, 10);
     this.maxDate    = maxDate.Substring(0, 10);
     this.db         = db;
     ds              = new DataSet();
     dayTime         = "b";
     pressure        = new Series("pressure", ViewType.RangeArea);
     pulse           = new Series("pulse", ViewType.Line);
     morningPressure = new Series("morningPressure", ViewType.RangeArea);
     eveningPressure = new Series("eveningPressure", ViewType.RangeArea);
     morningPulse    = new Series("morningPulse", ViewType.Line);
     eveningPulse    = new Series("eveningPulse", ViewType.Line);
 }
コード例 #7
0
 public PrintForm(DBLogic db, string pesel)
 {
     InitializeComponent();
     this.db    = db;
     this.pesel = pesel;
 }