private void reset_qr_display() { Bitmap b = new Bitmap(pictureBox_qr.Width, pictureBox_qr.Height); pictureBox_qr.Image = b; }