Esempio n. 1
0
        private void displayPopup()
        {
            pform           = new PopupForm();
            pform.hanleChon = handleChon;
            DataTable dt = DBConnection.GetDataByQuery($"call hth_vu_tim_xet_nghiem('{tbc01.Text}','42007')");

            pform.Table.loadCheckBoxColumn("check");
            pform.Table.setDataSource(dt);
            pform.Table.Table.Columns[2].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            pform.ShowDialog();
        }
Esempio n. 2
0
        private void displayPopup()
        {
            pform           = new PopupForm();
            pform.hanleChon = handleChon;
            DataTable dt = DBConnection.GetDataByQuery($"call hth_vu_tim_icd('{tbICD.Text}')");

            pform.Table.loadCheckBoxColumn("check");
            pform.Table.setDataSource(dt);
            pform.Table.Table.Columns[2].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            pform.Table.Table.MultiSelect             = false;
            pform.Table.SingleCheck = true;
            pform.ShowDialog();
        }