Пример #1
0
        private void Form1_Shown(object sender, EventArgs e)
        {
            //打开日志窗体
            logForm log = logForm.InstanceLogForm();

            log.Show();
            log.Visible = false;
            //设置数据
            CheckForIllegalCrossThreadCalls = false;
            List <QuestionaireEntity> dataList = QuestionaireData.getData();

            for (int i = 0; i < dataList.Count; i++)
            {
                CreateController.addController(10, (1 + i) * 35, this, dataList[i]);
            }
        }