wPictureBox.cs
using System; using System.Drawing; using System.Windows.Forms; public class WPictureBox : WCtrl { PictureBox pic; public WPictureBox( ) { ctrl = pic = new PictureBox(); pic.BorderStyle = BorderStyle.Fixed3D; //System.Windows.Forms. pic.SizeMode = PictureBoxSizeMode.StretchImage; } public void setImage(Bitmap image) { pic.Image = image; } }
댓글 없음:
댓글 쓰기