Exemplo n.º 1
0
 public Button(IPicture picture, string caption)
     : base()
 {
     TextLabel = new Label(caption);
     MyPicture = new PictureBox(picture);
     this.Add(MyPicture);
     this.Add(TextLabel);
 }
Exemplo n.º 2
0
 public Button(IPicture picture)
     : base()
 {
     MyPicture = new PictureBox(picture);
     this.Add(MyPicture);
 }
Exemplo n.º 3
0
 private void InitControl(IPicture picture)
 {
     MyPictureBox = new PictureBox(picture);
 }
Exemplo n.º 4
0
 public Button(IPicture picture)
     : base()
 {
     MyPicture = new PictureBox(picture);
     this.Add(MyPicture);
 }
Exemplo n.º 5
0
 private void InitControl()
 {
     MyPictureBox = new PictureBox(PictureLibrary.Instance.Plus);
 }