Last change
on this file was 1174, checked in by Sam Habiel, 14 years ago |
Absorbed all changed from Radiology Support branch.
Patient and Provider classes now serializable to address new bug: Availablity slots cannot be saved b/c these classes are not serializable.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[1174] | 1 | /*Licensed under LGPL*/
|
---|
| 2 |
|
---|
| 3 | using System;
|
---|
[1111] | 4 | using System.Collections.Generic;
|
---|
| 5 | using System.Linq;
|
---|
| 6 | using System.Text;
|
---|
| 7 |
|
---|
| 8 | namespace IndianHealthService.ClinicalScheduling
|
---|
| 9 | {
|
---|
| 10 | /// <summary>
|
---|
[1117] | 11 | /// Designed to keep user preferences. Gets settings from DB in constructor; Writes them back when changed.
|
---|
[1111] | 12 | /// </summary>
|
---|
| 13 | public class UserPreferences
|
---|
| 14 | {
|
---|
[1117] | 15 | bool _printAppointmentSlipAutomacially;
|
---|
| 16 | bool _printRoutingSlipAutomatically;
|
---|
| 17 |
|
---|
[1111] | 18 | public UserPreferences()
|
---|
| 19 | {
|
---|
[1117] | 20 | _printAppointmentSlipAutomacially = CGDocumentManager.Current.DAL.AutoPrintAppointmentSlip;
|
---|
| 21 | _printRoutingSlipAutomatically = CGDocumentManager.Current.DAL.AutoPrintRoutingSlip;
|
---|
| 22 |
|
---|
[1111] | 23 | }
|
---|
| 24 |
|
---|
[1117] | 25 | public bool PrintAppointmentSlipAutomacially {
|
---|
| 26 | get { return _printAppointmentSlipAutomacially; }
|
---|
| 27 | set
|
---|
| 28 | {
|
---|
| 29 | CGDocumentManager.Current.DAL.AutoPrintAppointmentSlip = _printAppointmentSlipAutomacially = value;
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public bool PrintRoutingSlipAutomatically
|
---|
| 34 | {
|
---|
| 35 | get { return _printRoutingSlipAutomatically; }
|
---|
| 36 | set
|
---|
| 37 | {
|
---|
| 38 | CGDocumentManager.Current.DAL.AutoPrintRoutingSlip = _printRoutingSlipAutomatically = value;
|
---|
| 39 | }
|
---|
| 40 | }
|
---|
[1111] | 41 | }
|
---|
| 42 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.