unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TMY = class(TThread) public ThreadEnd:boolean; constructor create(); overload; destructor Destroy(); overload; pro…