Esempio n. 1
0
File: Form1.cs Progetto: mmmhong/CPC
        /// <summary>
        /// 获取字段
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button3_Click(object sender, EventArgs e)
        {
            GetByID get = new GetByID();
            string  str = get.Do("abc");

            get.JieXiBingLi(str, "abc", false);
            MessageBox.Show("所有字段已导入数据库");
        }
Esempio n. 2
0
File: Form1.cs Progetto: mmmhong/CPC
        /// <summary>
        /// 获取病历
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button2_Click(object sender, EventArgs e)
        {
            if (PatientList == null)
            {
                MessageBox.Show("请先获取所有用户");
                return;
            }
            GetByID getByID = new GetByID();
            DoData  dodata  = new DoData();

            foreach (string s in PatientList)
            {
                dodata.Do(s);
                //string str = getByID.Do(s);
                //getByID.JieXiBingLi(str,s,true);
            }
            MessageBox.Show("已获取所有用户病例");
        }