Exemplo n.º 1
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            btnNextStep.Text  = "下一步";
            txtSerialNum.Text = "";
            demarcateDataUploadForm.CloseSerialPort();
            qRCodePrintForm.Close();
            pageNum = 1;
            toolStripButton1.Enabled = true;
            foreach (Control c in panel2.Controls)
            {
                c.Visible = true;
            }
            demarcateDataUploadForm.Visible = false;
            //demarcateDataUploadForm.setOperatorFormBtnDelegate -= new setFormBtnDelegate(setFormComBtn);
            //demarcateDataUploadForm = new DemarcateDataUploadForm();

            qRCodePrintForm = new QRCodePrintForm();
            //demarcateDataUploadForm.setOperatorFormBtnDelegate += new setFormBtnDelegate(setFormComBtn);
        }