InterImageDataGridViewCell.cs 837 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace PaintDotNet.Processing
  11. {
  12. public partial class InterImageDataGridViewCell : DataGridViewImageCell//DataGridViewCell
  13. {
  14. public InterImageDataGridViewCell()
  15. {
  16. InitializeComponent();
  17. }
  18. /// <summary>
  19. /// 设计器支持所需的方法
  20. /// </summary>
  21. private void InitializeComponent()
  22. {
  23. //PictureBox pictureBox = new PictureBox();
  24. //pictureBox.Location = new Point(6, 6);
  25. //pictureBox.Size = new Size(89, 89);
  26. this.ImageLayout = DataGridViewImageCellLayout.Zoom;
  27. }
  28. }
  29. }