Changeset 1117 for Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.cs
- Timestamp:
- Mar 29, 2011, 5:38:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DCheckIn.cs
r1111 r1117 25 25 // 26 26 InitializeComponent(); 27 28 27 29 } 28 30 … … 60 62 private List<Provider> _providers; 61 63 private ToolTip toolTip1; 64 private bool _myCodeIsFiringIstheCheckBoxChangedEvent; // To prevent the event from firing when I set the control from code 62 65 63 66 #endregion Fields … … 233 236 } 234 237 235 //Print Routing Slip based on user preferences.238 _myCodeIsFiringIstheCheckBoxChangedEvent = true; 236 239 chkRoutingSlip.Checked = CGDocumentManager.Current.UserPreferences.PrintRoutingSlipAutomatically; 240 _myCodeIsFiringIstheCheckBoxChangedEvent = false; 237 241 238 242 UpdateDialogData(true); … … 475 479 private void chkRoutingSlip_CheckedChanged(object sender, EventArgs e) 476 480 { 481 if (_myCodeIsFiringIstheCheckBoxChangedEvent) return; 482 477 483 CGDocumentManager.Current.UserPreferences.PrintRoutingSlipAutomatically = chkRoutingSlip.Checked; 478 484 }
Note:
See TracChangeset
for help on using the changeset viewer.