Ticket #847 (closed assessed: fixed)

Opened 8 years ago

Last modified 8 years ago

MSE Group Assessments and Fleet Assessments and FPS form throw exception when closing

Reported by: joeb Owned by:
Priority: normal Milestone: Ecopath 6: release 6.2
Component: Ecosim Version:
Severity: crash Keywords:
Cc:

Description

MSE and FPS share the ucColorPolicyBocks control to select time blocks, for different proposes. When this control is open in multiple forms it will throw an error when it closes in all the forms. It seems the control is trying to dispose of the picture box that the cells are drawn on when it has already been disposed of, = Nothing....

Change History

comment:1 Changed 8 years ago by joeb

  • Status changed from new to closed
  • Resolution set to fixed

Fixed this be removing the cToolTipShared reference. The cToolTipShared seems to destroy the  reference to its control, that gets passed on Show, before the form is destroyed. This messes up the form when it is destroyed????? maybe?????

Note: See TracTickets for help on using tickets.