コード例 #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
ファイル: VisitsScreen.cs プロジェクト: agb91/DicomApp
        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();
        }