public FormAppointHistory(Form mdiParent, EPVDatabase dbase, IAppointHistory appoint)
            : this()
        {
            MdiParent = mdiParent;
            database  = dbase;

            appointId = appoint.Id;
        }
Example #2
0
        private void dgvData_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e)
        {
            IAppointHistory item = (IAppointHistory)bSource[e.RowIndex];

            if (item is AppointHistory)
            {
                dgvData.Rows[e.RowIndex].DefaultCellStyle.Font = new Font(dgvData.Font, FontStyle.Bold);
            }
        }
Example #3
0
        private void ShowAppointInfo(IAppointHistory current)
        {
            FormAppointHistory form = new DispatcherService.FormAppointHistory(MdiParent, database, current);

            form.Show();
        }