protected override void OnPaint(PaintEventArgs e) { e.Graphics.TextRenderingHint = TextRenderingHint.AntiAlias; var formatter = new StringFormat() { FormatFlags = StringFormatFlags.LineLimit, Trimming = StringTrimming.EllipsisCharacter }; e.Graphics.Clear(Color.BackColor); e.Graphics.FillRectangle(new SolidBrush(Color.Tile), new Rectangle(0, 0, this.Height, this.Height)); using (var scaledImage = ImageResize.ScaleImage(Icon, this.Width, this.Height)) { var posX = (this.Height - scaledImage.Width) / 2; var posY = (this.Height - scaledImage.Height) / 2; e.Graphics.DrawImage(scaledImage, posX, posY); } e.Graphics.DrawString(Title, new Font("Arial", 12, FontStyle.Bold), Color.Body, 100, 10); e.Graphics.DrawString(Body, new Font("Arial", 8, FontStyle.Regular), Color.Body, new RectangleF(100, 40, (this.Width - 100), this.Height)); }