Пример #1
0
        private void txt_jcxmbh_Leave(object sender, EventArgs e)
        {
            string bh   = ((System.Windows.Forms.TextBox)sender).Text;
            var    data = _projectInfo.GetProjectInfoByBH(bh);

            if (data == null)
            {
                MessageBox.Show($"获取项目失败,请确认项目{bh}已添加");
                return;
            }
            txt_s.Text        = data.STable;
            txt_m.Text        = data.MTable;
            txt_helper.Text   = data.BZTable;
            txt_y.Text        = data.YTable;
            txtdatafiled.Text = data.DataFiled;

            //获取 测试数据,计算方法,帮助表数据
        }