- Timestamp:
- Mar 29, 2011, 5:38:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs
r1111 r1117 671 671 private string m_sCountry; 672 672 private int m_iAccessTypeID; 673 private bool _myCodeIsFiringIstheCheckBoxChangedEvent; 673 674 674 675 #endregion //fields … … 719 720 groupBox4.Controls.Add(UC); 720 721 722 _myCodeIsFiringIstheCheckBoxChangedEvent = true; 721 723 chkPrint.Checked = CGDocumentManager.Current.UserPreferences.PrintAppointmentSlipAutomacially; 724 _myCodeIsFiringIstheCheckBoxChangedEvent = false; 722 725 } 723 726 catch(Exception e) … … 862 865 863 866 /// <summary> 864 /// Save Print Slip preference in UserPreferences object. For now, it always starts false since 865 /// it isn't saved in the DB; but that will change in the future. 867 /// Save Print Slip preference in UserPreferences object. 866 868 /// </summary> 867 869 /// <param name="sender"></param> … … 869 871 private void chkPrint_CheckedChanged(object sender, EventArgs e) 870 872 { 873 if (_myCodeIsFiringIstheCheckBoxChangedEvent) return; 874 871 875 CGDocumentManager.Current.UserPreferences.PrintAppointmentSlipAutomacially = chkPrint.Checked; 872 876 }
Note:
See TracChangeset
for help on using the changeset viewer.