Exemple #1
0
        /// <summary>
        /// 双击进入该病人的评分信息页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void gridView1_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                if (this.gridView1.FocusedRowHandle < 0)
                {
                    return;
                }

                DataRow focuseRow = gridView1.GetDataRow(gridView1.FocusedRowHandle);
                if (focuseRow == null)
                {
                    return;
                }
                string         noofpaint     = focuseRow["NOOFINPAT"].ToString();
                int            sumpoint      = int.Parse(focuseRow["sumpoint"].ToString());
                EmrPainetScore emrpointScore = new EmrPainetScore(m_app, noofpaint, sumpoint);
                SetWaitDialogCaption("正在加载病人评分表...");
                emrpointScore.StartPosition = FormStartPosition.CenterScreen;//弹出窗体在中间
                emrpointScore.ShowDialog();
                HideWaitDialog();
                //更改为调出报表页面
            }
            catch (Exception ex)
            {
            }
        }
Exemple #2
0
        /// <summary>
        /// 双击进入该病人的评分信息页面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void gridView1_DoubleClick(object sender, EventArgs e)
        {
            string shenfeng = m_SqlManager.JudgeIdentity(m_app.User.Id, m_SqlManager);

            if (shenfeng == "QCDepart")
            {
                return;
            }

            DataRow focuseRow = gridView1.GetDataRow(gridView1.FocusedRowHandle);

            if (focuseRow == null)
            {
                return;
            }
            EmrPainetScore emrpointScore = new EmrPainetScore(m_app, focuseRow);

            SetWaitDialogCaption("正在加载病人评分表...");
            emrpointScore.StartPosition = FormStartPosition.CenterScreen;//弹出窗体在中间
            emrpointScore.ShowDialog();
            HideWaitDialog();
            //更改为调出报表页面
        }