예제 #1
0
파일: GridIndex.cs 프로젝트: agb91/DicomApp
        private void Nuovo_Click(object sender, EventArgs e)
        {
            AnalyzePatient ap = new AnalyzePatient(null);

            ap.Show();
            this.Refresh();
        }
예제 #2
0
        private void back_Click(object sender, EventArgs e)
        {
            AnalyzePatient ap = new AnalyzePatient(thisP);

            ap.Show();
            this.Close();
        }
예제 #3
0
파일: GridIndex.cs 프로젝트: agb91/DicomApp
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            //e.RowIndex
            int indexRow = e.RowIndex;
            //MessageBox.Show("Click; patient id: " + this.Patients.Rows[indexRow].Cells[3].Value);
            Patient thisPatientToSend = null;

            for (var i = 0; i < ps.Count; i++)
            {
                Patient check = ps[i];
                if (check.getCF() == this.Patients.Rows[indexRow].Cells[3].Value)
                {
                    thisPatientToSend = ps[i];
                }
            }
            AnalyzePatient ap = new AnalyzePatient(thisPatientToSend);

            ap.Show();
            this.Refresh();
        }