Пример #1
0
        private void FMain_Load(object sender, EventArgs e)
        {
            Work = new Worker();
            string IdStr = Work.CompId.ToString("D").ToUpperInvariant();

            byte[] buf = Encoding.UTF8.GetBytes(IdStr);
            QrBox.Image = QRCode.CreateQR(buf, QrVersion, QrLevel, -1, QrSize);
            Text        = IdStr;
            Work.Start();
        }