MostRecentFile.cs 623 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Drawing;
  2. namespace PaintDotNet
  3. {
  4. /// <summary>
  5. /// ·â×°ÎļþÃûºÍËõÂÔͼ
  6. /// </summary>
  7. internal class MostRecentFile
  8. {
  9. private string fileName;
  10. private Image thumb;
  11. public string FileName
  12. {
  13. get
  14. {
  15. return fileName;
  16. }
  17. }
  18. public Image Thumb
  19. {
  20. get
  21. {
  22. return thumb;
  23. }
  24. }
  25. public MostRecentFile(string fileName, Image thumb)
  26. {
  27. this.fileName = fileName;
  28. this.thumb = thumb;
  29. }
  30. }
  31. }