Example #1
0
        private void m_mniOpenGrade_Click(object sender, System.EventArgs e)
        {
            if (m_lsvPatient.SelectedItems.Count > 0)
            {
                ListViewItem item       = m_lsvPatient.SelectedItems[0];
                frmCaseGrade frm        = new frmCaseGrade();
                clsPatient   objPatient = new clsPatient(item.SubItems[1].Text, item.SubItems[9].Text, item.SubItems[7].Text, item.SubItems[8].Text, "");
                //objPatient.m_IntOperationPower = 4;
                try
                {
                    objPatient.m_DtmSelectedInDate = DateTime.Parse(item.SubItems[2].Text);
                }
                catch { }
                MDIParent.s_ObjCurrentPatient = objPatient;
                if (new clsMainMenuFunction().m_blnCheckSamePatientForm(frm))
                {
                    return;
                }

                if (new clsMainMenuFunction().m_blnCheckForFormOpen(frm, false))
                {
                    return;
                }
                frm.MdiParent   = this.MdiParent;
                frm.WindowState = FormWindowState.Maximized;
                frm.m_mthSetPatient(objPatient);
                frm.Show();
            }
        }
Example #2
0
        private void button1_Click(object sender, System.EventArgs e)
        {
            frmCaseGrade frm = new frmCaseGrade();

            frm.Show();
        }