Esempio n. 1
0
 /// <summary>
 /// Konstruktor
 /// </summary>
 public SQL_Statement()
 {
     DQ = new DataQuerry <T_DO>();
     DQ.ErrorReceived       += DQ_ErrorReceived;
     DQ.DataSetReceived     += DQ_DataSetReceived;
     DQ.DataObjectsReceived += DQ_DataObjectsReceived1;
 }
        private void btnTimkiemCMND_Click(object sender, EventArgs e)
        {
            BenhNhan bn = DataQuerry.findBNByCMND(txtSoCMND.Text.Trim());

            txtMaSoBN.Text = bn.masoBN;
            txtSoCMND.Text = bn.soCMND;
            txtHoTen.Text  = bn.hoTen;
            txtDiaChi.Text = bn.diaChi;
        }
Esempio n. 3
0
 private void DQ_ErrorReceived(DataQuerry <T_DO> Sender, string Message)
 {
     OnErrorReceived(Message);
 }
Esempio n. 4
0
 private void DQ_DataSetReceived(DataQuerry <T_DO> Sender, DataSet DataSet)
 {
     OnDataSetReceived(DataSet);
 }
Esempio n. 5
0
 private void DQ_DataObjectsReceived1(DataQuerry <T_DO> Sender, List <T_DO> DataObjects)
 {
     OnDataObjectsReceived(DataObjects);
 }