Exemplo n.º 1
0
        private void frmExpiredDrugsStatistics_Load(object sender, EventArgs e)
        {
            bMed = new bMedecine();

            //Thống kê số liệu
            label1.Text               = bMed.getAllMedecine().Count.ToString();
            lblExpiredDrug.Text       = bMed.getExpiredMedecine().Count.ToString();
            lblNearlyExpiredDrug.Text = bMed.getNearlyExpiredMedecine().Count.ToString();

            dgvMedList.DataSource = bMed.getExpiredMedecine();
            FormatDataGridview();
            radioButton1.Checked = true;
        }
Exemplo n.º 2
0
 private void rdoNearlyExpired_CheckedChanged(object sender, EventArgs e)
 {
     dgvMedList.DataSource = bMed.getNearlyExpiredMedecine();
 }