... if openDialog.Execute then Image1.Picture.LoadFromFile(openDialog.FileName); else ShowMessage('Открытие файла остановлено'); ...