CÁC GIẢI PHÁP LẬP TRÌNH C# - Trang 675

675

Chương 17: Sự hòa hợp với môi trường Windows

// Cấu hình shortcut hiển thị icon đầu tiên trong notepad.exe.

shortcut.IconLocation = "notepad.exe, 0";

// Lưu file shortcut.

shortcut.Save();

}

}