using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PaintDotNet.Processing { public partial class InterImageDataGridViewCell : DataGridViewImageCell//DataGridViewCell { public InterImageDataGridViewCell() { InitializeComponent(); } /// /// 设计器支持所需的方法 /// private void InitializeComponent() { //PictureBox pictureBox = new PictureBox(); //pictureBox.Location = new Point(6, 6); //pictureBox.Size = new Size(89, 89); this.ImageLayout = DataGridViewImageCellLayout.Zoom; } } }