Exemple #1
0
        /// <summary>
        /// 曲线图
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnCurveGraph_Click(object sender, EventArgs e)
        {
            try
            {
                this.Cursor           = Cursors.WaitCursor;
                btnCurveGraph.Enabled = false;
                frmPatientProgress fpp = new frmPatientProgress(DataInit.CurrentPatient);
                fpp.groupPanel1.Visible = false;
                fpp.groupPanel2.Visible = false;

                fpp.ShowDialog();
            }
            catch
            {
            }
            finally
            {
                this.Cursor           = Cursors.Default;
                btnCurveGraph.Enabled = true;
            }
        }
Exemple #2
0
        /// <summary>
        /// 曲线图配置
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 曲线图配置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                string strId = dgvIllness.CurrentRow.Cells["Column3"].Value.ToString();

                DataInit.CurrentPatient = DataInit.GetInpatientInfoByPid(strId);
                if (DataInit.CurrentPatient != null)
                {
                    frmPatientProgress frm = new frmPatientProgress(DataInit.CurrentPatient);
                    frm.ShowDialog();
                }
                else
                {
                    App.Msg("请选中一条数据进行操作!");
                    return;
                }
            }
            catch
            {
            }
        }