コード例 #1
0
        private void patientInformationBtn_Click(object sender, EventArgs e)
        {
            panelInformationPanel.Show();
            panel2.Hide();
            panel3.Hide();
            DbConnector dBConn = new DbConnector();

            dBConn.connect();
            PatientHandler patientHandler = new PatientHandler();

            patientHandler.FetchId(patientIDcomboBox);
        }
コード例 #2
0
        private void readingBtn_Click(object sender, EventArgs e)
        {
            panelInformationPanel.Hide();
            panel2.Hide();
            panel3.Show();
            DbConnector dBConn = new DbConnector();

            dBConn.connect();
            PatientHandler patientHandler = new PatientHandler();

            patientHandler.FetchId(patientIDcb);
            FetchTableName(optional1ComboBox);
            //FetchTableName(optional2ComboBox);
            //FetchTableName(optional3ComboBox);
        }