예제 #1
0
        private void UpdateSettings()
        {
            var Params = Downloading.GetP2P(structures.IP, structures.Name, structures.Password);

            textBox1.Text = Params["xqp2p_uid"];
            var QRCode = new QRCode(new QRCodeGenerator().CreateQrCode(textBox1.Text, QRCodeGenerator.ECCLevel.M));

            pictureBox1.Image = QRCode.GetGraphic(8, Color.Black, Color.White, Properties.Resources.camera, 15, 6, false);
        }
예제 #2
0
        void LoadHI3510()
        {
            var Params = Downloading.GetP2P(conf.IP, conf.Name, conf.Password);

            if (Params.Count < 1)
            {
                tabControl1.TabPages.Remove(tabPage4); return;
            }
            textBox11.Text = Params["xqp2p_uid"];
            var QRCode = new QRCode(new QRCodeGenerator().CreateQrCode(textBox1.Text, QRCodeGenerator.ECCLevel.M));

            pictureBox1.Image = QRCode.GetGraphic(8, Color.Black, Color.White, Properties.Resources.camera, 15, 6, false);
        }