/// <summary> /// Hàm xử lý in barcode /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnPrintBarcode_Click(object sender, EventArgs e) { object value = grdTestInfo.GetValue("Barcode"); if (string.IsNullOrEmpty(Utility.sDbnull(value).Trim())) { Utility.ShowMsg("Bạn chưa chọn barcode để in", "Thông báo"); return; } grdPatients.SetValue("Barcode", value); PrintbarcodeInstance(); }