Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Action := CaNone;
- Form1.Hide;
- procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
- Begin
- ShellExecute(Handle, nil, PChar(Application.ExeName), nil, nil, SW_SHOWNORMAL);
- Application.Terminate;
- End;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement