unit MCAD_MI1201_FormEmergencySignals; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFormEmergencySignals = class(TForm) LabelCatodBurnOUT: TLabel; LabelOverload: TLabel; LabelPowerOff: TLabel; procedure FormDestroy(Sender: TObject); private { Private declarations } public { Public declarations } end; var FormEmergencySignals: TFormEmergencySignals; implementation {$R *.DFM} procedure TFormEmergencySignals.FormDestroy(Sender: TObject); begin if Self=FormEmergencySignals then FormEmergencySignals:=NIL; end; end.