private void DecodeImage(Bitmap bmp) { string output = ""; string[] results = TaskHelpers.BarcodeScan(bmp); if (results != null) { output = string.Join(Environment.NewLine + Environment.NewLine, results); } rtbDecodeResult.Text = output; }