public FormAppointHistory(Form mdiParent, EPVDatabase dbase, IAppointHistory appoint) : this() { MdiParent = mdiParent; database = dbase; appointId = appoint.Id; }
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); } }
private void ShowAppointInfo(IAppointHistory current) { FormAppointHistory form = new DispatcherService.FormAppointHistory(MdiParent, database, current); form.Show(); }