Example #1
0
        private void Visits_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            int indexRow = e.RowIndex;
            //MessageBox.Show("Click; visit result. " + allVisits[ e.RowIndex ].getResult() );
            VisitsScreen vs = new VisitsScreen(allVisits[e.RowIndex], allVisits[e.RowIndex].getPath(), thisP);

            vs.Show();
        }
Example #2
0
        private void AddVisit_Click(object sender, EventArgs e)
        {
            VisitsScreen vs = new VisitsScreen(null, thisP.nextFreeVisit(), thisP);

            vs.Show();
        }